I was using the 'touch' command to force a recompile of some jsp files. After a while, I checked lsof and noticed some files being left open:
java 25139 fdblahh 21r REG 3,3 121491 6783806 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/info_jsp.java java 25139 fdblahh 22r REG 3,3 74193 6783810 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/company_jsp.java java 25139 fdblahh 23r REG 3,3 74193 6783810 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/company_jsp.java java 25139 fdblahh 24r REG 3,3 121491 6783806 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/info_jsp.java java 25139 fdblahh 25r REG 3,3 121491 6783806 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/info_jsp.java java 25139 fdblahh 28r REG 3,3 121491 6783806 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/info_jsp.java java 25139 fdblahh 29r REG 3,3 77122 6783804 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/index_jsp.java java 25139 fdblahh 30r REG 3,3 121491 6783806 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/info_jsp.java java 25139 fdblahh 31r REG 3,3 77122 6783804 /home/fdblahh/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/website/index_jsp.java After playing around, it seemed like one of these was added if I touched a page then visited it, but not every time. When generating the above list of files, it happened about 1 out of every 4 times. After the garbage collector ran, they all disappeared. Any ideas on why these files are being left open? I'm using jre version 1.5.0 and tomcat 5.5.9. Thanks for any help. Steven __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]