Newsgroup: it.comp.os.linux.sys
Titolo: centos 7 -- samba 4 -- cpu 100 %

non ne esco.
samba server con 30 client circa , + un applicativo .
occasionalmente senza motivo apparente, il file server samba 4 diventa 
inaccessibile, l'applicativo ivi locato si freeza , lo scambio files si 
interrompe. la cosa dure 5 minuti circa poi si risolve.
X puro caso oggi ho lanciato un " ps " proprio montre stava capitando il 
problema.  faccio copia/incolla
 
PID %CPU %MEM COMMAND
28954 67.1 0.0 smbd
14923 1.5 1.3 /usr2/bpoint/prg/bin/mono32/2.4.0/usr/bin/mono
27425 0.6 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
29425 0.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
29011 0.4 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
28593 0.3 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
27063 0.2 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
29084 0.2 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
31412 0.2 0.0 smbd
 
 
un minuto dopo
 
PID %CPU %MEM COMMAND
28954 42.2 0.0 smbd
14923 1.5 1.3 /usr2/bpoint/prg/bin/mono32/2.4.0/usr/bin/mono
27425 0.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
28593 0.2 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
29011 0.2 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
31412 0.2 0.0 smbd
25270 0.1 0.1 postgres:
 
 
poi:
 
PID %CPU %MEM COMMAND
29011 2.1 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
28954 163 0.0 smbd
14923 1.5 1.3 /usr2/bpoint/prg/bin/mono32/2.4.0/usr/bin/mono
29084 1.1 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
27425 0.9 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
28593 0.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
25270 0.2 0.1 postgres:
 
 
 
poi :
 
  10:16:50 up 20 days, 15:50,  0 users,  load average: 25,49, 10,47, 4,03
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
 
 
 
 
poi :
 
PID %CPU %MEM COMMAND
28954 24.2 0.0 smbd
30802 2.2 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
14923 1.5 1.3 /usr2/bpoint/prg/bin/mono32/2.4.0/usr/bin/mono
29639 1.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
31848 1.0 0.0 ps
31803 0.7 0.0 smbd
31103 0.6 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
30094 0.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
31412 0.2 0.0 smbd
 
poi :
 
PID %CPU %MEM COMMAND
950 2.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
328 2.4 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
28954 17.0 0.0 smbd
14923 1.5 1.3 /usr2/bpoint/prg/bin/mono32/2.4.0/usr/bin/mono
30802 1.5 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
32463 0.7 0.0 /usr2/sispac/prg/bin/linux/cobol_redhat/rts32lt
31803 0.7 0.0 smbd
 
deduco che samba impazzisce per un qualche motivo.
domanda, come identifico il fattore scatenante di questo super_lavoro?
domanda 2 , possibili soluzioni?
io ho esaurito le mie idee
ecco un estratto di smb.conf
 
[ global ]
 
 
         netbios name            =       FEDORA-9
         workgroup               =       ERASMUS
         comment                 =       SERVER-SISPAC
         security                =       user
         null passwords          =       yes
         map to guest            =       Bad User
         dns proxy               =       No
         guest account           =       utente
#       log file                =       /var/log/samba/log.%m
         log file                =       /var/log/samba/log_samba
         log level               =       4
#       max log size = 50
         os level                =       120
         domain master           =       yes
         local master            =       yes
         preferred master        =       yes
         idmap config * : backend =      tdb
         wins support            =       yes
         name resolve order      =       bcast hosts
 
 
[fedora9]
         guest account                   =       root
         browseable                      =       yes
         writeable                       =       yes
         path                            =       /mnt/samba
         comment                         =       TUTTO IL SERVER
         create mode                     =       0777
         public                          =       yes
         directory mode                  =       0777
 
 
grazie

 28954 67.1 0.0 smbd
 
 
scusate mi son confuso, si tratta di centos 6.8 64 bit