help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 100% CPU load with recent 'gsasl'


From: Simon Josefsson
Subject: Re: 100% CPU load with recent 'gsasl'
Date: Wed, 15 Oct 2008 11:19:01 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Enrico Scholz <address@hidden> writes:

> Hi,
>
> recent 'gsasl.c' uses poll(2) with
>
> |             pfd[1].events = POLLIN | POLLOUT;
>
>
> The POLLOUT is triggered nearly everytime causing a very high CPU load:
>
> | $ strace -t -p 22005
> | 02:08:51 poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN|POLLOUT, 
> revents=POLLOUT}], 2, -1) = 1
> | 02:08:51 poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN|POLLOUT, 
> revents=POLLOUT}], 2, -1) = 1
> | 02:08:51 poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN|POLLOUT, 
> revents=POLLOUT}], 2, -1) = 1
> | 02:08:51 poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN|POLLOUT, 
> revents=POLLOUT}], 2, -1) = 1

Hi.  Ah, thanks for the report!  Fixed in trunk.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]