Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member Mat-d-rat's Avatar
    Join Date
    Jul 2003
    Posts
    94

    Default TMUF process killed

    Whilst not strictly cPGS related, it's in the same area so I'm hoping someone can help. I'm currently trying to run a TMUF process on my server, but it's getting killed 3/4 times a day due to excessive cpu/allocations etc. usage. I've tried various hacks etc. to get this to stay running but it keeps getting killed.

    Any clues or info on what I need to do would be most welcome. I think the root of the problem is "Shell Fork Bomb Protection" which I have on (and would prefer to leave on)
    ## # Mat # ##
    www.matmoo.com

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Is the server a VPS or dedicated ? VPS are notoriously bad for running game servers on as they can end the server process abruptly for crossing any number of resource limit thresholds. A dedicated server can also do this, for instance if it runs out of memory it will invoke the oomkiller (out of memory killer) to start taking processes out to free up memory. There are also some third party utlities that will look through the running processes and kill ones it finds offensive. Normally you can add your programs to a whitelist to prevent those from causing harm. If you have an exact error from `dmesg` or the like, paste it.
    You may have better luck solving this if you post in the regular forums (more traffic) as this is not gameserver related but rather it could be any process using a lot of resources.

  3. #3
    Member Mat-d-rat's Avatar
    Join Date
    Jul 2003
    Posts
    94

    Default

    Quote Originally Posted by darren View Post
    Is the server a VPS or dedicated ? VPS are notoriously bad for running game servers on as they can end the server process abruptly for crossing any number of resource limit thresholds. A dedicated server can also do this, for instance if it runs out of memory it will invoke the oomkiller (out of memory killer) to start taking processes out to free up memory. There are also some third party utlities that will look through the running processes and kill ones it finds offensive. Normally you can add your programs to a whitelist to prevent those from causing harm. If you have an exact error from `dmesg` or the like, paste it.
    You may have better luck solving this if you post in the regular forums (more traffic) as this is not gameserver related but rather it could be any process using a lot of resources.
    Sorry, should of said dedicated server with hardly anything else running on it (at least not enough to cause this). I've posted several things in teh main forum, and done editing of the allocation jobs still the same.
    ## # Mat # ##
    www.matmoo.com

  4. #4
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    If it's most likely not a resource problem, there is nothing in the logs or dmesg to suggest the problem and popular forums for the game don't have people describing the same issue, you may have to launch the server with "strace" and wait for it to crash. Something like

    strace -f -v -s 500 -o strace.log ./server_binary -port 23421 -blah blahblah

    then check strace.log once it's finally crashed (it'll be huge, so start at the end and work backwords).

  5. #5
    Member Mat-d-rat's Avatar
    Join Date
    Jul 2003
    Posts
    94

    Default

    Currently running it as root, and it's been solid for days. Sure it's to do with ulimit and the Cpanel limitations.
    ## # Mat # ##
    www.matmoo.com

  6. #6
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    cPanel restrictions don't affect cPGS launched servers unless it's part of the shell restrictions in the system bashrc/profile files. The memory limits and such for cPanel don't affect cPGSD which is started as root via ssh (or cron.)
    You could try disabling all the fork bomb protection and limits for regular users and ssh in as one and start the server (after chowning all the files to the user and running `ulimit -a` to be sure it's not still restricted somewhere) and running the server for a few days to verify it's a ulimit resouces issue.

Similar Threads & Tags
Similar threads

  1. Process killed after accruing 1000 minutes of cpu time. What's causing it?
    By strawberry in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-24-2010, 09:08 AM
  2. cPanel process being killed
    By lordcage in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-06-2008, 12:49 PM
  3. Process killed for no reason
    By jkusar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-19-2006, 04:30 PM
  4. The maximum memory a cPanel process can use before it is killed off
    By danielws in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-10-2005, 06:40 AM
  5. kernel: Out of memory Killed Process xxxxx (httpd)
    By rprix in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-18-2005, 05:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube