Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#69 closed defect (fixed)

samba-server as PDC - 100% CPU load ~every 1-2 day

Reported by: digi Owned by: psmedley
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)

samba-logs.zip (115.0 KB) - added by digi 10 years ago.
config, log-files

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by digi

config, log-files

comment:1 Changed 10 years ago by diver

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:2 Changed 10 years ago by diver

this ticket is related to ticket #71

comment:3 Changed 9 years ago by diver

Changeset http://svn.netlabs.org/samba/changeset/170 fixes this issue.

final fix after a lot of fiddeling around :)

comment:4 Changed 9 years ago by diver

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 9 years ago by herwigb

  • Version set to 3.0.32
Note: See TracTickets for help on using tickets.