DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18494

velocityEngine.init opens velocity.log multiple times

           Summary: velocityEngine.init opens velocity.log multiple times
           Product: Velocity
           Version: 1.3.1-rc2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Source
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


velocityEngine.init opens velocity.log multiple times   Every call to 
velocityEngine.init() opens velocity.log several times. Frequent calls to .init() 
(e.g. in doGet/doPost) will use up all file descriptors of the operation system.  This 
is a critical problem because Windows 2000 deletes all files that a process wants to 
open after Windows has no more file descriptors left. (On Windows NT 4.0 you get "Too 
many open files" and nothing is deleted)   Steps to reproduce: 1. java Test (see 
attachment) 2. While Test is still running do:  a) GNU/Linux: lsof | grep 
velocity.log|wc -l  b) Windows: handle | find "velocity.log"  (You can get handle.exe 
from http://www.systeminternals.com)   Expected Result: velocity.log should be opened 
one or a few times.  Actual Result: velocity.log is opened 900 times (9 times per call 
to "init").

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to