The Samba-Bugzilla – Bug 3600
one smbd process overload
Last modified: 2018-12-27 21:17:51 UTC
HI, after upgraded from 3.0.20X to 3.0.21X some smbd process go in loop and de CPU utilization increase linearly (see mrtg graphic).
before this upgrade de CPU utilization was minor who 25% and the strange is it only happens with one smbd process with random users.
whats going on?
thanks for regards!
Created attachment 1789 [details]
MRTG cpu utilization overload by one smbd process
MRTG cpu utilization, the red X represent a manual kill -9 in a process smbd
Can you attach to the process with gdb and give us a stack backtrace of where it is when it's using all the CPU please.
Hi Jeremy, see the top description off the process that is overload now, see the CPU TIME and memory Resident size! and this increase linearly.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11855 kruger 16 0 48460 38m 2044 R 28.2 1.9 37:02.83 smbd
the stack backtrace of this process return this:
#0 0x00111402 in __kernel_vsyscall ()
#1 0x007081ed in ___newselect_nocancel () from /lib/libc.so.6
#2 0x00d5feaa in sys_select () from /usr/sbin/smbd
#3 0x00c1222d in add_idle_event () from /usr/sbin/smbd
#4 0x00c13cc1 in smbd_process () from /usr/sbin/smbd
#5 0x00df13d5 in main () from /usr/sbin/smbd
I don´t undertand nothing about this, I wait that it helps you!
Created attachment 1790 [details]
Continue MRTG CPU utilization
the process that I have killed back to increase CPU utilization!
Hi, in version 3.0.22 ocurred same problem! I need execute restart em smb to process decrease CPU consume!
severity should be determined by the developers and not the reporter.
after 12 years we have to say now, please open a new bug if you experience any memory issues in the latest supported release branches.