Linux Support

Moderators: None (Apply to moderate this forum)
Number of threads: 332
Number of posts: 953

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Background Process Exiting On Logout... Posted by Sephiroth on 27 May 2003 at 8:42 AM
OK, I'm fairly decent at Linux and havebeen doing it for years. I use only true Linux (the shell, no X-Win) and run boxes which contain only an ethernet card, motherboard, CPU, and RAM. That's all I need for running a server of any kind.

Now, I recently downloaded the latest Half-Life dedicated server and thought I'd host a server again (I used to host a HL server 24/7 on the same box). However, there has been nothing but a huge platter of problems with this new version (thanks again, Valve!) and I guess it's up to me to fix them or make Linux force the app to work. Here's the current list of what I need help doing.

1) If I start the server with an ampersand on the tail-end, telling it to run in the background, the job instantly pauses, and using "bg" does not make it resume.

2) If I start it without an ampersand and let it get through long enough to load the first map, and then press ctrl+z followed by "bg", it will run in the background, but only until I logout, which is when it spikes to 99.9% CPU usage and does nothing.

I've tried screen and several other way of making this app work, and it will not. I can't leave my SSH client open on my box 24/7. That's like using my P4 and my older Celeron Linux box to run one dang game! Any ideas on what could be causing this, such as my Linux box deciding not to run bg tasks anymore?

-Sephiroth
Report
Re: Background Process Exiting On Logout... Posted by tihomir on 28 May 2003 at 2:49 AM
Try to `strace' it, maybe the `fork( )' fails...


: OK, I'm fairly decent at Linux and havebeen doing it for years. I use only true Linux (the shell, no X-Win) and run boxes which contain only an ethernet card, motherboard, CPU, and RAM. That's all I need for running a server of any kind.
:
: Now, I recently downloaded the latest Half-Life dedicated server and thought I'd host a server again (I used to host a HL server 24/7 on the same box). However, there has been nothing but a huge platter of problems with this new version (thanks again, Valve!) and I guess it's up to me to fix them or make Linux force the app to work. Here's the current list of what I need help doing.
:
: 1) If I start the server with an ampersand on the tail-end, telling it to run in the background, the job instantly pauses, and using "bg" does not make it resume.
:
: 2) If I start it without an ampersand and let it get through long enough to load the first map, and then press ctrl+z followed by "bg", it will run in the background, but only until I logout, which is when it spikes to 99.9% CPU usage and does nothing.
:
: I've tried screen and several other way of making this app work, and it will not. I can't leave my SSH client open on my box 24/7. That's like using my P4 and my older Celeron Linux box to run one dang game! Any ideas on what could be causing this, such as my Linux box deciding not to run bg tasks anymore?
:
: -Sephiroth
:
Report
Re: Background Process Exiting On Logout... Posted by Sephiroth on 28 May 2003 at 8:13 AM
: Try to `strace' it, maybe the `fork( )' fails...
Nope, it was EXACTLY what I was 99% sure it was, Valve Software ruins yet another product! In fact I emailed them and flat out let them know I am VERY displeased with what they've done to Half-Life and now the server, and they replied saying they accidentally leaked 3111, and that I needed 3110, along with a nice appology that I may post on my clan website. Now 3110 runs smooth as silk. Hasn't even touched 50% memory usage yet, and it's been up for 24hrs.

-Sephiroth




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.