[Dovecot] FreeBSD 6.1-RELEASE/kqueue high CPU load

Timo Sirainen tss at iki.fi
Fri Sep 22 21:59:48 EEST 2006


On Wed, 2006-09-20 at 10:45 +0100, Dominic Marks wrote:
> >>>  44146 imap     0.005793 RET   kevent 1
> 
> I think what LI Xin was looking at is the return value of kevent(2)
> here. EPERM is the 1 in the last column.
> 
> > Sorry, EPERM? Where do you see that? What does it mean.
> 
>  From man intro(2):
> 
>   1 EPERM Operation not permitted.  An attempt was made to perform
>     an operation limited to processes with appropriate privileges
>     or to the owner of a file or other resources.
> 
> Looking at man kevent(2) there are a selection of errors that can be
> returned from this system call but EPERM isn't one of them.

Why would the 1 mean EPERM? See kevent()'s man page:

"The kevent() system call returns the number of events placed in the
eventlist, up to the value given by nevents."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060922/cb918181/attachment.pgp 


More information about the dovecot mailing list