https://bugzilla.wikimedia.org/show_bug.cgi?id=51817

--- Comment #2 from Antoine "hashar" Musso <[email protected]> ---
$ cat /var/run/jenkins/jenkins.pid 
32018
$

Pid 32018 is /usr/bin/daemon with --pidfile=/var/run/jenkins/jenkins.pid

Its children was pid 32020 which is the java process.

When using the init script 'stop' command, it send a signal to daemon and java
process belong to jenkins:

killall -u jenkins java daemon

jenkins log:

 Sep 24, 2013 7:46:23 AM winstone.Logger logInternal
 INFO: JVM is terminating. Shutting down Winstone
 Exception in thread "Channel reader thread: integration-debian-builder" 
java.lang.NullPointerException
    at hudson.model.Computer.getNode(Computer.java:465)
    at hudson.slaves.SlaveComputer.getNode(SlaveComputer.java:176)
    at
hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:963)
    at hudson.slaves.SlaveComputer$2.onClosed(SlaveComputer.java:419)
    at hudson.remoting.Channel.terminate(Channel.java:749)
    at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)


But both daemon and java are still running after and the pidfile got deleted.


Have to kill -9 the process :(

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to