Page 1 of 1

CentOS 5.4 Crashing

Posted: Tue Jan 26, 2010 10:19 pm
by Linsys
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:

Code: Select all

if ( $numSockets === false )
TO:

Code: Select all

if ( $numSockets === false || $numSockets < 1 )
Does anyone have any ideas why this is crashing my box?

Ulimit

Posted: Wed Jan 27, 2010 6:49 pm
by Linsys
Apparently ulimit was the issue setting it to high was having a negative effect on my box.. I'm not sure why as I've set my ulimit -n way higher then this on other linux servers with no issue I think all of this is related to the apache hang issue but I'm not sure.