'vmpfw' state
Ronald Klop
ronald-freebsd8 at klop.yi.org
Tue Dec 21 12:53:49 PST 2004
On Tue, 21 Dec 2004 10:49:29 +0100, Michael Riexinger
<michael.riexinger at de.clara.net> wrote:
> Hi,
>
> i have a imap server with cyrus running under FreeBSD 5.3-RELEASE. There
> are around 25000 mailboxes (around 30gb small mails). When starting
> cyrus, the lmtpd is in vmpfw state for around 15 minutes and consumes
> very much cpu and memory. When using truss, i see a lseek loop. What
> exactly is the vmpfw state and how can i accelerate that thing?
I did this in /usr/src.
grep -r --mmap vmpfw *
sys/vm/vm_fault.c: if (!vm_page_sleep_if_busy(fs.m, TRUE, "vmpfw"))
Just above this line is a comment explaining what is happening here in a
technical way.
I think your imap server is mapping all files in memory which can take
quite long if your memory isn't 30GB.
Do you have more info about your system?
Memory/CPU/NFS?/local disk?
Are the mailboxes in mbox format or Maildir?
Searching in google on 'vmpfw' gives nfs issues with it while using pine
on a nfs mounted mail folder. (results from 1999 about older versions
freebsd)
Ronald.
--
Ronald Klop, Amsterdam, The Netherlands
More information about the freebsd-stable
mailing list