[rt-users] Help - memory leak problems

Ruslan U. Zakirov cubic at acronis.ru
Fri Oct 17 05:15:08 EDT 2003


Andy Coates wrote:
> Jesse Vincent (jesse at bestpractical.com) wrote:
> 
>>Do you still see this issue if you turn off Apache::DBI?
> 
> 
> I get this type of behaviour RT2 (2.0.13).  Starts off small, and then over
> time we get this type of thing:
> 
>    PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
>  26975 nobody     4  58    0  154M  135M sleep   37:47  0.00% httpd
>  26978 nobody     4  58    0  153M  133M sleep   37:45  0.00% httpd
>  27089 nobody     4  58    0  153M  133M sleep   36:23  0.00% httpd
>  27047 nobody     4  58    0  152M  134M sleep   37:22  0.00% httpd
>  26976 nobody     4  58    0  152M  135M sleep   39:52  0.00% httpd
>  26977 nobody     4  14    0  152M  132M sleep   36:03  0.07% httpd
> 
> I'd love to turn off Apache::DBI, but wouldn't that break the functionality?
Apache::DBI is wrapper over DBI which try to cache connections. 
Disabling this don't break anything.
> From what I've seen it increases in memory when the system is in use, so
> disabling the web interface so it can't read tickets kinda would stop it
> increasing.
You could also use MaxRequestsPerChild apache variable to force child 
restarts. It's workaround for this problems. On our server value is 15.
> 
> And there's the catch really - can't disable a production system and can't
> do it to a development system because its not in use like the production one.
NOTE 1: After any changes to apache's conf you should 
stop/start(restart) it.

> 
> Andy.
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm





More information about the rt-users mailing list