You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "William C. Jones (Bill)" <wc...@fccj.edu> on 2002/10/04 18:21:22 UTC
[users@httpd] Bb Apache Leaking
Hi All :)
I would like to get comments and suggestions about:
Timeout 600
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 10
MinSpareServers 30
MaxSpareServers 50
StartServers 30
MaxClients 125
MaxRequestsPerChild 10000
I have processes growing from 18/20MB to over 80MB (each) in
less than 1 hour. I would like to know the best settings to
allow the system to have the highest request response
time and yet kill these off and get new processes?
I had 2 CPUs and 2GB RAM two months ago - I now have 4 CPUs
and 6GB RAM (as of an hour ago.)
What can I do to determine exactly what is leaking and how
to correct it?
I am on Solaris - and can build a binary that doesn't leak -
but am not allowed (by contract) to use it simply because
of support issues with Blackboard. So, I would like to
better identify the issue cause the leak so that I can
help Bb correct this problem.
???
-Sx-
_________________________________________________________
"Well, in general, the thing I don't like about other
computer languages is that they're not Perl." -Larry Wall
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Bb Apache Leaking
Posted by Jeff Beard <je...@cyberxape.com>.
I would look at the mod_perl programs you are running.
If you need a temporary work-around, I suggest dropping
MaRequestsPerChild to 1000. Possibly less.
Some things that I've found consistently cause mod_perl
processes to balloon are restarts/graceful restarts rather
than stop/start. Large data sets being being processed in
mod_perl. Inefficient use of shared memory.
I have not seen bloat associated with the Apache/Weblogic
bridge.
--Jeff
On Fri, 4 Oct 2002, William C. (Bill) Jones wrote:
> On Friday, October 4, 2002, at 12:36 PM, Dave Stahr wrote:
>
> >> I have processes growing from 18/20MB to over 80MB (each) in
> >> less than 1 hour. I would like to know the best settings to
> >
> > Are you running any modules like mod_perl, etc? If so, are you running
> > any applications which are using those modules? In my experience, any
> > leaking has been done by my applications, not by apache itself.
> >
>
> Of course :) I didn't intend to imply Apache itself is the problem.
> Below is a little more detail - I have intentionally left out anything
> not relevant...
>
>
> Timeout 600
> KeepAlive On
> MaxKeepAliveRequests 1000
> KeepAliveTimeout 10
> MinSpareServers 30
> MaxSpareServers 50
> StartServers 30
> MaxClients 125
> MaxRequestsPerChild 10000
>
> <IfDefine weblogic>
> LoadModule weblogic_module libexec/mod_wl.so
> AddModule mod_weblogic.c
>
> <IfModule mod_weblogic.c>
> WeblogicHost @@PORTALHOST@@
> WeblogicPort @@PORTALPORT@@
> ConnectTimeoutSecs 1800
> ConnectRetrySecs 2
> PathTrim /webapps
> </IfModule>
> <Location ~ "/(portal|webapps)">
> SetHandler weblogic-handler
> </Location>
> </IfDefine>
>
> #ExtendedStatus Off
> DefaultType application/octet-stream
> HostnameLookups Off
>
> #CustomLog "|bin/rotatelogs /var/logs/logfile 86400" common
> TransferLog "|/path/to/rotatelogs /path/to/logs/ 86400"
>
> CustomLog /path/to/access_log combined
>
>
> # Setup for Modperl
> PerlRequire /path/to/lib/startup.pl
> PerlModule Apache::DBI
>
> PerlFreshRestart Off
> PerlTransHandler Apache::CISession
>
> <Location ~ "^/bin.*\.pl">
> SetHandler perl-script
> PerlHandler Apache::Registry
> PerlSetupEnv On
> Options ExecCGI
> </Location>
> <Location ~ "/bin\/mailspinner.cgi">
> Options ExecCGI
> </Location>
>
>
>
> Near as I can tell neither weblogic nor mailspinner
> are being used.
>
> The Backend database is MySQL.
>
> ???
> -Sx-
> _________________________________________________________
> "Well, in general, the thing I don't like about other
> computer languages is that they're not Perl." -Larry Wall
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
Jeff Beard | Systems Architecture, Programming and Management
Contact | jeff at cyberxape dot com, 303.443.9339
Location | In front of the computer, Boulder, CO, USA
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Bb Apache Leaking
Posted by "William C. Jones (Bill)" <wc...@fccj.edu>.
On Friday, October 4, 2002, at 12:36 PM, Dave Stahr wrote:
>> I have processes growing from 18/20MB to over 80MB (each) in
>> less than 1 hour. I would like to know the best settings to
>
> Are you running any modules like mod_perl, etc? If so, are you running
> any applications which are using those modules? In my experience, any
> leaking has been done by my applications, not by apache itself.
>
Of course :) I didn't intend to imply Apache itself is the problem.
Below is a little more detail - I have intentionally left out anything
not relevant...
Timeout 600
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 10
MinSpareServers 30
MaxSpareServers 50
StartServers 30
MaxClients 125
MaxRequestsPerChild 10000
<IfDefine weblogic>
LoadModule weblogic_module libexec/mod_wl.so
AddModule mod_weblogic.c
<IfModule mod_weblogic.c>
WeblogicHost @@PORTALHOST@@
WeblogicPort @@PORTALPORT@@
ConnectTimeoutSecs 1800
ConnectRetrySecs 2
PathTrim /webapps
</IfModule>
<Location ~ "/(portal|webapps)">
SetHandler weblogic-handler
</Location>
</IfDefine>
#ExtendedStatus Off
DefaultType application/octet-stream
HostnameLookups Off
#CustomLog "|bin/rotatelogs /var/logs/logfile 86400" common
TransferLog "|/path/to/rotatelogs /path/to/logs/ 86400"
CustomLog /path/to/access_log combined
# Setup for Modperl
PerlRequire /path/to/lib/startup.pl
PerlModule Apache::DBI
PerlFreshRestart Off
PerlTransHandler Apache::CISession
<Location ~ "^/bin.*\.pl">
SetHandler perl-script
PerlHandler Apache::Registry
PerlSetupEnv On
Options ExecCGI
</Location>
<Location ~ "/bin\/mailspinner.cgi">
Options ExecCGI
</Location>
Near as I can tell neither weblogic nor mailspinner
are being used.
The Backend database is MySQL.
???
-Sx-
_________________________________________________________
"Well, in general, the thing I don't like about other
computer languages is that they're not Perl." -Larry Wall
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Bb Apache Leaking
Posted by Dave Stahr <da...@prairiesys.com>.
> I have processes growing from 18/20MB to over 80MB (each) in
> less than 1 hour. I would like to know the best settings to
Are you running any modules like mod_perl, etc? If so, are you running
any applications which are using those modules? In my experience, any
leaking has been done by my applications, not by apache itself.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org