CentOS 5.4 Crashing
Posted: Tue Jan 26, 2010 10:19 pm
Ok so here is the deal I have CentOS 5.4 32bit, 2G RAM, Intel Core Two Duo, 500G SATA Drive.
I have 4 network cameras.
I was having the problem where apache would stop responding after a period of time so I would have to restart the apache process... I tried two of the fixes mentioned in the other forums and one of them is now causing my box to crash every few hours.. basically the entire system is unresponsive.
I have my ulimit set to 1500 (ulimit -n 1500) as well I have made the following changes to ajax/stream.php
FROM:
TO:
Does anyone have any ideas why this is crashing my box?
I have 4 network cameras.
I was having the problem where apache would stop responding after a period of time so I would have to restart the apache process... I tried two of the fixes mentioned in the other forums and one of them is now causing my box to crash every few hours.. basically the entire system is unresponsive.
I have my ulimit set to 1500 (ulimit -n 1500) as well I have made the following changes to ajax/stream.php
FROM:
Code: Select all
if ( $numSockets === false )
Code: Select all
if ( $numSockets === false || $numSockets < 1 )