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

LI Xin delphij at delphij.net
Fri Sep 22 22:24:22 EEST 2006


Timo Sirainen wrote:
> 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."

You are right.  Sorry for confusion...

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20060923/042b931a/attachment.pgp 


More information about the dovecot mailing list