Closed Bug 827808 Opened 7 years ago Closed 7 years ago

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

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

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
OS: Mac OS X → All
Hardware: x86 → All
Attached patch patch v1Splinter Review
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+
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
Closed: 7 years ago
Resolution: --- → FIXED
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 → ---
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
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.