Last Comment Bug 827808 - set different values for Apache2::SizeLimit->set_max_unshared_size between production and non-production instances
: set different values for Apache2::SizeLimit->set_max_unshared_size between pr...
Status: RESOLVED FIXED
:
Product: bugzilla.mozilla.org
Classification: Other
Component: General (show other bugs)
: Production
: All All
: -- normal (vote)
: ---
Assigned To: Byron Jones ‹:glob›
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-08 06:28 PST by Byron Jones ‹:glob›
Modified: 2013-01-08 20:14 PST (History)
6 users (show)
See Also:
Due Date:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
patch v1 (594 bytes, patch)
2013-01-08 06:35 PST, Byron Jones ‹:glob›
dkl: review+
Details | Diff | Review

Description Byron Jones ‹:glob› 2013-01-08 06:28:05 PST
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
Comment 1 Byron Jones ‹:glob› 2013-01-08 06:35:28 PST
Created attachment 699178 [details] [diff] [review]
patch v1
Comment 2 David Lawrence [:dkl] 2013-01-08 12:20:26 PST
Comment on attachment 699178 [details] [diff] [review]
patch v1

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

Looks good. r=dkl
Comment 3 Byron Jones ‹:glob› 2013-01-08 19:54:48 PST
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.
Comment 4 Byron Jones ‹:glob› 2013-01-08 20:10:38 PST
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.
Comment 5 Byron Jones ‹:glob› 2013-01-08 20:14:05 PST
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.

Note You need to log in before you can comment on or make changes to this bug.