[Samba-it] Uso enorme di CPU su server scarico

Michele Baldessari michele-lists at pupazzo.org
Sun Nov 18 00:15:10 MST 2007


* Francesco Malvezzi (francesco.malvezzi at unimore.it) wrote:
> Ho un problema di performance con samba 3.0.24-6etch4 (Debian/Etch) su
> un server praticamente senza connessioni.
>
> L'uso della CPU e' sempre sopra l'80%.
>
> Vi faccio un esempio di top:
>
> top - 09:04:41 up 7 days, 19:16,  2 users,  load average: 0.88, 0.89, 0.79
> Tasks:  51 total,   3 running,  48 sleeping,   0 stopped,   0 zombie
> Cpu(s): 33.3%us, 43.3%sy,  0.0%ni, 20.0%id,  0.0%wa,  0.0%hi,  3.3%si,
> 0.0%st
> Mem:   1048692k total,   916700k used,   131992k free,   186128k buffers
> Swap:   522072k total,       28k used,   522044k free,   573592k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 22505 nobody    16   0 21236  13m 2544 R 80.5  1.4  22:35.15 smbd
>     1 root      16   0  1956  644  552 S  0.0  0.1   0:01.08 init
>     2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
>     3 root      34  19     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/0
>     4 root      RT   0     0    0    0 S  0.0  0.0   0:00.12 watchdog/0
>     5 root      10  -5     0    0    0 S  0.0  0.0   2:37.74 events/0
>     6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper


Il processo che gira con nobody e' quello delle connessioni guest.
Prova a lanciare "strace -f -o /tmp/samba.strace -p 22505" (e
sostituisci 22505 con il pid del processo "impazzito")
Di solito un'idea piu' chiara riesci a fartela al volo.

saluti,
Michele
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20071118/66ac4a37/attachment.pgp>


More information about the samba-it mailing list