[Samba] smbd4winsr-1.0.6-29.src.rpm high cpu load
Stefan (metze) Metzmacher
metze at samba.org
Thu Jul 24 08:57:35 GMT 2008
Hi Daniel,
> I compiled the source of smbd4wins on a suse 10.2 machine successful.
> On the same machine there is a samba server ver. 3.0.31.
> The wins is working but after a couple of days it has a high cpu load
> which is steadily growing and then the system hangs and I need to
> restart it:
>
> top - 15:11:15 up 6 days, 7:07, 2 users, load average: 0.20, 0.25,
> 0.29
> Tasks: 311 total, 2 running, 309 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.2%us, 15.6%sy, 0.0%ni, 83.7%id, 0.5%wa, 0.0%hi, 0.0%si,
> 0.0%st
> Mem: 4136680k total, 2519308k used, 1617372k free, 167832k buffers
> Swap: 2104472k total, 32k used, 2104440k free, 1446936k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 24741 root 25 0 347m 343m 1304 R 42 8.5 50:49.67 smbd4wins
There're known memory leaks in samba4wins-1.0.6. I'll hopefully
release 1.0.7 in the next weeks, where most of them are fixed.
The high cpu usage could be a combination of the high memory usage
and the scavenging, which runs once every 3 days by default.
> And there are a dozen of smbd4wins when I do a ps -A
>
> 13124 ? 00:00:00 smbd4wins
> 13125 ? 00:00:00 smbd4wins
> 13126 ? 00:00:00 smbd4wins
> 13127 ? 00:00:00 smbd4wins
> 13128 ? 00:00:00 smbd4wins
> 13129 ? 00:00:00 smbd4wins
Could you do gdb --pid <pid> with 'bt full' on them?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba/attachments/20080724/345130a8/signature.bin
More information about the samba
mailing list