Too many open files

Kai Wang kwang at ucalgary.ca
Mon Jun 12 16:51:12 EDT 2006


Greetings.

I'm running Cyrus on Redhat AS4. cyrus complains about too many open 
files when I try to delete a user with large number of 
mailboxes/messages. I increased /proc/sys/fs/file-max and max number of 
open files a few times. The errors still happen. Actually the user is 
successfully deleted. I wonder if I should have any concern about these 
error messages.

[root at lms2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
[root at lms2 ~]# uname -a
Linux lms2.acs.ucalgary.ca 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 
2005 i686 i686 i386 GNU/Linux
[root at lms2 ~]# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 1024
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 16384
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 59390
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
[root at lms2 ~]# cat /proc/sys/fs/file-max
2995744

Jun 12 11:50:11 lms2 imap[3320]: IOERROR: opening quota file 
/var/lib/imap/quota/w/user.wangtest: Too many open files
Jun 12 11:50:11 lms2 imap[3320]: DBERROR: error fetching user.wangtest: 
cyrusdb error
Jun 12 11:50:11 lms2 imap[3320]: IOERROR: opening quota file 
/var/lib/imap/quota/w/user.wangtest: Too many open files
Jun 12 11:50:11 lms2 imap[3320]: DBERROR: error fetching user.wangtest: 
cyrusdb error
Jun 12 11:50:11 lms2 imap[3320]: IOERROR: opening quota file 
/var/lib/imap/quota/w/user.wangtest: Too many open files
Jun 12 11:50:11 lms2 imap[3320]: DBERROR: error fetching user.wangtest: 
cyrusdb error
Jun 12 11:50:11 lms2 imap[3320]: IOERROR: opening quota file 
/var/lib/imap/quota/w/user.wangtest: Too many open files
Jun 12 11:50:11 lms2 imap[3320]: DBERROR: error fetching user.wangtest: 
cyrusdb error
Jun 12 11:50:11 lms2 imap[3320]: LOSTQUOTA: unable to remove quota root 
user.wangtest for user.wangtest: Mailbox does not exist

Thanks

-- 
Kai Wang
System Services
Information Technologies, University of Calgary,
2500 University Drive, N.W.,
Calgary, Alberta, Canada T2N 1N4
Phone (403) 220-2423, Fax (403) 282-9361



More information about the Info-cyrus mailing list