Re: [PHP] Socket connect crashes web server

2003-07-11 Thread Chris Morrow
I'm pretty sure its not in an endless loop and php is 4.3, im still nowhere
closer to fixing this.

I'm sure its not hardware and I thought I was sure its not networkl related
but I think im going to have to rethirnk my ideas.

Cheers.
Chris


"Fejes Jozsef" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > "The script started from the URL '/myscript/index.php' with parameters
''
> > has not responded within the configured timeout period. The HTTP server
is
> > terminating the script."
>
> maybe the problem is not with the sockets but you have an endless loop
bug?
> do you have an up-to-date version of php? i can't imagine a single connect
> slowing down an entire server
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Socket connect crashes web server

2003-07-11 Thread Fejes Jozsef
> "The script started from the URL '/myscript/index.php' with parameters ''
> has not responded within the configured timeout period. The HTTP server is
> terminating the script."

maybe the problem is not with the sockets but you have an endless loop bug?
do you have an up-to-date version of php? i can't imagine a single connect
slowing down an entire server




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Socket connect crashes web server

2003-07-11 Thread Chris Morrow
Hi Guys,

I wonder if any of you can help with this

I'm using sockets in php to connect my script to an outside system. More
often than not this works fine, but every so often, say twice a day, it
brings down my whole web server.

When this has happened all the sites im serving can take up to 5 minutes to
be displayed in your browser, if I look in the web logs their have been no
accesses for a couple of minutes which is not usual and if I look in
performance monitor in Win2k there is a flat line for Web Server bytes sent,
NIC bytes sent and File Read Bytes/sec.

Can anyone explain why this connect to sockets can bring down the whole
server? Is it not possible to have the function work in isolation rather
than having a knock on effect on everything else?

Also in the Win2k system event viewer I get the error:

"The script started from the URL '/myscript/index.php' with parameters ''
has not responded within the configured timeout period. The HTTP server is
terminating the script."

Any help anyone please? I'm going mad here!

Thanks,
Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php