www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Sivachenko <d...@chg.ru>
Subject suexec/5260: suexec'd scripts don't honour cputime limit
Date Fri, 05 Nov 1999 14:25:09 GMT

>Number:         5260
>Category:       suexec
>Synopsis:       suexec'd scripts don't honour cputime limit
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov  5 06:30:01 PST 1999
>Originator:     dima@chg.ru
>Release:        1.3.9
FreeBSD-3.3-RELEASE, apache-1.3.9
In the operating system I use (FreeBSD), there is possibility to
restrict user programs from consuming too much cpu time.
It can be accomplished by setting 'cputime' variable in
/etc/login.conf.  But if suexec runs program as a particular
user, this program can consume unlimited cpu resources, regardless
what is written in /etc/login.conf

get current settings from login.conf and call setrlimit just
after suexec starts.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message