Search found 7 matches

by Maklaut
Wed Jun 29, 2011 4:00 pm
Forum: ZoneMinder 1.24.x
Topic: Apache NOT responding
Replies: 63
Views: 66591

Re: Apache NOT responding

Hmm, the problem is still present when I execute "create video" from event view. Apache process (mod_php) execute a ffmpeg and waiting when it finish to work (about few minutes). But php session is still locked for all the time of creating the video! So every ajax request is blocked for se...
by Maklaut
Sun Jun 26, 2011 3:54 pm
Forum: ZoneMinder 1.24.x
Topic: Apache NOT responding
Replies: 63
Views: 66591

Re: Apache NOT responding

Thanks Maklaut for the fix. But this has a side effect the the status and fps is not updated. Use a value like 5 or 10 intead of 0. from php manual: int socket_select ( array &$read , array &$write , array &$except , int $tv_sec [, int $tv_usec = 0 ] ) The tv_sec and tv_usec together fo...
by Maklaut
Sun Jun 26, 2011 9:31 am
Forum: ZoneMinder 1.24.x
Topic: Apache NOT responding
Replies: 63
Views: 66591

Re: Apache NOT responding

I found a solution. All apache's processes was locked for flock() in session_start(). But one apache process (who was locking all other) was waiting for socket_select() in stream.php for a very long time. This line: $numSockets = @socket_select( $rSockets, $wSockets, $eSockets, MSG_TIMEOUT ); This i...