Package: dirmngr
Version: 1.0.1-3
Severtity: normal

dirmngr is seen often in top of powertop results on a idle kde4
system. Looking at strace, looks like dirmngr has select() timeout
based loop. That is bad in power managment perspective. CPU can't
dynamically sleep long periods when applications wake it up..

aardvark:~# ps aux|grep dirm
root      2486  0.0  0.0   2888   684 ?        Ss   Nov24   0:42
/usr/bin/dirmngr --daemon --sh
root     15846  0.0  0.0   3120   724 pts/3    S+   16:08   0:00 grep dirm      
               
aardvark:~# strace -p 2486
Process 2486 attached - interrupt to quit
select(7, [3 6], [], [], {0, 24000})    = 0 (Timeout)
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0                     
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0                     
rt_sigaction(SIGUSR1, {SIG_DFL}, NULL, 8) = 0                    
rt_sigaction(SIGUSR2, {SIG_DFL}, NULL, 8) = 0                    
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0                    
gettimeofday({1228054131, 399863}, NULL) = 0                     
sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN]) = 0             
time(NULL)                              = 1228054131             
select(0, [], NULL, NULL, {0, 0})       = 0 (Timeout)            
gettimeofday({1228054131, 400237}, NULL) = 0                     
sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN], []) = 0             
gettimeofday({1228054131, 400411}, NULL) = 0                     
rt_sigpending([])                       = 0                      
read(3, 0x965fe34, 128)                 = -1 EAGAIN (Resource
temporarily unavailable)
rt_sigaction(SIGHUP, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0          
      
rt_sigaction(SIGINT, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0          
      
rt_sigaction(SIGUSR1, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigaction(SIGUSR2, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigaction(SIGTERM, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0                 
      
select(7, [3 6], [], [], {0, 919596})   = 0 (Timeout)                           
      
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0               
      
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0                                    
      
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0                                    
      
rt_sigaction(SIGUSR1, {SIG_DFL}, NULL, 8) = 0                                   
      
rt_sigaction(SIGUSR2, {SIG_DFL}, NULL, 8) = 0                                   
      
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0                                   
      
gettimeofday({1228054132, 320661}, NULL) = 0                                    
      
sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN]) = 0                            
      
fcntl64(6, F_GETFL)                     = 0x802 (flags
O_RDWR|O_NONBLOCK)             
fcntl64(6, F_SETFL, O_RDWR)             = 0                                     
      
gettimeofday({1228054132, 321048}, NULL) = 0                                    
      
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)                    
      
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)                    
      
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0                                     
      
accept(6, 0xbfaf1538, [110])            = -1 EAGAIN (Resource
temporarily unavailable)
fcntl64(6, F_GETFL)                     = 0x802 (flags
O_RDWR|O_NONBLOCK)             
sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN], []) = 0                            
      
gettimeofday({1228054132, 321680}, NULL) = 0                                    
      
rt_sigpending([])                       = 0                                     
      
read(3, 0x965fe34, 128)                 = -1 EAGAIN (Resource
temporarily unavailable)
rt_sigaction(SIGHUP, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0          
      
rt_sigaction(SIGINT, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0          
      
rt_sigaction(SIGUSR1, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigaction(SIGUSR2, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigaction(SIGTERM, {0xb7f1dd00, ~[RTMIN RT_1], 0}, {SIG_DFL}, 8) = 0         
      
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0                 
      
select(7, [3 6], [], [], {0, 78557})    = 0 (Timeout)                           
      
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0               
      
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0                                    
      
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0                                    
      
rt_sigaction(SIGUSR1, {SIG_DFL}, NULL, 8) = 0                                   
      

-- 
"rm -rf" only sounds scary if you don't have backups



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to