[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
100% CPU load with recent 'gsasl'
From: |
Enrico Scholz |
Subject: |
100% CPU load with recent 'gsasl' |
Date: |
Wed, 15 Oct 2008 02:13:12 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (linux) |
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
Enrico
- 100% CPU load with recent 'gsasl',
Enrico Scholz <=