On Wed, 2 Jun 2004, Shawn Sivy wrote: > Against my better judgement, I upgrade the hardware Sun 280R to Sun 440, > > the OS from Solaris 8 to 9 and Cyrus IMAP 2.0.16, SASL 1.5.24 & Postfix > 1.1.13 to IMAP 2.2.5, SASL 2.1.18 & Postfix 2.1.1. > > I haven't created any new users on the new version yet. I did try going > from quotalegacy to skiplist for quota_db, but I couldn't add create any > quota for users. In cyradm the "lq" command would work until I set the > quota on the first user, then both lq and sq would hang. The initial sq > was reaaal slooow too (compares to create a quota with quotalegacy). > > I can try "downgrading" to Imap 2.2.3. Nothing has changed as far as > the structures (cyrus.* files, etc.), so I should just be able to > compile and install that version right? >
I just tried using skiplist and berkeley for quota and things worked fine for me. I run Solaris 9 and I have not run into a such problem. I use gcc 9.25.3 to compile stuff, although you should be able to use a newer gcc compiler. -Igor > > Ken Murchison wrote: > > > Shawn Sivy wrote: > > > >> I want to say that it takes a little while since I tried a couple > >> things that seemed to work, but the errors creep back in after a > >> bit. I recompiled with gcc instead of Sun's cc, which I thought > >> fixed the problem, but it didn't. > >> Off hand, could you tell whether the memory leak would most likely be > >> in the cyrus code or in the underlying libraries. I'll start looking > >> for Solaris patches. Suggestion what library/subsystem I should be > >> targeting? > > > > > > My guess would be its a problem in the Cyrus code, specifically the > > rewritten quota code. Do you have code that is creating a lot of > > users and setting a new quota on them? I just fixed a bug > > specifically for this problem. > > > >> Thanks for the reply, I've been pulling spending many hours ignoring > >> my family trying to the this thing stable. I may try to go back to > >> Solaris 8 if I can't get it working by the end of the week. > > > > > > Did this problem start with 2.2.5 or with Solaris 9, or did you > > upgrade both at the same time? Does 2.2.3 work on Solaris 9? > > > > > >> > >> -Shawn > >> > >> Ken Murchison wrote: > >> > >>> Shawn Sivy wrote: > >>> > >>>> I'm having all kinds of problems with Cyrus IMAP 2.2.5 on Solaris > >>>> 9. System I/O errors, imap processing dying, IOERRORs. > >>>> > >>>> Does anyone have suggestions on what could be the cause? Has > >>>> anyone gotten version 2.2.5 working on Solaris (SPARC) 9? > >>>> > >>>> -Shawn > >>>> > >>>> May 30 17:52:57 cyrus lmtpunix[14954]: [ID 240394 local6.error] > >>>> IOERROR: opening quota file /var/imap/quota/m/user.macey2: Too many > >>>> open files > >>>> May 30 17:52:57 cyrus lmtpunix[14954]: [ID 335833 local6.error] > >>>> DBERROR: error fetching user.macey2: cyrusdb error > >>>> May 30 17:52:57 cyrus lmtpunix[14954]: [ID 860734 local6.debug] > >>>> verify_user(user.macey2) failed: System I/O error > >>>> May 30 17:53:20 cyrus lmtpunix[14954]: [ID 240394 local6.error] > >>>> IOERROR: opening quota file /var/imap/quota/s/user.sdhugg: Too many > >>>> open files > >>>> May 30 17:53:20 cyrus lmtpunix[14954]: [ID 335833 local6.error] > >>>> DBERROR: error fetching user.sdhugg: cyrusdb error > >>>> May 30 17:53:20 cyrus lmtpunix[14954]: [ID 860734 local6.debug] > >>>> verify_user(user.sdhugg) failed: System I/O error > >>>> May 30 17:53:40 cyrus lmtpunix[14954]: [ID 240394 local6.error] > >>>> IOERROR: opening quota file /var/imap/quota/s/user.samuel2: Too > >>>> many open files > >>>> May 30 17:53:40 cyrus lmtpunix[14954]: [ID 335833 local6.error] > >>>> DBERROR: error fetching user.samuel2: cyrusdb error > >>>> May 30 17:53:40 cyrus lmtpunix[14954]: [ID 860734 local6.debug] > >>>> verify_user(user.samuel2) failed: System I/O error > >>>> May 30 17:54:05 cyrus lmtpunix[14954]: [ID 240394 local6.error] > >>>> IOERROR: opening quota file /var/imap/quota/b/user.balaisi2: Too > >>>> many open files > >>>> May 30 17:54:05 cyrus lmtpunix[14954]: [ID 335833 local6.error] > >>>> DBERROR: error fetching user.balaisi2: cyrusdb error > >>>> May 30 17:54:05 cyrus lmtpunix[14954]: [ID 860734 local6.debug] > >>>> verify_user(user.balaisi2) failed: System I/O error > >>> > >>> > >>> > >>> > >>> Looks like a file descriptor leak, but I haven't seen this myself. > >>> Does this happen immediately when you start up the master process, > >>> or does it take a while? > >>> > >> > >> --- > >> Cyrus Home Page: http://asg.web.cmu.edu/cyrus > >> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > >> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > >> > > > > > > > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > -- Igor --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html