tags 400118 + patch
quit

On Mon, Dec 18, 2006 at 11:52:13AM -0300, Alvaro Herrera wrote:
> Gerrit Pape wrote:
> > Does it mean that it now works with -m3000000 (3MB) on your system, or
> > only with -m30000000 (30MB)?  If the latter, can you please check with
> > -m4000000 (4MB)?  I'd need to update the default service configuration
> > regarding the memory limit then,  so that the default install actually
> > works on amd64.
> 
> It doesn't work with 3 MB -- doing binary search I determined the
> success point to be somewhere between 6000000 and 6500000.  (The former
> fails, the latter works).

Thank you, the patch below should fix the default install then, I'll
apply it soon.

Regards, Gerrit.
Index: debian/changelog
===================================================================
RCS file: /cvs/twoftpd/debian/changelog,v
retrieving revision 1.33
diff -u -r1.33 changelog
--- debian/changelog    17 Nov 2006 20:12:58 -0000      1.33
+++ debian/changelog    18 Dec 2006 16:20:54 -0000
@@ -1,3 +1,11 @@
+twoftpd (1.21-4) unstable; urgency=low
+
+  * debian/etc/twoftpd/run, debian/etc/twoftpd-anon/run: raise memory limit
+    for services from 3MB to 7MB (amd64 requires at least 6.5MB, thx Alvaro
+    Herrera; closes: #400118).
+
+ -- Gerrit Pape <[EMAIL PROTECTED]>  Mon, 18 Dec 2006 16:22:59 +0000
+
 twoftpd (1.21-3) unstable; urgency=medium
 
   * debian/twoftpd-run.postrm: check for deluser being available, if not,
Index: debian/etc/twoftpd/run
===================================================================
RCS file: /cvs/twoftpd/debian/etc/twoftpd/run,v
retrieving revision 1.2
diff -u -r1.2 run
--- debian/etc/twoftpd/run      29 Dec 2003 15:35:45 -0000      1.2
+++ debian/etc/twoftpd/run      18 Dec 2006 16:20:54 -0000
@@ -3,5 +3,5 @@
 umask 022
 exec \
 tcpsvd -v -llocalhost 0 21 \
-  chpst -m3000000 -e./env \
+  chpst -m7000000 -e./env \
     twoftpd-auth cvm-unix twoftpd-xfer
Index: debian/etc/twoftpd-anon/run
===================================================================
RCS file: /cvs/twoftpd/debian/etc/twoftpd-anon/run,v
retrieving revision 1.2
diff -u -r1.2 run
--- debian/etc/twoftpd-anon/run 29 Dec 2003 15:35:45 -0000      1.2
+++ debian/etc/twoftpd-anon/run 18 Dec 2006 16:20:54 -0000
@@ -3,5 +3,5 @@
 umask 022
 exec \
 tcpsvd -v -llocalhost 0 21 \
-  chpst -m3000000 -e./env \
+  chpst -m7000000 -e./env \
     twoftpd-anon

Reply via email to