Hello to all, 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 8742 root 15 0 5512 2068 1376 R 0 0.0 0:00.28 top 1 root 15 0 740 288 240 S 0 0.0 0:01.37 init 2 root RT 0 0 0 0 S 0 0.0 0:01.86 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 4 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1 5 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 6 root RT 0 0 0 0 S 0 0.0 0:00.92 migration/2 7 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2 8 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/3 9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3 10 root 10 -5 0 0 0 S 0 0.0 0:00.07 events/0 11 root 10 -5 0 0 0 S 0 0.0 0:00.01 events/1 12 root 10 -5 0 0 0 S 0 0.0 0:00.06 events/2 13 root 10 -5 0 0 0 S 0 0.0 0:00.03 events/3 14 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper 15 root 17 -5 0 0 0 S 0 0.0 0:00.00 kthread 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 13130 ? 00:00:00 smbd4wins 13131 ? 00:00:00 smbd4wins 13132 ? 00:00:00 smbd4wins 13133 ? 00:00:00 smbd4wins 13134 ? 00:00:00 smbd4wins 13135 ? 00:00:00 smbd4wins 13136 ? 00:00:00 smbd4wins 13137 ? 00:00:00 smbd4wins 13138 ? 00:00:00 smbd4wins 13139 ? 00:00:00 smbd4wins 13140 ? 00:00:00 smbd4wins 13141 ? 00:00:00 smbd4wins 13142 ? 00:00:00 smbd4wins 13143 ? 00:00:00 smbd4wins 13144 ? 00:00:00 smbd4wins 13145 ? 00:00:00 smbd4wins 13146 ? 00:00:00 smbd4wins 13147 ? 00:00:00 smbd4wins 13148 ? 00:00:00 smbd4wins 13149 ? 00:00:00 smbd4wins 13150 ? 00:00:00 smbd4wins 13151 ? 00:00:00 smbd4wins 13152 ? 00:00:00 smbd4wins 13153 ? 00:00:00 smbd4wins 13154 ? 00:00:00 smbd4wins 13155 ? 00:00:00 smbd4wins 13156 ? 00:00:00 smbd4wins 13157 ? 00:00:00 smbd4wins 13158 ? 00:00:00 smbd4wins 13159 ? 00:00:00 smbd4wins 13160 ? 00:00:00 smbd4wins 13161 ? 00:00:00 smbd4wins 13162 ? 00:00:00 smbd4wins 13163 ? 00:00:00 smbd4wins 13164 ? 00:00:00 smbd4wins 13165 ? 00:00:00 smbd4wins 13166 ? 00:00:00 smbd4wins 13167 ? 00:00:00 smbd4wins 13168 ? 00:00:00 smbd4wins 13169 ? 00:00:00 smbd4wins 13170 ? 00:00:00 smbd4wins 13171 ? 00:00:00 smbd4wins 13172 ? 00:00:00 smbd4wins 13173 ? 00:00:00 smbd4wins 13174 ? 00:00:00 smbd4wins 13175 ? 00:00:00 smbd4wins Do you have an idea Greetings Daniel M?ller Tropenklinik Paul-Lechler-Krankenhaus mueller@tropenklinik.de 07071 206 463
Stefan (metze) Metzmacher
2008-Jul-24 08:58 UTC
[Samba] smbd4winsr-1.0.6-29.src.rpm high cpu load
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 smbd4winsThere'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 smbd4winsCould 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