You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/08/22 12:51:48 UTC

DO NOT REPLY [Bug 47723] New: suEXEC and low RLimitMem gives "crit: invalid uid" failures

https://issues.apache.org/bugzilla/show_bug.cgi?id=47723

           Summary: suEXEC and low RLimitMem gives "crit: invalid uid"
                    failures
           Product: Apache httpd-2
           Version: 2.2.13
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_suexec
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: asf-bugzilla@bang.meep.org


--- Comment #0 from the hatter <as...@bang.meep.org> 2009-08-22 03:51:45 PDT ---
Using the same httpd.conf and file system from a httpd-2.2.9 install under an
old 32-bit slackware and moving to httpd-2.2.12 under slackware64, VHosts with
"RLimitMem 10000000 15000000" stopped running CGIs, each CGI issuing
"[2009-08-22 09:48:46]: crit: invalid uid: (80)" to suexec_log  VHosts with a
higher RLimitMem function as normal.  (Filed under 2.2.13 because it does the
same under the current release)

For clarity, 80 is a valid UID, adding:

else {log_err("uid ok - (%d)\n",uid);}

after the clause produced "[2009-08-22 09:02:22]: uid ok - (80)" for VHosts
with a higher RLimitCPU set, and ran the CGIs as expected

Removing exit(112) from support/suexec.c and reinstalling didn't stop the CGIs
from failing.  No errors in any files pointed to a process being reaped due to
memory constraints, under the shipped code or my debugging modifications.

Increasing to RLimitMem 50000000 75000000 seems to work fine for now.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org