#38163 [NEW]: Problem in communication to http server using soap client of php

From: Date: Thu, 20 Jul 2006 14:43:12 +0000
Subject: #38163 [NEW]: Problem in communication to http server using soap client of php
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99671@lists.php.net to get a copy of this message
From:             imthiazj2 at hcl dot in
Operating system: Solaris
PHP version:      5.1.4
PHP Bug Type:     Performance problem
Bug description:  Problem in communication to http server using soap client of php

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 bug report at http://bugs.php.net/?id=38163&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38163&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38163&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38163&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38163&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=38163&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38163&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38163&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38163&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38163&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38163&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=38163&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=38163&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38163&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38163&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38163&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38163&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38163&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38163&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38163&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38163&r=mysqlcfg


Thread (13 messages)

« previous php.bugs (#99671) next »