Apache2 hangs

Support and queries relating to all previous versions of ZoneMinder
Locked
ManxMann
Posts: 3
Joined: Thu Aug 04, 2005 3:06 pm
Location: Isle of Man

Apache2 hangs

Post by ManxMann »

Hi Folks,

System config:

ZM v1.21.3
Ubuntu 5.04 (2.6.10-5-386)
Apache 2.0.53
P4 2.8Ghz, 512Mb
2xBT878 4port sigle chip cards
No SSL, No Auth, No MPEG

Ok here's my problem, after a clean reboot the system works like a charm.

However after a day or so, not sure of an exact time, Apache2 appears to begin to 'slow', syptoms include poor response times in Firefox and when watching a recorded event initial image appears but playback doesn't begin for several seconds if at all, .

At some point after this Apache will 'hang' completely. Syptoms are no data is returned to firefox which shows 'waiting for ...' in the status bar.

During this time ZM continues to run detecting and recording events.

Killing and attempting the start the apache2 daemon results in a cannot bind to socket error reporting port 80 being in use.

Rebooting the server cures the problem.

Has anyone seen this and is there a fix?

Many thanks

Simon
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Well I can help with the socket error portion :?
You should stop zm before restarting apache then start zm back up.
It sounds like you might have a leak or apache might have proccesses hanging but you would need to confirm that or post more information for us to look over.
Have you checked all your logs for potential causes?
Regards,
Cordel
Locked