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
8c54443d
Commit
8c54443d
authored
Jan 27, 2016
by
Dylan Hardison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 731589 - Move mod_perl's max_unshared size from mod_perl.pl to localconfig
r=dkl,a=dylan
parent
a8512cea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
Localconfig.pm
Bugzilla/Install/Localconfig.pm
+4
-0
mod_perl.pl
mod_perl.pl
+1
-1
strings.txt.pl
template/en/default/setup/strings.txt.pl
+4
-0
No files found.
Bugzilla/Install/Localconfig.pm
View file @
8c54443d
...
@@ -132,6 +132,10 @@ use constant LOCALCONFIG_VARS => (
...
@@ -132,6 +132,10 @@ use constant LOCALCONFIG_VARS => (
# is larger than anybody would ever be able to brute-force.
# is larger than anybody would ever be able to brute-force.
default
=>
sub
{
generate_random_password
(
64
)
},
default
=>
sub
{
generate_random_password
(
64
)
},
},
},
{
name
=>
'apache_size_limit'
,
default
=>
250000
,
},
);
);
...
...
mod_perl.pl
View file @
8c54443d
...
@@ -55,7 +55,7 @@ use Apache2::SizeLimit;
...
@@ -55,7 +55,7 @@ use Apache2::SizeLimit;
# This means that every httpd child will die after processing
# This means that every httpd child will die after processing
# a CGI if it is taking up more than 45MB of RAM all by itself,
# 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.
# not counting RAM it is sharing with the other httpd processes.
Apache2::
SizeLimit
->
set_max_unshared_size
(
45_000
);
Apache2::
SizeLimit
->
set_max_unshared_size
(
Bugzilla
->
localconfig
->
{
apache_size_limit
}
);
my
$cgi_path
=
Bugzilla::Constants::
bz_locations
()
->
{
'cgi_path'
};
my
$cgi_path
=
Bugzilla::Constants::
bz_locations
()
->
{
'cgi_path'
};
...
...
template/en/default/setup/strings.txt.pl
View file @
8c54443d
...
@@ -305,6 +305,10 @@ and you cannot set this up any other way. YOU HAVE BEEN WARNED!
...
@@ -305,6 +305,10 @@ and you cannot set this up any other way. YOU HAVE BEEN WARNED!
If
you
set
this
to
anything
other
than
""
,
you
will
need
to
run
checksetup
.
pl
If
you
set
this
to
anything
other
than
""
,
you
will
need
to
run
checksetup
.
pl
as
##root## or as a user who is a member of the specified group.
as
##root## or as a user who is a member of the specified group.
END
END
localconfig_apache_size_limit
=>
<<
EOT
,
This
is
the
max
amount
of
unshared
memory
the
apache
process
is
allowed
to
use
before
Apache::
SizeLimit
kills
it
.
This
is
only
applicable
when
run
under
mod_perl
.
EOT
max_allowed_packet
=>
<<
EOT
,
max_allowed_packet
=>
<<
EOT
,
WARNING:
You
need
to
set
the
max_allowed_packet
parameter
in
your
MySQL
WARNING:
You
need
to
set
the
max_allowed_packet
parameter
in
your
MySQL
configuration
to
at
least
##needed##. Currently it is set to ##current##.
configuration
to
at
least
##needed##. Currently it is set to ##current##.
...
...
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