Bug or strange (error in create_thread)

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.

Moderator: POL Developer

Post Reply
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am
Contact:

Bug or strange (error in create_thread)

Post by CrazyMan » Tue May 05, 2009 3:44 am

First:
I have clients online ~100-200 peoples. ( uolife.ru)

Now when someone try to connect, i see in my console some like this:
error in create_thread: 11 11 "Resource temporarily unavailable" 720 136591680 SocketClientThread 135597504 0 1825321440
error in create_thread: 11 11 "Resource temporarily unavailable" 721 136591680 SocketClientThread 135597504 0 969465648
error in create_thread: 11 11 "Resource temporarily unavailable" 722 136591680 SocketClientThread 135597504 0 1879139416
error in create_thread: 11 11 "Resource temporarily unavailable" 723 136591680 SocketClientThread 135597504 0 1879068376
error in create_thread: 11 11 "Resource temporarily unavailable" 724 136591680 SocketClientThread 135597504 0 1883570984
error in create_thread: 11 11 "Resource temporarily unavailable" 725 136591680 SocketClientThread 135597504 0 1969135496
error in create_thread: 11 11 "Resource temporarily unavailable" 726 136591680 SocketClientThread 135597504 0 1877768352
error in create_thread: 11 11 "Resource temporarily unavailable" 727 136591680 SocketClientThread 135597504 0 1974138176
error in create_thread: 11 11 "Resource temporarily unavailable" 728 136591680 SocketClientThread 135597504 0 697177192
error in create_thread: 11 11 "Resource temporarily unavailable" 729 136591680 SocketClientThread 135597504 0 1877650064
And new clients can`t make connection.

Some strange again:

Code: Select all

#netstat -a -n -p | grep CLOSE_WAIT
......
tcp      253      0 212.115.229.67:5003     195.182.195.186:59611   CLOSE_WAIT  24940/pol
tcp       70      0 212.115.229.67:5003     92.113.171.24:11307     CLOSE_WAIT  24940/pol
tcp       67      0 212.115.229.67:5003     83.99.165.241:1261      CLOSE_WAIT  24940/pol
tcp       67      0 212.115.229.67:5003     83.234.211.54:1359      CLOSE_WAIT  24940/pol
tcp       67      0 212.115.229.67:5003     193.17.208.136:62451    CLOSE_WAIT  24940/pol
tcp     1989      0 212.115.229.67:5003     213.231.24.237:1046     CLOSE_WAIT  24940/pol
.....

#netstat -a -n -p | grep CLOSE | wc -l
658

658 Connections in CLOSE_WAIT

But pol have 144 threads (in my mind - normal, when online 130)

Memory used: ~2938 Mb ( virtual)
Free memory on server - 3 GB ( i use linux PAE)
May be need to build x86_64 version?

Post Reply