[Psi-Devel] Psi eats up CPU

Michał Jazłowiecki michalj at poczta.neostrada.pl
Thu Aug 23 11:11:17 PDT 2007


Welcome,


One of my friends, Psi user and administrator of one of most popular 
Jabber/XMPP servers in Poland has notified me that latest Psi 
development snapshot is using about 80-90% of CPU throttle all the time.

He's running Psi on a quite powerful machine (Intel Pentium M 1.6 GHz), 
on Linux. He did run strace and said that there are lots of following 
lines in the output:

clock_gettime(CLOCK_MONOTONIC, {539, 535061584}) = 0
ioctl(9, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN, revents=POLLIN}, 
{fd=10, events=POLLIN}, {fd=9, events=POLLIN}, {fd=15, events=POLLIN}, 
{fd=16, events=POLLIN}, {fd=17, events=POLLIN}, {fd=18, events=POLLIN}, 
{fd=21, events=POLLIN}], 9, 0) = 1
clock_gettime(CLOCK_MONOTONIC, {539, 535182251}) = 0
ioctl(9, FIONREAD, [0])                 = 0
read(5, "\0\0\0", 16)                   = 3
read(5, 0xb81ecbbc, 16)                 = -1 EAGAIN (Resource 
temporarily unavailable)
write(6, "\0", 1)                       = 1
write(6, "\0", 1)                       = 1
write(6, "\0", 1)                       = 1
clock_gettime(CLOCK_MONOTONIC, {539, 535422190}) = 0
ioctl(9, FIONREAD, [0])


Psi was compiled against Qt-4.3.1 (four point three point one).

Has anyone of you observed anything similar?


Kind regards,

-- 
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator



More information about the Psi-Devel mailing list