[Dovecot] FreeBSD 6.1-RELEASE/kqueue high CPU load
Dominic Marks
dom at helenmarks.co.uk
Fri Sep 22 22:07:03 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."
>
>
Hmm, well I was speculating. Thanks for pointing that out.
Dominic
More information about the dovecot
mailing list