Community Forums Today's Posts     Member List     Archive    
Results 1 to 6 of 6
  1. #1
    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.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ts-q1.jpg 
Views:	58 
Size:	54.0 KB 
ID:	1600   Click image for larger version. 

Name:	ts-q2.jpg 
Views:	60 
Size:	135.1 KB 
ID:	1601  

  2. #2
    Join Date
    Apr 2008
    Location
    Hamburg, Germany
    Posts
    31
    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.

  3. #3
    Join Date
    Dec 2008
    Location
    Chicago
    Posts
    15
    Quote Originally Posted by oGGy990 View Post
    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.
    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.

  4. #4
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,299
    try something like
    ps -Al | grep PPID
    and
    ps -Al | grep server_linux
    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.
    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.

  5. #5
    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?
    Attached Images Attached Images  
    Last edited by JenDen; 09-04-2009 at 06:46.

  6. #6
    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?
    Code:
    kill PID
    Info: yours PPID 22419 starts all other tsēserver could it be more vserver?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [solved] i need some help with my ts server
    By rebelwarrior in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 14-11-2008, 00:34
  2. Router :'(
    By Stammer in forum [TeamSpeak 2] Server Support
    Replies: 10
    Last Post: 01-06-2005, 07:49
  3. disconnection
    By Barmace in forum [TeamSpeak 2] Server Support
    Replies: 8
    Last Post: 10-10-2004, 19:23
  4. I cant clik administration after TS restart
    By Schirmer in forum [TeamSpeak 2] Server Support
    Replies: 9
    Last Post: 13-06-2003, 04:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •