Re: [Re] Proper use of Executors

2017-06-25 Thread Siegfried Goeschl
Hi Chris, the “recurring theme” does ring a bell - I guess you already know https://www.mail-archive.com/user@commons.apache.org/msg10368.html :-) Do you have some Git repo to re-produce the problem? Thanks in advance,

Re: [Re] Proper use of Executors

2017-06-21 Thread Chris Gamache
Ok so, it's hard to tell if this made much of a difference. There might be a few less messages? Hard to be sure. I'm still getting those messages, but I'm now suspecting Selenium is generating the majority of these messages. It is behaving badly when it comes to killing its spawned phantomjs

Re: [Re] Proper use of Executors

2017-06-19 Thread Siegfried Goeschl
Staying tuned :-) > On 5 Jun 2017, at 13:59, Chris Gamache wrote: > > Hi Siegfried, > > I have implemented the executor watchdogs and shutdown hooks. I will know if > our efforts have been fruitful when we make our first restart which I'm sure > will be soon. I promise

Re: [Re] Proper use of Executors

2017-06-05 Thread Chris Gamache
Hi Siegfried, I have implemented the executor watchdogs and shutdown hooks. I will know if our efforts have been fruitful when we make our first restart which I'm sure will be soon. I promise I'll write back and let you know how it goes. Thank you vary much for checking in with me! > On Jun

[Re] Proper use of Executors

2017-06-05 Thread Siegfried Goeschl
Hi Chris, any new findings from your side? Thanks in advance, Siegfried Goeschl > On 28 May 2017, at 21:41, Siegfried Goeschl > wrote: > > Hi Chris, > > there are couple of things to consider > > * You are using a PumpStreamHander but the STDERR is not

Re: Proper use of Executors

2017-05-28 Thread Martin Gainty
MG>below From: Siegfried Goeschl <siegfried.goes...@it20one.com> Sent: Sunday, May 28, 2017 3:41 PM To: Commons Users List Cc: cgama...@gmail.com Subject: Re: Proper use of Executors Hi Chris, there are couple of things to consider * You

Re: Proper use of Executors

2017-05-28 Thread Siegfried Goeschl
Hi Chris, there are couple of things to consider * You are using a PumpStreamHander but the STDERR is not consumed. Each process has an internal buffer (size depends on the OS) and when the buffer is full any write to STDERR is blocked * That could happen if the process being executed actually

Proper use of Executors

2017-05-27 Thread Chris Gamache
Hi all, I'm using org.apache.commons:commons-exec:1.3 on Java 8. I'm having an issue where my Tomcat server is bleeding out hundreds of threads and all of the memory in the form of Executors that I'm running but don't seem to be closing down ... When the server finally grinds to a halt I have to