Process stops by itself
Posted: Thu Jan 26, 2012 3:00 pm
Hello. I have a background process started using the following code
But after 24 to 48 hours, at 4-6 a.m., the process stops by itself. There are no error logs. It is started under Apache. When the exactly same command is started by hand through root there are no problems.
Thanks in advance for any ideas...
Code: Select all
system("taskset -c $cpu ".DOCROOT."game/$type/hlds_run -game cstrike -noupdate +servercfgfile ".$conf." +port ".$port." +maxplayers ".$players." +map de_dust2 +sys_ticrate ".$sys_ticrate." +ip ".$ip."".$pingboost." > ".$log." 2>&1 -binary ./hlds_amd &"); Thanks in advance for any ideas...