Hi, The errors were seen in the run log. Yes, I was using single faban agent earlier but I checked it with 2 agents as well and that too in vain. Following are the errors that I am getting
1) Message: java.net.BindException: Address already in use Stack Trace: Class Method Line java.net.PlainSocketImpl socketBind java.net.PlainSocketImpl bind 365 java.net.Socket bind 577 com.sun.faban.driver.transport.hc3.ProtocolTimedSocketFactory createSocket 60 org.apache.commons.httpclient.HttpConnection open 707 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry 387 org.apache.commons.httpclient.HttpMethodDirector executeMethod 171 org.apache.commons.httpclient.HttpClient executeMethod 397 org.apache.commons.httpclient.HttpClient executeMethod 323 com.sun.faban.driver.transport.hc3.ApacheHC3Transport readURL 235 org.apache.olio.workload.driver.UIDriver loadStatics 821 org.apache.olio.workload.driver.UIDriver doHomePage 382 sun.reflect.GeneratedMethodAccessor4 invoke sun.reflect.DelegatingMethodAccessorImpl invoke 25 java.lang.reflect.Method invoke 597 com.sun.faban.driver.engine.TimeThread doRun 169 com.sun.faban.driver.engine.AgentThread run 202 2) Message: java.net.SocketException: Too many open files Stack Trace: Class Method Line java.net.Socket createImpl 397 java.net.Socket getImpl 460 java.net.Socket bind 577 com.sun.faban.driver.transport.hc3.ProtocolTimedSocketFactory createSocket 60 org.apache.commons.httpclient.HttpConnection open 707 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry 387 org.apache.commons.httpclient.HttpMethodDirector executeMethod 171 org.apache.commons.httpclient.HttpClient executeMethod 397 org.apache.commons.httpclient.HttpClient executeMethod 323 com.sun.faban.driver.transport.hc3.ApacheHC3Transport readURL 274 com.sun.faban.driver.transport.hc3.ApacheHC3Transport readURL 390 org.apache.olio.workload.driver.UIDriver doTagSearch 462 sun.reflect.GeneratedMethodAccessor6 invoke sun.reflect.DelegatingMethodAccessorImpl invoke 25 java.lang.reflect.Method invoke 597 com.sun.faban.driver.engine.TimeThread doRun 169 com.sun.faban.driver.engine.AgentThread run 202 Thanks, Sankalp On Wed, Jun 23, 2010 at 9:38 PM, Amanda Waite <[email protected]> wrote: > Where do you see the errors? In the run log or in the Glassfish logs, or > somewhere else? Are you using a single Faban agent? Maybe it's the agent > that is complaining of too many open files and not any part of the SUT. > > Can you post the full stacktrace for each of the errors and where they were > seen. > > Thanks > > Amanda > > On Wed, Jun 23, 2010 at 10:36 AM, Sankalp Gera <[email protected]> > wrote: >> >> Hello all, >> >> >> I am using glassfish v2.1 for my olio setup. When I increase my >> workload from 100 to 125 users I start getting errors like >> 'java.net.BindException: Address already in use' followed by >> 'SocketException: Too many files open'. I have already set the limit >> for no. of open files to 90,000 on each of the machines in SUT, and >> 'lsof | wc -l' only results in around 2500 open files during the runs. >> I have also tried manipulating the variable values in domain.xml to >> solve the 'address bind' issue like increasing the processing-threads >> count etc, but the error still persists. This results in 2/3rd of the >> requests failing. >> >> Also, the server log doesn't report any error regarding this. >> >> Has anybody faced a similar problem? Can someone please share his/her >> domain.xml file for glassfish or suggest a possible solution to it? >> >> Thanks in advance, >> Sankalp > >
