CentOS 5.4 Crashing

Forum for questions and support relating to the 1.24.x releases only.
Locked
Linsys
Posts: 6
Joined: Tue Jan 26, 2010 10:12 pm

CentOS 5.4 Crashing

Post 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?
Linsys
Posts: 6
Joined: Tue Jan 26, 2010 10:12 pm

Ulimit

Post 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.
Locked