Quote:
Originally Posted by jcorzo21
I have an apache server that at one point starts to generate many instances to the point that my web page does not load, I have to kill all the apache processes and restart the service, to be able to solve the problems.
|
We do not know what this server is supposed to provide, what the application documentation (if any) suggests performance-wise or what causes the problem
without you posting more details.
Quote:
Originally Posted by jcorzo21
This is one of the outputs of the processes
|
No it isn't because UNIX doesn't do spaces like that. Minor nit but please post actual representations of what output system commands offer.
Quote:
Originally Posted by jcorzo21
This is the configuration of the workers module
****<IfModule mpm_worker_module>
*******StartServers 128
*******ServerLimit 256
*******MinSpareThreads 32
*******MaxSpareThreads 128
*******ThreadLimit 2048
*******ThreadsPerChild 64
*******MaxClients 4096
*******MaxRequestsPerChild 8000
****</ IfModule>
|
What are these settings based on? Application (as in HTTPd) installation defaults? Recommended by the application?
*The first reflex would be to up any values. That's nice but it's wrong. Try to set more aggressive settings: less servers, less spares, shorter TTL's, less requests-per-child. Basically less of everything, forcing the system to work harder. Before you do that establish a baseline by stress testing the application and jotting down configuration changes and the effect they have on performance running consecutive tests.