Subject: Re: smbd dies under heavy transfers
To: Gilles Gravier <>
From: Manuel Bouyer <>
List: netbsd-users
Date: 04/16/2007 20:56:19
On Mon, Apr 16, 2007 at 08:47:03PM +0200, Gilles Gravier wrote:
> Thanks, Manuel!
> Hum. OK. I guess I understand that.
> But when I log in as root and type "ulimit" I get "unlimited".

try 'ulimit -a'. By default, the limit on file size is displayed.

> So how do I assure that the smbd daemon (launched from the 
> /etc/rc.d/samba script) gets unlimited memory?

I don't think there's other ways than adding
ulimit -d unlimited
in /etc/rc.d/smbd

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference