Hi! I'm running 3.0.21b on OpenBSD 3.8-stable (i386) with raidframe. Without any apparent cause one of the smbd child processes has started to badly leak memory (approx. 10Mb / minute) and possibly busy waiting, persistant across reboots. The server has been running flawlessly in production for over three months and absolutely nothing has changed on the server since it went into production. In my setup samba is PDC, with security=user, map to guest = Bad User and a share with guest=ok. The runaway process is serving a guest user that is accessing a single 2.5KB text file few times a minute. -------------- load averages: 0.42, 0.87, 1.71 10:45:59 23 processes: 22 idle, 1 on processor CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.2% interrupt, 99.8% idle Memory: Real: 290M/338M act/tot Free: 160M Swap: 2372K/256M used/tot PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 30693 Guest 2 0 284M 284M sleep select 0:24 0.44% smbd -------------- load averages: 0.28, 0.56, 1.35 10:50:14 23 processes: 22 idle, 1 on processor CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.2% interrupt, 99.8% idle Memory: Real: 348M/397M act/tot Free: 101M Swap: 2372K/256M used/tot PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 30693 Guest 2 0 342M 342M sleep select 0:29 1.03% smbd ------------- It can reach over 1G. # smbstatus |grep 30675 AB 30675 recepcija Mon Mar 6 18:09:06 2006 30675 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /var/shared/AB gdat/ini/G_dat.ini Mon Mar 6 18:30:50 2006 # ls -lrt /var/shared/AB/gdat/ini/G_dat.ini -rwxr--r-- 1 Guest wheel 2493 Mar 6 18:31 /var/shared/AB/gdat/ini/G_dat.ini I have a debug 10 log file as well as a kernel trace, if it is of any help. Can anyone give me a hint on where to start looking? I have tried 3.0.20b and 3.0.13 as well, and both gave me the same problem. Regards, Mitja ---------------- # cat /etc/samba/smb.conf [global] dos charset = CP852 workgroup = AAAA server string = xxxxx map to guest = Bad User passdb backend = tdbsam passwd program = /usr/bin/passwd %u log file = /var/log/smbd.%m max log size = 50 mangle prefix = 6 add user script = useradd -d /var/empty -s /sbin/nologin %u add group script = groupadd '%g' add machine script = useradd -d /var/empty -s /sbin/nologin -g machines %u logon script = logon.bat logon path = \\%L\profile\%U\profile logon drive = z: logon home = \\%L\%U domain logons = Yes domain master = Yes dns proxy = No wins support = Yes ldap ssl = no load printers = no <..snip..> [AB] path = /var/shared/AB read only = No guest ok = Yes