Knowledgebase

Portal Home > Knowledgebase > Articles Database > CPanel Kills Processes?


CPanel Kills Processes?




Posted by TheOnly92, 11-16-2009, 10:04 PM
Does cPanel kills php processes? I run PHP as cgi but somehow the script will stop in the middle. I have set max_execution_time and max_input_time as 0, no fatal errors in the script. I see nothing in the log too.

Posted by w2interactive, 11-16-2009, 11:57 PM
If I had to take guess.. i'd say check syslog. Maybe Linux's OOM Manager is killing it because your machine is low on memory? Is the php script memory intensive? There could be a number of reasons why, but i'd start there.

Posted by TheOnly92, 11-17-2009, 12:07 AM
I don't find any problem in the system logs. Memory shouldn't be an issue because the server has 8 GB RAM. Another thing I found is my logged-in sessions will get automatically logged out in 5 minute interval (i.e. 5, 10, 15, 20th minutes). For this, I checked my cron jobs and found only Cacti's poller and dcpumon is running on this time interval. Which could cause the problem?

Posted by TheOnly92, 11-17-2009, 12:22 AM
Here comes the weird thing, I disabled both of them 1 by 1, but the problem still occurs. My session files are stored in /tmp. But I still don't get it, what's causing the problem?

Posted by TheOnly92, 11-17-2009, 12:46 AM
Oops, I think I found the problem. It was my careless mistake, nothing related to cpanel nor the cron jobs. Sorry for the trouble

Posted by w2interactive, 11-17-2009, 01:22 AM
great! what was it? (i'm very curious)



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
DTHEE|host @ DTHEE.com (Views: 617)


Language:

Contact us