Re: Too many open files

2008-11-11 Thread Shelley Waltz
Rob McMahon wrote: > Shelley Waltz wrote: >> Oddly enough I had the identical issue today while trying to remove a >> bunch of users. I am running cyrus-imapd-2.3.7-2.el5 on RHEL5. >> >> I used cyradm and did >> sam user.x anyone c >> dm user.x >> >> This worked fine for about 20 users, then I got

Re: Too many open files

2008-11-04 Thread Wesley Craig
On 04 Nov 2008, at 07:39, Rob McMahon wrote: > I suspect the underlying cause is this chunk from > lib/cyrusdb_quotalegacy.c(foreach): > > /* strip off the qr specific path and replace with pattern */ > sprintf(strstr(quota_path, FNAME_QUOTADIR) + strlen > (FNAME_QUOTADIR), > "

Re: Too many open files

2008-11-04 Thread Rob McMahon
Shelley Waltz wrote: > Oddly enough I had the identical issue today while trying to remove a > bunch of users. I am running cyrus-imapd-2.3.7-2.el5 on RHEL5. > > I used cyradm and did > sam user.x anyone c > dm user.x > > This worked fine for about 20 users, then I got the following in maillog ...

Re: Too many open files

2008-11-03 Thread Shelley Waltz
Oddly enough I had the identical issue today while trying to remove a bunch of users. I am running cyrus-imapd-2.3.7-2.el5 on RHEL5. I used cyradm and did sam user.x anyone c dm user.x This worked fine for about 20 users, then I got the following in maillog ... Nov 3 10:35:28 rr imap[16539]: I

Re: Too many open files

2008-11-03 Thread Rob McMahon
Rob McMahon wrote: > Cyrus-2.2.13 (yes, I know it's getting on a bit). Solaris 10 SPARC, > around 115,000 mailboxes. > > I was mopping up a few users today with a script which basically does: > > while (<>) { > chomp; > my $mb = 'user.' . $_; > $client->setacl($mb, $user => 'c'); > $clien

Re: Too many open files

2007-09-03 Thread Rob McMahon
Rob McMahon wrote: > Aug 24 16:20:44 narcissus imap[24338]: [ID 240394 local6.error] IOERROR: > opening quota file /var/imap/quota/V/user.??.Trash: Too many open files > Aug 24 16:21:38 narcissus imap[24338]: [ID 816447 local6.error] warning: > cannot open /etc/hosts.deny: Too many open file

Re: Too many open files

2007-08-26 Thread Adam Kramer
I believe this is due to a bug in the quota code that doesn't close the quota file after deleting a mailbox. I consistently get this behavior trying to delete a user that has more than ~250 mailboxes. (ulimit -f is 255) If you delete the user's quota first you shouldn't get this error, at least if

Re: Too many open files

2007-08-25 Thread Alain Spineux
Maybe this is because your are accessing multiple mailbox through the same and unique connection. At each mailbox it should open some files related to the mailbox and never close them ! The use is to connect to a unique mailbox and read mails and browse subfolders, and then always use the same rela

Re: Too many open files

2007-08-25 Thread Dale Ghent
On Aug 24, 2007, at 11:49 AM, Rob McMahon wrote: > Cyrus-2.2.13 (yes, I know it's getting on a bit). Solaris 10 SPARC, > around 115,000 mailboxes. > > After deleting just a few, I start getting errors like "Must login > first", "System I/O Error" (sorry, I haven't got the exact messages to > cut

Re: Too many open files

2007-08-24 Thread Gary Mills
On Fri, Aug 24, 2007 at 04:49:10PM +0100, Rob McMahon wrote: > Cyrus-2.2.13 (yes, I know it's getting on a bit). Solaris 10 SPARC, > around 115,000 mailboxes. Same thing here with cyrus-imapd-2.3.8 on Solaris 10 SPARC. > I was mopping up a few users today with a script which basically does: >

Re: Too many open files

2006-06-14 Thread Kai Wang
Solved. Instead of "user.username", you delete "+user.username". Kai Wang wrote: I actually changed the nofile by editing the /etc/security/limits.conf file. It was only 1024. I have increased it to be bigger than the total number of messages the test user has. The test user account conta

Re: Too many open files

2006-06-12 Thread Kai Wang
I actually changed the nofile by editing the /etc/security/limits.conf file. It was only 1024. I have increased it to be bigger than the total number of messages the test user has. The test user account contains 760+ folders and 76000+ messages. I restore the user and deleted it again. The pr

Re: Too many open files

2006-06-12 Thread Zachariah Mully
On Mon, 2006-06-12 at 14:51 -0600, Kai Wang wrote: > > 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 tim