Page 1 of 1

Issues with sockets, stream.php, apache hangs. One progress

Posted: Mon Aug 23, 2010 5:34 pm
by Normando
Ivestigating about the issues with sockets, and then apache hangs, I was change one value that fixes the main problem.

In the file ajax/stream.php i changed the line 11

from:

Code: Select all

if ( !($socket = @socket_create( AF_UNIX, SOCK_DGRAM, 0 )) )
to:

Code: Select all

if ( !($socket = @socket_create( AF_UNIX, SOCK_DGRAM, SOL_UDP )) )
This change fixes all the problems related to sockets, etc...

BUT... break the status FPS and State. Also de progress bar. So, this is not a fix, but may be a starting point to solve this hard bug about sockets. Maybe who knows what to do, then can fix this problem.

Why with this change the sockets are fine, and apache no hangs and run all like a charm? For investigate.