The default bug view has changed. See this FAQ.

set different values for Apache2::SizeLimit->set_max_unshared_size between production and non-production instances

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
General
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: glob, Assigned: glob)

Tracking

Production

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
given the differences in installed ram between production and the various staging/development instances, we should check urlbase in mod_perl.pl and set the max_unshared_size accordingly.

i'm thinking of:
  production: 1_600_000 (current value)
  otherwise :   100_000
(Assignee)

Updated

4 years ago
OS: Mac OS X → All
Hardware: x86 → All
(Assignee)

Comment 1

4 years ago
Created attachment 699178 [details] [diff] [review]
patch v1
Attachment #699178 - Flags: review?(dkl)
Comment on attachment 699178 [details] [diff] [review]
patch v1

Review of attachment 699178 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good. r=dkl
Attachment #699178 - Flags: review?(dkl) → review+
(Assignee)

Comment 3

4 years ago
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/
modified mod_perl.pl
Committed revision 8435.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0-dev/
modified mod_perl.pl
Committed revision 8007.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified mod_perl.pl
Committed revision 8484.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2-dev/
modified mod_perl.pl
Committed revision 8436.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

4 years ago
100_000 looked fine on my development system, but on bugzilla-dev.allizom.org:

[Tue Jan  8 20:04:43 2013] (9925) Apache2::SizeLimit httpd process too big, exiting at SIZE=549968 KB SHARE=4704 KB UNSHARED=545264 REQUESTS=2 LIFETIME=0 seconds

so each process is being terminated after a 2 requests, which isn't good.

i'm going to bump up to 600_000.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 5

4 years ago
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/
modified mod_perl.pl
Committed revision 8436.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0-dev/
modified mod_perl.pl
Committed revision 8008.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified mod_perl.pl
Committed revision 8485.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2-dev/
modified mod_perl.pl
Committed revision 8437.
Status: REOPENED → RESOLVED
Last Resolved: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.