I/O reactor status: STOPPED

2016-10-04 Thread Joan Balagueró
Hello, I'm occassionally receiving this error, and the async pool stops working: java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED at org.apache.http.util.Asserts.check(Asserts.java:46) at org.apache.http.impl.nio.client.CloseableHttpAsyncCli

Re: I/O reactor status: STOPPED

2016-10-04 Thread Oleg Kalnichevski
On October 4, 2016 12:52:42 PM GMT+02:00, "Joan Balagueró" wrote: >Hello, > >I'm occassionally receiving this error, and the async pool stops >working: > >java.lang.IllegalStateException: Request cannot be executed; I/O >reactor >status: STOPPED >at org.apache.http.util.Asserts.check(Asse

RE: I/O reactor status: STOPPED

2016-10-04 Thread Joan Balagueró
Within the HttpAsyncResponseConsumer? Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:o...@ok2consulting.com] Enviado el: martes, 4 de octubre de 2016 13:59 Para: HttpClient User Discussion; Joan Balagueró Asunto: Re: I/O reactor status: STOPPED On October 4, 2016 12:52:42 PM GMT

Why are many TCP open connections created on OS (Linux)?

2016-10-04 Thread Gnerlich, Manuel (IPS PROJECTS GMBH)
Hello, I am using Apache AsychHttpClient with connection pool to send more than 1 mio requests and configured maxinum number of connection (200) and of connection per Host (100). However there are many open TCP connections (about 30.000) on linux. Why? How can I control number of connection ov

Re: Why are many TCP open connections created on OS (Linux)?

2016-10-04 Thread Bernd Eckenfels
Am Tue, 4 Oct 2016 14:00:38 + schrieb "Gnerlich, Manuel (IPS PROJECTS GMBH)" : > I am using Apache AsychHttpClient with connection pool to send more > than 1 mio requests and configured maxinum number of connection (200) > and of connection per Host (100). > > However there are many open TCP

Re: I/O reactor status: STOPPED

2016-10-04 Thread Oleg Kalnichevski
On Tue, 2016-10-04 at 14:29 +0200, Joan Balagueró wrote: > Within the HttpAsyncResponseConsumer? > Most likely. You can use #getAuditLog() method of the I/O reactor to find out exactly what exception caused it to terminate. http://hc.apache.org/httpcomponents-core-4.4.x/httpcore-nio/apidocs/org