Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 08:54:57 -0700
From:      Fred Condo <fred@condo.chico.ca.us>
To:        "A. Lester Burke" <leburke@mindspring.com>
Cc:        "?questions@freebsd.org" <questions@FreeBSD.ORG>, netatalk-admins@umich.edu
Subject:   Re: max number of concurrent connections
Message-ID:  <20010829085457.A56668@absinthe.condo.chico.ca.us>
In-Reply-To: <3B8CE6AD.6122E248@mindspring.com>; from leburke@mindspring.com on Wed, Aug 29, 2001 at 08:57:09AM -0400
References:  <3B8CE6AD.6122E248@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010829085457.A56668>