[Samba] runaway samba, non-responsive daemons
Joshua Weage
weage98 at yahoo.com
Wed Sep 11 14:30:01 GMT 2002
I just experienced something very similar yesterday and today on HP-UX.
Samba brought my 8 CPU, 8 GB ram server to a halt.
I have added in the 'max smbd processes' parameter into my config file
to hopefully prevent it in the future.
My guess as to the problem: occasionally when my server is very loaded,
it has NFS timeouts. Could this cause samba to hang if it is serving
an NFS mounted directory?
I have changed the path in the shares so it points to the real disk,
not an NFS mount, but I don't know if this has fixed the problem.
Josh
--- Gary Browning <gary at iusb.edu> wrote:
>
> Hello,
>
> I am wondering if someone may have experienced this or might know
> what is
> happening. First, let me lay out the ground work so you understand
> our
> environment. We have several large servers (dual processors, gig of
> ram,
> 300+gig drive space) that are running redhat versions 7.0-7.3. Some
> of the
> severs are running samba 2.2.5, 2.2.5 (with spoolss patches), 2.2.4.
> We
> have a samba PDC and BDC.
>
> We have used samba for a number of years without problems. We have
> several
> hundred machines that used to be able to get their personal drive
> letter
> mapped from a single samba server. Granted, everything was flawless
> under
> samba 2.0.x and actually, everything worked under samba 2.2.x until
> we
> introduced Windows XP into the blend.. or at least that's what I
> believe
> where things started to go wrong.
>
> Under windows XP, authentication works flawlessly; however, at times
> the
> mapping of drive letters hangs. On the server end we see several
> smbd
> processes that are owned by root. They eventually accumulate to over
> 1000
> causing the number of open files on the server to climb. Since the
> samba
> daemons are not responsive we try to shutdown samba using the init.d
> script, which fails. A kill -HUP fails and it requires a hard kill
> to stop
> the smbd daemons so that we can refire it up. Once samba is running
> again,
> all it well until another high traffic time. We have tried leaving
> samba
> alone; however, it does not recover which is why is we to restart
> it. Also, our windows xp clients hang for minute waiting for the
> mappings
> to time out.
>
>
=====
--
-- <http://origin.me.gatech.edu/~weage> --
-- <http://members.xoom.com/joshua_weage> --
-- <http://weage.freeservers.com/> --
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
More information about the samba
mailing list