Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ff21bfca
Commit
ff21bfca
authored
Jan 24, 2012
by
Max Kanat-Alexander
Committed by
Frédéric Buclin
Jan 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 633061: Require Apache2::SizeLimit 0.96 for proper operation on Linux
r=dkl a=mkanat
parent
0284798a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Requirements.pm
Bugzilla/Install/Requirements.pm
+2
-3
mod_perl.pl
mod_perl.pl
+3
-2
No files found.
Bugzilla/Install/Requirements.pm
View file @
ff21bfca
...
...
@@ -355,9 +355,8 @@ sub OPTIONAL_MODULES {
{
package
=>
'Apache-SizeLimit'
,
module
=>
'Apache2::SizeLimit'
,
# 0.93 fixes problems on Linux and Windows, and changes the
# syntax used by SizeLimit.
version
=>
'0.93'
,
# 0.96 properly determines process size on Linux.
version
=>
'0.96'
,
feature
=>
[
'mod_perl'
],
},
);
...
...
mod_perl.pl
View file @
ff21bfca
...
...
@@ -51,8 +51,9 @@ Bugzilla::CGI->compile(qw(:cgi :push));
use
Apache2::
SizeLimit
;
# This means that every httpd child will die after processing
# a CGI if it is taking up more than 70MB of RAM all by itself.
Apache2::
SizeLimit
->
set_max_unshared_size
(
70_000
);
# a CGI if it is taking up more than 45MB of RAM all by itself,
# not counting RAM it is sharing with the other httpd processes.
Apache2::
SizeLimit
->
set_max_unshared_size
(
45_000
);
my
$cgi_path
=
Bugzilla::Constants::
bz_locations
()
->
{
'cgi_path'
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment