[Socialtext-commits] SF.net SVN: socialtext: [999] branches/rug/build/templates/app/app.tt2
Brought to you by:
socialtextrocks
|
From: <pet...@us...> - 2007-01-30 21:53:23
|
Revision: 999
http://svn.sourceforge.net/socialtext/?rev=999&view=rev
Author: petdance
Date: 2007-01-30 13:52:10 -0800 (Tue, 30 Jan 2007)
Log Message:
-----------
Bump up the mod_perl2 max size
Modified Paths:
--------------
branches/rug/build/templates/app/app.tt2
Modified: branches/rug/build/templates/app/app.tt2
===================================================================
--- branches/rug/build/templates/app/app.tt2 2007-01-30 21:17:20 UTC (rev 998)
+++ branches/rug/build/templates/app/app.tt2 2007-01-30 21:52:10 UTC (rev 999)
@@ -37,10 +37,10 @@
[% END %]
[% IF config.apache_status %]
- # Optionally load B::TerseSize for Apache::Status to use
- <Perl>
- eval { require B::TerseSize };
- </Perl>
+ PerlModule B::TerseSize
+ [% IF config.webapi == 'mod_perl2' %]
+ PerlModule Devel::Symdump
+ [% END %]
# Status handlers
<Location /status>
SetHandler server-status
@@ -227,8 +227,14 @@
# determine the shared memory size for your platform.
# This sets the maximum amount of unshared memory the process can use.
+[% IF config.webapi == 'mod_perl1' %]
PerlSetVar st_max_unshared_size 200000
+[% END %]
+[% IF config.webapi == 'mod_perl2' %]
+PerlSetVar st_max_unshared_size 300000
+[% END %]
+
# This sets the minimum amount of shared memory the process must have.
# PerlSetVar st_min_shared_size 70000
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|