[Qt-creator] Polling and running in circles

Adam Majer adamm at zombino.com
Thu Mar 19 17:16:12 CET 2009


This is an strace of qt creator in Debian. I don't know what it is
trying to do, but it is using about 2% of CPU doing it.

/etc/localtime, as far as I know, is a copy of the timezone data. It
should not change often, so why continued requests on it?

But more importantly, the other read() requests and poll is looping
rather fast. Any ideas where this is coming from?


poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=13,
events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15,
events=POLLIN|POLLPRI}, {fd=16, events=POLLIN}, {fd=17, events=POLLIN},
{fd=7, events=POLLIN}, {fd=19, events=POLLIN}], 9, 0) = 0 (Timeout)

read(7, 0x2538624, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2865, ...}) = 0

read(7, 0x2538624, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)

read(16, 0x25e7374, 4096)               = -1 EAGAIN (Resource
temporarily unavailable)


- Adam




More information about the Qt-creator-old mailing list