#69 closed defect (fixed)
samba-server as PDC - 100% CPU load ~every 1-2 day
Reported by: | digi | Owned by: | Paul Smedley |
---|---|---|---|
Priority: | critical | Milestone: | Samba Server for eCS (OS/2) 1.1.0 |
Component: | Samba Server | Version: | 3.0.32 |
Keywords: | Cc: |
Description
PDC, about 100 users
100% CPU load every 1-2 day with smbd.exe process. Logs and config attached.
Attachments (1)
Change History (6)
by , 16 years ago
Attachment: | samba-logs.zip added |
---|
comment:1 by , 16 years ago
i did some analyse to the problem, as a customer of mine has it also. i found out that it looped at read_data, which calls sys_read in system.c. it happened while the system had high cpu usage anyway (mostly tcp/ip traffic). conclusion: high cpu usage and a client connects to samba, samba opens a new PID, but the PID gets in a wait status due to the high cpu usage. now sys_read loops while there is no data and EAGIAN. if another client wants to connect, a new PID is created and also this PID stays in the loop. and so forth with every new connection. samba ends the PID after around 5 minutes, but because there are more then one it will never finish with ending all of them and cpu stays at 100% cpu.
comment:3 by , 16 years ago
Changeset http://svn.netlabs.org/samba/changeset/170 fixes this issue.
final fix after a lot of fiddeling around :)
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 16 years ago
Version: | → 3.0.32 |
---|
config, log-files