On Tue, Feb 20, 2007 at 07:44:58AM +0200, Eric Yellin wrote: > I created a new 'zimbra' profile by renaming the old one. A week > has passed since this has been done and the slowness has not > returned. All mail is processed instantly. > The signature directory has over 500MB in over 43,000 files and > this is causing no issues. Looking at the old profile I see the > following: > > -rw-rw---- 1 zimbra zimbra 400+ megs Feb 12 19:53 zimbra.css > -rw-rw---- 1 zimbra zimbra 80+ megs Feb 12 19:53 zimbra.log > > Note the very large zimbra.css file. and rather large zimbra.log > file. > > The current profile shows much smaller files: > -rw-rw---- 1 zimbra zimbra 65+ megs Feb 20 07:35 zimbra.css > -rw-rw---- 1 zimbra zimbra 7+ megs Feb 20 07:35 zimbra.log > > Can this have some effect on the delays we had?
I believe the logfile is only appended to, so the size of that is probably pretty irrelevant from a performance perspective. However, if I recall correctly, the hash driver essentially tries to read the entire .css into memory during operation. This makes it really fast if it's small enough to fit into memory, but very slow if it's too big -- the system will end up swapping bits of it in and out which will completely hose performance. I could be wrong on the details, but I think the most likely cause is the size of the .css. Are you running maintenance jobs to purge irrelevant and stale tokens on a regular basis?
