[Om2008.9] 'qpe' causes heavy load on boot

Matthias Apitz guru at unixarea.de
Mon Nov 10 10:25:10 CET 2008


Hello,

Since some time I encounter that on boot the 'qpe' proc causes very
heavy load short after boot; I digged into this and now I know what's
going on but don't know why:

if one monitors the 'qpe' is turns out that the proc is talking to the
modem of the SIM card to get information about the network quality
(every 2nd second) and it is reading the files on the SD card which is
mounted as /media/card and where I have store around 14300 files, the
maps of OpenStreetMap for tangoGPS; it seems that 'qpe' tries to open
every file, strace shows:

	...
select(51, [3 7 8 9 10 11 12 19 21 28 37 39 41 43 50], [], [], {0, 0}) = 0 (Timeout)                              
timer_delete(0x1)                       = 0                                                                       
timer_delete(0x1)                       = 0                                                                       
stat64("/media/card/osm/9/0", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                     
open("/media/card/osm/9/0", O_RDONLY|O_LARGEFILE) = 24                                                            
stat64("/media/card/osm/9/0", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                     
fcntl64(24, F_GETFL)                    = 0x20000 (flags O_RDONLY|O_LARGEFILE)                                    
fcntl64(24, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 0                                                         
fstat64(24, {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                                       
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4459e000                           
read(24, 0x452d2e98, 16384)             = -1 EISDIR (Is a directory)                                              
fcntl64(24, F_SETFL, O_RDONLY|O_LARGEFILE) = 0                                                                    
read(24, 0x4459e000, 16384)             = -1 EISDIR (Is a directory)                                              
fcntl64(24, F_SETFL, O_RDONLY|O_LARGEFILE) = 0                                                                    
fcntl64(24, F_GETFL)                    = 0x20000 (flags O_RDONLY|O_LARGEFILE)                                    
fcntl64(24, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 0                                                         
read(24, 0x4459e000, 16384)             = -1 EISDIR (Is a directory)                                              
fcntl64(24, F_SETFL, O_RDONLY|O_LARGEFILE) = 0                                                                    
read(24, 0x4459e000, 16384)             = -1 EISDIR (Is a directory)                                              
fcntl64(24, F_SETFL, O_RDONLY|O_LARGEFILE) = 0                                                                    
close(24)                               = 0                                                                       
munmap(0x4459e000, 16384)               = 0                                                                       
stat64("/media/card/osm/9/0", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                     
stat64("/media/card/osm/9/136", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                   
open("/media/card/osm/9/136", O_RDONLY|O_LARGEFILE) = 24                                                          
stat64("/media/card/osm/9/136", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0                                   
fcntl64(24, F_GETFL)                    = 0x20000 (flags O_RDONLY|O_LARGEFILE)            
	...

Any idea what 'qpe' wants to know about my files on the media SD?
Thx

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows




More information about the community mailing list