From owner-freebsd-questions Wed Aug 29 8:55:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from absinthe2.dyndns.org (adsl-63-192-100-82.dsl.chic01.pacbell.net [63.192.100.82]) by hub.freebsd.org (Postfix) with ESMTP id A961137B407 for ; Wed, 29 Aug 2001 08:55:07 -0700 (PDT) (envelope-from fred@absinthe2.dyndns.org) Received: (from fred@localhost) by absinthe2.dyndns.org (8.11.3/8.11.3) id f7TFsw856807; Wed, 29 Aug 2001 08:54:58 -0700 (PDT) (envelope-from fred) Date: Wed, 29 Aug 2001 08:54:57 -0700 From: Fred Condo To: "A. Lester Burke" Cc: "?questions@freebsd.org" , netatalk-admins@umich.edu Subject: Re: max number of concurrent connections Message-ID: <20010829085457.A56668@absinthe.condo.chico.ca.us> Mail-Followup-To: "A. Lester Burke" , "?questions@freebsd.org" , netatalk-admins@umich.edu References: <3B8CE6AD.6122E248@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B8CE6AD.6122E248@mindspring.com>; from leburke@mindspring.com on Wed, Aug 29, 2001 at 08:57:09AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 29, 2001 at 08:57:09AM -0400, A. Lester Burke wrote: > Under the Linux configuration of Netatalk there is a file called config > that allows for the setting of the maximum number of clients that can > connect at one time. > > Where is the equivalent parameter set in FreeBSD 4.3. Assuming you have used the ports mechanism to install netatalk, apply this patch to /usr/local/etc/rc.d/netatalk.sh: --- netatalk.sh.old Wed Aug 29 08:47:50 2001 +++ /usr/local/etc/rc.d/netatalk.sh Wed Aug 29 08:48:34 2001 @@ -19,7 +19,8 @@ /usr/local/bin/nbprgstr -p 4 ${HOSTNAME}:netatalk & /usr/local/sbin/papd /usr/local/sbin/afpd -s /usr/local/etc/AppleVolumes.system \ - -f /usr/local/etc/AppleVolumes.default + -f /usr/local/etc/AppleVolumes.default \ + -c 36 ;; stop) killall afpd Next, do these commands: # /usr/local/etc/rc.d/netatalk.sh stop # /usr/local/etc/rc.d/netatalk.sh start The number after -c is the maximum number of connections, so adjust it to suit your requirements. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message