Ran into an interesting problem when I didn't check my mail for a couple 
days.  I'm running James2.0a3 on a Mandrake 8.2 i586 system.  JDK 
1.4.0_01.  I went to check my mail and started to get password errors, 
login failures and whatnot.  I restarted James and then the first time I 
checked my mail, the harddisk thrashed for a few minutes then I started 
receiving the errors again.  I then checked my inbox, it had 872 
messages (1744 files) totaling 7.5 MB.  when I checked the logs it was 
dying because of "Too many files open", but when I checked the files-nr 
file only a little over 2300 files were open.  Rebooting didn't clear 
the problem, so I proceeded to move a large portion of the files to the 
inboxes dir and then tried processing and it worked (the only pain was 
that I had to keep stopping and restarting James for James to recognize 
that more messages were there).

I have two concerns:
1) When getting a LIST does James open all the files, check the sizes, 
then close them all or open them one at a time?  I'm figuring the former 
given the problem.
2) Why does James not recognize when files get moved into the inboxes? 
Shouldn't he be checking to see if the state of things have changed 
before assuming what he has cached is correct?

I haven't had a chance to trace through the code enough to find where 
these tasks happen.  Any info would be appreciated.  If this problem has 
been corrected already I apologize.

Thanks,
    David
-- 
If you only compete with yourself,
     you can always be a winner. - David Jenkins
Of course, you could always be a loser too. - Miles Thornton


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

Reply via email to