> Looks like it loops on -1 return value from read()... bad idea!!!!!!!!!!
This code is correct, it's tailing a file and the loop is intentional. It's tested on multiple platforms and works fine. The problem in this build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux/3089/ seems to be somewhere else, notably here -- "process reaper" daemon prio=10 tid=0xabb7dc00 nid=0xd23 runnable [0xae67d000] java.lang.Thread.State: RUNNABLE at java.lang.UNIXProcess.waitForProcessExit(Native Method) at java.lang.UNIXProcess.access$900(UNIXProcess.java:20) at java.lang.UNIXProcess$1$1.run(UNIXProcess.java:132) Looks like the JVM waits for the forked process forever. Don't know why. Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
