-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: netatalk
Version: 2.0.3-11
Severity: wishlist
Tags: patch

Hello,

we are running a AFP server for many users which are connected all the time.

1) we were not able to get more than ~ 90 connections without cnid_dbd,
this should be documented in README.Debian.

2) after we added cnid_dbd we get something around 120 connections
(which was to less for us) - this comes because of the hardcoded limit
MAXSRV in cnid_dbd of 128, after we set the limit to 512 we were able to
get more than 400 stable connections.

Could you please apply the attached patch?
It would also very nice if there would be a way how it could enter Lenny
still - but anyway the documentation should go in..

The Red Hat and Fedoraproject has this patch also applied.

Thanks.

- --
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi

E-Mail: [EMAIL PROTECTED]

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkk08mAACgkQ2XA5inpabMdAHwCeMsaad7+Wqp/cxWfut0ztMmta
BqEAnjLiyczlpzstUkfXoR1SQdan7jqA
=Q/BU
-----END PGP SIGNATURE-----
diff -Naur netatalk-2.0.3.orig/etc/cnid_dbd/cnid_metad.c netatalk-2.0.3/etc/cnid_dbd/cnid_metad.c
--- netatalk-2.0.3.orig/etc/cnid_dbd/cnid_metad.c	2008-12-01 15:06:33.000000000 +0100
+++ netatalk-2.0.3/etc/cnid_dbd/cnid_metad.c	2008-12-01 15:07:03.000000000 +0100
@@ -94,7 +94,7 @@
 static int rqstfd;
 volatile sig_atomic_t alarmed = 0;
 
-#define MAXSRV 128
+#define MAXSRV 512
 
 #define MAXSPAWN   3                   /* Max times respawned in.. */
 

Attachment: 230_maxsrv_increase.patch.sig
Description: Binary data

Reply via email to