Sorry guys,
      I just realzied that it's not log4j's problem,
it's our sysadmin who didn't give me the permission to
delete the files. So now my question is that the only
thing i can do is to upgrade jdk?

thanks


--- Qian Wang <[EMAIL PROTECTED]> wrote:

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


__________________________________________________
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