Comment 11 for bug 132320

Revision history for this message
Зоран Рилак (zoran.rilak) wrote :

Running trackerd 0.6.3 with indexing and watching enabled at throttle level 20, it gets stuck and uses ~90% of one core perhaps a minute or two after launching. strace shows the following output:

poll([{fd=11, events=POLLIN}, {fd=16, events=POLLIN}, {fd=13, events=POLLIN}], 3, 1998) = 0
gettimeofday({1196449076, 947962}, NULL) = 0
open("/proc/acpi/ac_adapter/ACAD/state", O_RDONLY|O_LARGEFILE) = 33
fstat64(33, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
fcntl64(33, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(33, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb63de000
_llseek(33, 0, [0], SEEK_CUR) = 0
read(33, "state: on-line"..., 4096) = 33
read(33, "", 3072) = 0
close(33) = 0
munmap(0xb63de000, 4096) = 0
gettimeofday({1196449076, 949136}, NULL) = 0

repeated about every 2 seconds.