Re: [PHP] Server Stall

2007-02-06 Thread Stut
Sancar Saran wrote: I think php does not open second thread for same session... Does your script use sessions? If so, then your problem has nothing to do with anything the script is doing and everything to do with PHP locking sessions. * Request 1 does a start_session(), and PHP locks the

Re: [PHP] Server Stall

2007-02-06 Thread Stut
Sancar Saran wrote: Yes you are absolute right. Session was locked... Thanks for info :) No problem, but please include the list in replies especially when you're confirming a possible explanation. It helps improve the usefulness of the archives. -Stut On Tuesday 06 February 2007

[PHP] Server Stall

2007-02-05 Thread Sancar Saran
Hi, One of my scripts are using wget to get external xml data $fp = popen (wget -O - '.$dst.' | cat,r); Some time $dst host responds very slowly. And that time if I open another connection to same server the second request waits to complete wget operation. I'm very noobie about this file

Re: [PHP] Server Stall

2007-02-05 Thread Matt Carlson
to wait. - Original Message From: Sancar Saran [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, February 5, 2007 11:42:56 AM Subject: [PHP] Server Stall Hi, One of my scripts are using wget to get external xml data $fp = popen (wget -O - '.$dst.' | cat,r); Some time $dst

Re: [PHP] Server Stall

2007-02-05 Thread Sancar Saran
Hi, Matt Thanks for answer, I try your solution and use it. And interestingly I found this, If my request coming from second tab of firefox it will wait util first request done. I think php does not open second thread for same session... Anyway thanks for answer. It was very useful..

Re: [PHP] Server Stall

2007-02-05 Thread Richard Lynch
On Mon, February 5, 2007 11:42 am, Sancar Saran wrote: Hi, One of my scripts are using wget to get external xml data $fp = popen (wget -O - '.$dst.' | cat,r); Some time $dst host responds very slowly. And that time if I open another connection to same server the second request waits to