Error in create_thread

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
Keryan
New User
Posts: 11
Joined: Fri Aug 10, 2007 3:30 pm

Error in create_thread

Post by Keryan »

Hello,

I am using the last core RC5-Coregina and there is my problem:

Code: Select all

[08/29 22:52:12] error in create_thread: 12 8 "Not enough space" "Not enough space" 483 5612240 SocketClientThread 5599904 0 848885352

[08/29 22:52:20] error in create_thread: 12 8 "Not enough space" "Not enough space" 484 5612240 SocketClientThread 5599904 0 847372480

[08/29 22:52:48] error in create_thread: 12 8 "Not enough space" "Not enough space" 485 5612240 SocketClientThread 5599904 0 280407200
There are many messages like this in pol.log.

Becouse of this players can not login ( stops on Verifying account screen ) to game, or at least it takes many tries to get in.

It always start after few hours from server start, and there is about 2GB of memory allocated by POL.

Server has 4GB of RAM and virtual memory is set to 1GB, so i dont understand why it says "Not enough space".
User avatar
AsYlum
Grandmaster Poster
Posts: 109
Joined: Sun Feb 05, 2006 5:24 am
Location: Poland

Post by AsYlum »

What OS do you use?
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm
Contact:

Post by Demostenes »

AsYlum wrote:What OS do you use?
Windows server 2003 Standard Edition SP1
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

That 2GB looks familiar somehow. I have the feeling the operating system might be the culprit here.

Do some research on:

Code: Select all

The virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used in the Boot.ini file. 
Good luck. See section 2.2 of
http://members.shaw.ca/bsanders/Windows ... ileEtc.htm
Keryan
New User
Posts: 11
Joined: Fri Aug 10, 2007 3:30 pm

Post by Keryan »

OldnGrey wrote:That 2GB looks familiar somehow. I have the feeling the operating system might be the culprit here.

Do some research on:

Code: Select all

The virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used in the Boot.ini file. 
Good luck. See section 2.2 of
http://members.shaw.ca/bsanders/Windows ... ileEtc.htm
Thanks! We will try it.
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Post by coltain »

Did You solve it?

I have the same Windows, the same Pol Core, and... the same error
Last edited by coltain on Fri Aug 31, 2007 11:09 pm, edited 1 time in total.
User avatar
AsYlum
Grandmaster Poster
Posts: 109
Joined: Sun Feb 05, 2006 5:24 am
Location: Poland

Post by AsYlum »

Hmm... i don't know how this option is named in english version of windows. But every user has 1GB quota for data on storage devices (hdd etc.). It's default in win 2003 and 2003 sbs. I think this article can be useful:

http://support.microsoft.com/?scid=kb%3 ... &x=13&y=12 it's about win2000 but in 2003 those options are almost the same.

Check this first :)
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm
Contact:

Post by Demostenes »

coltain wrote:Did You solve it?

I have the same Windows, the same Pol Core, and... the same error
Yes, 3GB mode helped. But question is, if is really OK, that data have cca 490MB (980 with .bak), but POL just after start allocates 1950MB of memory.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

Do you mean that in Task Manager, processes, pol.exe jumps straight to 1950MB? Wow.
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Post by coltain »

jest, it allocates a lot, mine about 1 500 MB at start

after 10 and more minutes Task Manager shows 400 MB
memory allocated by pol
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm
Contact:

Post by Demostenes »

coltain wrote:jest, it allocates a lot, mine about 1 500 MB at start

after 10 and more minutes Task Manager shows 400 MB
memory allocated by pol
Yours is going down? Because each pol we had (94,95) allocated something at start + then something for each connected player. And never went less then after start.

And actually (most recent 97) we have a problem with some kind of memory leaks, becase POL quite randomly allocates 500MB more, then in few hours other 500MB and then we are on 3GB and no one can connect.
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Post by coltain »

ok, didn`t describe it all

memory used by POL rises with time (and players)

I noticed the fact that first pol allocates 1500MB then the usage falls (don`t know why) and with time memory usage constantly is getting biger, till this allocation problem for scrits
Demostenes
Neophyte Poster
Posts: 31
Joined: Wed Aug 29, 2007 2:44 pm
Contact:

Post by Demostenes »

Hmm, in our case the memory is not going constanly bigger, but in big steps. Like 5 hours ok, then +500MB. Then 10 hours ok and +500.
Locked