Massive Problems (lmtp, db corruption) - Ahh!

Su Li sli at rim.net
Thu Oct 31 10:54:29 EST 2002


Then use gdb step through and see what service does Services[5] stand for 8-).

Yes you are right, if I change the number of services in config file, it might not work.

The reseason is, I want to limit the number of lmtpd to 6 and imapd to 100 (or what ever), and I don't care about other processes. 


Su 

-----Original Message-----
From: Rob Siemborski [mailto:rjs3 at andrew.cmu.edu]
Sent: October 31, 2002 10:48 AM
To: Su Li
Cc: Joe Finkle; info-cyrus at lists.andrew.cmu.edu
Subject: RE: Massive Problems (lmtp, db corruption) - Ahh!


On Thu, 31 Oct 2002, Su Li wrote:

> > In master/master.c function void add_service(const char *name, struct entry *e, void *rock)
> > add "Services[5].max_workers=6;" before " free(max);"
> >
> > It will limit the number of lmtpd to 6.
>
> I'm pretty sure the extent of this change isn't going to do what you want,
> but I don't have time to test right now.

Actually, I *know* this isn't what you want, since it depends on a
specific ordering of items in cyrus.conf.

(I had misread that as Services[nservices].max_workers = 6 before, so I
was concerned it might affect all services).

I'm not sure which of these two scenarios is worse.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper







More information about the Info-cyrus mailing list