A few things that jump out at me: 1. it looks like your `PN` class is creating 10 different `Client` objects which each start a persistent(?) connection to the SOAP server when created. that's a huge factor in overloading the connections.
2. I'm not familiar with your SOAP library. are these connection objects threadsafe/forksafe? If not, you should defer the `connect` to happen after the application forks/threads. that will result in even more connections. i would look at creating and disposing of the connections as needed, instead of starting up with them. if you need all of them them on every request, i'd rethink the application design and how all the nodes interact with one other. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/2ea804d0-1b40-49f2-944a-2f890d92f307%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
