[ubuntu] tuning apache2 or any other kernal settings

view story

http://ubuntuforums.org – Hi guys, Our website is hosted on ubuntu machine. We are testing connection pooling with the help of Jmeter. If we test with 500 hits, only 150-160 users are getting connected and for others we are getting following error. org.apache.http.conn. HttpHostConnectException: Connection to http://XXX.com refused at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper ator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionI mpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector (Hardware)