Results 1 to 6 of 6
-
05-04-2009, 18:15 #1
-= TeamSpeak User =-
- Join Date
- Dec 2008
- Location
- Chicago
- Posts
- 15
TS server memory issue , multiple processes
Recently the hoster I host my TS server at brought to my attention that my TS server actually consumes too much of a system's resources. I'll logged into shell and ran a few commands.
I didnt pay attention to it before but apparently the TS server spans quite a number of processes (somewhere like 15 or so) and each eats a bit of CPU and memory. Is that a normal behavior or there's something wrong with the installation?
The server's version is 2.0.24.1 and there's nobody else running a ts server on this host.
-
05-04-2009, 18:32 #2
Usually the ts-server doesn't fork himself. So there must be something wrong.
Are there multiple processes even after a reboot of your root server?
Do you use any script that might run the server multiple times? Like a cron job.
-
06-04-2009, 18:50 #3
-= TeamSpeak User =-
- Join Date
- Dec 2008
- Location
- Chicago
- Posts
- 15
Yes, even after server's reboot it forks the processes after they start.
The only script I run is a small shell script called ts. Apparently all it does is it checks if the teamspeak is running and executes ./server_linux -PID=tsserver2.pid command. I dont see how this script alone could start several processes, they must have forked later on.
So what you saying is that linux teamspeak server shouldnt run that many processes? Is there a way to confirm that? If that so I would probably need to reinstall the whole thing.
-
07-04-2009, 18:07 #4
-= TeamSpeak Fanatic =-
- Join Date
- May 2006
- Location
- Europe/Czech Rep.
- Posts
- 1,299
try something like
andps -Al | grep PPID
and in the output you should have PID(process (indentifer) ID) and PPID (parent process ID) so with this info you can check what executed each those process.ps -Al | grep server_linux
if it will be all same its a problem(every of them executed from one place).
if it will be all sort of familiar like PPID = (some other)PID it means server_linux was the one execute/fork -ing that server.
-
09-04-2009, 06:11 #5
-= TeamSpeak User =-
- Join Date
- Dec 2008
- Location
- Chicago
- Posts
- 15
Thanks for the hint. Okay, here's the PPID info that I got.
Process 1 creates process 2148, which then creates process 2149, which then creates a bunch of other processes and keep on forking. It doesnt seem normal to me, how can I possibly fix that?Last edited by JenDen; 09-04-2009 at 06:46.
-
09-04-2009, 15:17 #6
-= TeamSpeak Addict =-
- Join Date
- Aug 2008
- Location
- Whois
- Posts
- 597
what for startscript uses you around the server to start?
and which happened if you terminate all PIDS except first PID?
Info: yours PPID 22419 starts all other tsēserver could it be more vserver?Code:kill PID
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[solved] i need some help with my ts server
By rebelwarrior in forum [TeamSpeak 2] Client SupportReplies: 3Last Post: 14-11-2008, 00:34 -
Router :'(
By Stammer in forum [TeamSpeak 2] Server SupportReplies: 10Last Post: 01-06-2005, 07:49 -
disconnection
By Barmace in forum [TeamSpeak 2] Server SupportReplies: 8Last Post: 10-10-2004, 19:23 -
I cant clik administration after TS restart
By Schirmer in forum [TeamSpeak 2] Server SupportReplies: 9Last Post: 13-06-2003, 04:20


Reply With Quote


