Michi Mutsuzaki commented on ZOOKEEPER-820:

Cygwin doesn't have lsof. 

Most of the time, 'zombie' process is caused by the invalid return code 
checking (it keeps starting the server process in a loop for 2 minutes). I 
think it's ok to use pid file to keep track of the server process. 

I'll submit a new patch.


> update c unit tests to ensure "zombie" java server processes don't cause 
> failure
> --------------------------------------------------------------------------------
>                 Key: ZOOKEEPER-820
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-820
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>            Reporter: Patrick Hunt
>            Assignee: Michi Mutsuzaki
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>         Attachments: ZOOKEEPER-820-1.patch, ZOOKEEPER-820.patch
> When the c unit tests are run sometimes the server doesn't shutdown at the 
> end of the test, this causes subsequent tests (hudson esp) to fail.
> 1) we should try harder to make the server shut down at the end of the test, 
> I suspect this is related to test failing/cleanup
> 2) before the tests are run we should see if the old server is still running 
> and try to shut it down

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to