Bug 3600 - one smbd process overload
Summary: one smbd process overload
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.21c
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 14:39 UTC by Frederico Gendorf
Modified: 2018-12-27 21:17 UTC (History)
1 user (show)

See Also:


Attachments
MRTG cpu utilization overload by one smbd process (53.61 KB, image/png)
2006-03-11 14:41 UTC, Frederico Gendorf
no flags Details
Continue MRTG CPU utilization (3.35 KB, image/png)
2006-03-11 19:12 UTC, Frederico Gendorf
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederico Gendorf 2006-03-11 14:39:39 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!
Comment 1 Frederico Gendorf 2006-03-11 14:41:37 UTC
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
Comment 2 Jeremy Allison 2006-03-11 14:43:57 UTC
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.

Jeremy.
Comment 3 Frederico Gendorf 2006-03-11 19:08:52 UTC
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:
(gdb) where
#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!
very thanks
Comment 4 Frederico Gendorf 2006-03-11 19:12:35 UTC
Created attachment 1790 [details]
Continue MRTG CPU utilization

the process that I have killed back to increase CPU utilization!
Comment 5 Frederico Gendorf 2006-04-04 07:23:37 UTC
Hi, in version 3.0.22 ocurred same problem! I need execute restart em smb to process decrease CPU consume!
Comment 6 Gerald (Jerry) Carter (dead mail address) 2006-04-20 08:03:39 UTC
severity should be determined by the developers and not the reporter.
Comment 7 Björn Jacke 2018-12-27 21:17:51 UTC
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.