[rt-users] RT Apache memory leak. any examples of MPM settings?

Michael Neuschafer mneuschafer at nationalstoresinc.com
Fri Feb 19 13:31:53 EST 2010


My request tracker apache has been eating up memory.  I think there is a
memory leak.  Below is my prefork MPM and Worker MPM what setting do you
recommend?

 

 

# prefork MPM

# StartServers: number of server processes to start

# MinSpareServers: minimum number of server processes which are kept
spare

# MaxSpareServers: maximum number of server processes which are kept
spare

# MaxClients: maximum number of server processes allowed to start

# MaxRequestsPerChild: maximum number of requests a server process
serves

<IfModule mpm_prefork_module>

    StartServers          2

    MinSpareServers       2

    MaxSpareServers       3

    MaxClients           50

    MaxRequestsPerChild  1000

</IfModule>

 

# worker MPM

# StartServers: initial number of server processes to start

# MaxClients: maximum number of simultaneous client connections

# MinSpareThreads: minimum number of worker threads which are kept spare

# MaxSpareThreads: maximum number of worker threads which are kept spare

# ThreadsPerChild: constant number of worker threads in each server
process

# MaxRequestsPerChild: maximum number of requests a server process
serves

<IfModule mpm_worker_module>

StartServers 2

    ThreadLimit          64

</IfModule>

 

# event MPM

# StartServers: initial number of server processes to start

# MaxClients: maximum number of simultaneous client connections

# MinSpareThreads: minimum number of worker threads which are kept spare

# MaxSpareThreads: maximum number of worker threads which are kept spare

# ThreadsPerChild: constant number of worker threads in each server
process

# MaxRequestsPerChild: maximum number of requests a server process
serves

<IfModule mpm_event_module>

    StartServers          2

    MaxClients           50

    MinSpareThreads      25

    MaxSpareThreads     100 

    ThreadLimit          64

    ThreadsPerChild      25

    MaxRequestsPerChild  1500

</IfModule>

 

Michael Neuschafer

PC Support Specialist

National Stores Inc.

(310) 436 - 2150

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100219/be6aaad1/attachment.htm>


More information about the rt-users mailing list