Page 1 of 1

Error in create_thread

Posted: Wed Aug 29, 2007 1:17 pm
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".

Posted: Wed Aug 29, 2007 1:51 pm
by AsYlum
What OS do you use?

Posted: Wed Aug 29, 2007 2:49 pm
by Demostenes
AsYlum wrote:What OS do you use?
Windows server 2003 Standard Edition SP1

Posted: Wed Aug 29, 2007 4:17 pm
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

Posted: Thu Aug 30, 2007 3:18 am
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.

Posted: Fri Aug 31, 2007 8:54 am
by coltain
Did You solve it?

I have the same Windows, the same Pol Core, and... the same error

Posted: Fri Aug 31, 2007 2:39 pm
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 :)

Posted: Tue Sep 04, 2007 6:34 am
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.

Posted: Tue Sep 04, 2007 6:11 pm
by OldnGrey
Do you mean that in Task Manager, processes, pol.exe jumps straight to 1950MB? Wow.

Posted: Wed Sep 05, 2007 3:02 am
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

Posted: Thu Sep 06, 2007 1:13 pm
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.

Posted: Thu Sep 06, 2007 1:56 pm
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

Posted: Fri Sep 07, 2007 9:44 am
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.