Hi Folks,

I am attempting to make a reverse proxy (much like the one Nicolas was
describing earlier in the list) that takes input in the form of a
webservice call and passes that on with the appropriate (two way SSL in
this case) security to a secure webservice.

I have created HttpClient as a singleton, using the
MultiThreadedHttpConnectionManager connection manager as suggested on
the threading section of the apache site.  

In the code that posts the soap message to the secure server: -

- get an instance of the HttpClient
- create the PostMethod
- use post.setRequestEntity to set the Soap message to be sent
- set timeouts on the connection manager
- execute the Post Method
- get the response body

In the finally I do a post.releaseConnection();

All is well when I put a medium amount of load through it the amount of
files stay at a reasonable size (monitored by pfiles on unix), but if I
put a lot of traffic (twice the amount) it quickly increases to above
the 1024 limit and doesn't seem to recover until I restart the managed
server.

This is on WLS 8.1 SP4 on Solaris 9 using the 3.0.1 release of Apache
Client.

Does anyone have any ideas of why this could be happening and any ideas
on how to fix it?

Thanks for your help!

All the best,
Ash

Reply via email to