Subject: Re: max number of concurrent connections
From: Fred Condo (fred@condo.chico.ca.us)
Date: Wed Aug 29 2001 - 11:54:57 EDT
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.
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:50 EDT