PDA

View Full Version : Thread creation error: Cannot allocate memory


MiniMe
30-03-2008, 15:26
Hi, we have problem with our TS linux server. We are ATHP. Everything works ok until the count of virtual servers reach 80. It works fine if I add another servers when server runs but if I restart whole server I get error with memory alocation.

We are using Fedora Core 5 Linux version 2.6.18-1.2200.fc5smp
on
Intel Pentium D945
2GB DDR2

TOP:
---------------------------------------------------------------------------
Cpu(s): 8.7% us, 4.7% sy, 11.0% ni, 53.7% id, 20.0% wa, 0.5% hi, 1.5% si, 0.0% st
Mem: 2075228k total, 2009040k used, 66188k free, 84688k buffers
Swap: 4192956k total, 72k used, 4192884k free, 834276k cached


SERVER LOG:
---------------------------------------------------------------------------
28-03-08 01:07:57,ALL,Info,server, Starting VirtualServer id:184 with port:6280
28-03-08 01:07:57,ERROR,All,SERVER, VirtualServer Startup(184) Exception: EThread.Thread creation error: Cannot allocate memory
28-03-08 01:07:57,ALL,Info,server, Starting VirtualServer id:185 with port:6283
28-03-08 01:07:57,ERROR,All,SERVER, VirtualServer Startup(185) Exception: EThread.Thread creation error: Cannot allocate memory
28-03-08 01:07:58,ERROR,All,WEBINTERFACE, WebInterface startup failed with port 14534, Exception:Thread creation error: Cannot allocate
memory

Sorry for my english and thank you for help

Peter
30-03-2008, 15:54
Hi,

from http://teamspeak.com/?page=requirements :

TeamSpeak 2 - Server Farming Recommendations

Authorized TeamSpeak Host Providers (ATHPs) that intend to mass-provision or "farm" TeamSpeak servers should be aware of the following recommendations to optimize performance and stability:
Spawn no more than 50 to 75 virtual servers maximum per TeamSpeak instance (running binary)

Although MySQL (3.x) support is available, in TeamSpeak 2 it is still somewhat experimental and not recommended for use in a production environment

Consider using the native SQLite TeamSpeak 2 database which is installed by default

So - start multiple teamspeak2 server instances with each 75 virtual-servers max.