NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
too many connections


Joined: 21 Apr 2009
Posts: 1
Reply with quote
I am using Nusoap to connect to a WSDL service on another server. I am using this service to sync 2 databases. Unfortunately, the host with the call script is saying that my script is creating too many connections to the other server. At one point, we had over 200 concurrent connections open.

I assumed that NuSoap was closing the connections before making another one, but maybe it is not. Does anyone have any idea on how to fix this?
View user's profileFind all posts by wexzoneSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
In case of NuSoap, if you run it over HTTP/1.1 and your server supports keep-alive HTTP feature, you have to add Connection: Close header to have connection closed. Otherwise it remains open.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
too many connections
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic