-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Linux 2.6.18-120.el5 #1 SMP EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Sun Java(TM) SE Runtime Environment (build 1.6.0_16-b01) x64
apache-tomcat-6.0.20
Hudson 1.352.
Even after all the jobs are stopped and Hudson has been instructed to shutdown, tomcat/shutdown.sh never results in success as there are some non-daemon threads like:
"/bin/sh -xe /opt/apache-tomcat-6.0.20/temp/hudson7335081632672859432.sh: stdout copier" prio=10 tid=0x00002aab7f619000 nid=0x69c1 runnable [0x000000004a499000] java.lang.Thread.State: RUNNABLE at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:199) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) - locked <0x00002aaaee399c00> (a java.io.BufferedInputStream) at java.io.FilterInputStream.read(FilterInputStream.java:90) at hudson.util.StreamCopyThread.run(StreamCopyThread.java:57)
..remaining. lsof shows no relevant open files.
This could be related to some of our free-style jobs "leaking file descriptors", but that's intentional. Hopefully the problem will Go Away if the thread is made daemon?