ID:               38163
 User updated by:  imthiazj2 at hcl dot in
 Reported By:      imthiazj2 at hcl dot in
-Status:           Feedback
+Status:           Open
 Bug Type:         SOAP related
 Operating System: Solaris
 PHP Version:      5.1.4
 New Comment:

Hi,

I used the php version of 5.2. But still the problem is existing and
the whole apache is getting hang and not processing further request. It
needs restart of the apache.

Can you please help me overcome this problem.

Thanks
J.Imthiaz


Previous Comments:
------------------------------------------------------------------------

[2006-07-20 14:54:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



------------------------------------------------------------------------

[2006-07-20 14:43:12] imthiazj2 at hcl dot in

Description:
------------
Hi, 

I am connecting a http server, using soap client.Since the http server
is not responding, the soap client remains connecting to it.So the
apache port becomes in time_wait and it stops listening from further
request. It leads to a situation where the apache has to be restarted.
It is similar to 33765, but here the server is not responding, so the
apache hangs



Reproduce code:
---------------
$client = new SoapClient(NULL,
        array(
        "location" => $location,
        "login" => "root",
        "uri" => "urn:gsnmp",
        "password" => "12345678",
        "exceptions" => 1,
        "trace"    => 1,
        "features"=>SOAP_WAIT_ONE_WAY_CALLS
           ));
ini_set('default_socket_timeout', 10)
$result = $client->__doRequest("",$locationwithdata,"",1);


Expected result:
----------------
The soap client should wait for few seconds and returns error or soap
fault.
So that it should avoid from apache hanging.


Actual result:
--------------
It makes apache server to hang and needs to restart for processing
further request


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38163&edit=1

Reply via email to