Hi,
   Recently, I ran into some "too many open files"
problem. i have a DirectoryRollingFileAppender extends
RollingFileAppender. each day, i will create a new
directory then all the activities on the new day will
be logged to the new directory; however, recently,
because our uses number increased a lot, i began to
get "too many open files" error.  i went to the
directoires created several days back, tried to delete
some old log files, but windows tells me that I can't
delete those files because they are still in use. but
in my DirectoryRollingFileAppender, before i rollover
old logs, i did close all the old files. Then how come
the log files handles are still being held by log4j?

I know i could upgrade our jdk from 1.4 to 1.5 to
slove the "too many open files" error, but that
involves some legacy code and not feasible now.

Can anyone shed some light on this problem?

Thanks

__________________________________________________
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]

Reply via email to