www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrik Berkhan <en...@inka.de>
Subject os-linux/1816: RLimitMEM doesn't work on Linux
Date Mon, 16 Feb 1998 18:16:12 GMT

>Number:         1816
>Category:       os-linux
>Synopsis:       RLimitMEM doesn't work on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb 16 10:20:00 PST 1998
>Originator:     enrik@inka.de
>Release:        1.2.5
Linux quechua 2.0.32 #3 Thu Dec 11 17:18:12 MET 1997 i586
Apache implements RLimitMEM by setting "RLIMIT_DATA" and "RLIMIT_VMEM"
if #defined. On Linux, only RLIMIT_DATA is #defined, but seems not to
work. But there's an equivalent to RLIMIT_VMEM called RLIMIT_AS. Using
RLIMIT_AS instead of RLIMIT_VMEM solves the problem.

--- conf.h.orig Mon Feb 16 19:03:12 1998
+++ conf.h      Mon Feb 16 18:42:56 1998
@@ -261,6 +261,7 @@
 #define HAVE_SHMGET
 typedef int rlim_t;
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message