setroubleshootd using excessive memory

Martin Ebourne lists at ebourne.me.uk
Fri Aug 31 23:28:00 UTC 2007


Just noticed a problem with my laptop fully using swap and a major 
culprit seems to be setroubleshootd. From top it appeared to be using 
excessive vsize:

 1881 root      20   0  611m 1484  524 S  0.0  0.1   0:21.17 setroubleshootd

So I restarted it:

# free
             total       used       free     shared    buffers     cached
Mem:       1027704     637460     390244          0       4496      46400
-/+ buffers/cache:     586564     441140
Swap:      1048568    1023676      24892
# service setroubleshoot restart
Stopping setroubleshootd: free
                                                           [  OK  ]
Starting setroubleshootd:                                  [  OK  ]
# free
             total       used       free     shared    buffers     cached
Mem:       1027704     630096     397608          0       5172      47336
-/+ buffers/cache:     577588     450116
Swap:      1048568     628444     420124
#

So it was was 400MB in size (and all swapped due to recent memory 
pressure). This seems somewhat excessive. Also after I'd restarted 
setroubleshootd, auditd went wild and maxed the cpu out until I restarted 
that too.

I'm using fully updated Fedora 7.
setroubleshoot-server-1.9.4-2.fc7
2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:21:43 EDT 2007 x86_64 x86_64 x86_64 
GNU/Linux
 00:24:02 up 8 days,  8:22,  7 users,  load average: 0.54, 1.72, 3.20

Cheers,

Martin.




More information about the selinux mailing list