TitleRCS process hangs
Date20-Jan-2005 03:08:12 EET
Version2.0.52
SubmitterMikeFauzy
Bug criticalityLightBug
Browser versionAny
Bug statusNewBug
PageProvider usedRCSFileProvider
Servlet ContainerApache 1.3.29 and Tomcat 4.1.30
Operating SystemDebian Sid
URL
Java version1.4.1_05

Tomcat hangs irregularly after a spawned process (rcs) will not exit. Both Tomcat's process and the sub-process must be 'kill -9'ed. A thread dump reveals the following situation:

"process reaper" daemon prio=1 tid=0x0x83c8828 nid=0x3362 runnable babff000..babff8c8 at java.lang.UNIXProcess.waitForProcessExit(Native Method) at java.lang.UNIXProcess.access$1500(UNIXProcess.java:20) at java.lang.UNIXProcess$2.run(UNIXProcess.java:127)

"TP-Processor12" daemon prio=1 tid=0x0x843b540 nid=0x318c runnable badfe000..badff8c8 at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:191) at java.io.BufferedInputStream.read1(BufferedInputStream.java:220) at java.io.BufferedInputStream.read(BufferedInputStream.java:277) - locked <0x44da16b0> (a java.io.BufferedInputStream) at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:448) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182) - locked <0x44da1f70> (a java.io.InputStreamReader) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136)

at java.io.BufferedReader.readLine(BufferedReader.java:299) - locked <0x44da1f70> (a java.io.InputStreamReader) at java.io.BufferedReader.readLine(BufferedReader.java:362) at com.ecyrd.jspwiki.providers.RCSFileProvider.getPageInfo(RCSFileProvider.java:136) at com.ecyrd.jspwiki.providers.FileSystemProvider.getAllPages(FileSystemProvider.java:243) at com.ecyrd.jspwiki.PageManager.getAllPages(PageManager.java:143) at com.ecyrd.jspwiki.WikiEngine.getRecentChanges(WikiEngine.java:1318) at com.ecyrd.jspwiki.xmlrpc.RPCHandler.getAllPages(RPCHandler.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ...

Upgrade to Java 1.4.2. It is the first relatively stable version of the 1.4 branch...

-- JanneJalkanen

copied from http://www.jspwiki.org/Wiki.jsp?page=BugReports

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 20-Jan-2005 03:08 by MikeFauzy