Mitja Muženič wrote: > Hi! > > > One of my production machines (3.8-stable) has suddenly started panicing > every couple of hours. I found out that the culprit is smbd, eating through > memory like there's no tomorrow (approx. 10Mb / minute! ). Can't figure out > what has triggered it, nothing changed on the machine lately and there is > only one active w2k client, writing a 2.5kB file every 15 seconds or so. I'd > be glad of any assistance, even pointing out any stupid mistakes I have > made, because this is driving me nuts. > > -------------- > 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 > -------------
I've run Samba a lot, but not on OpenBSD. I don't understand why your smbd process is running as Guest rather than root. This may not have anything to do with the problem, but it is different than my experience. Another obvious question, what do the Samba logs say? Ray