Memory leak on Redhat 9

FogBugz 4 on Redhat 9 has been shown to leak memory in some situations when used with the MySQL 4.1 client. If you have noticed that your httpd processes leak memory (that is, their memory consumption does not stop increasing after serving several FogBugz requests), then it is possible that there is an incompatibility between the statically linked fogutil.redhat.so and your build of PHP and MySQL.

In order to resolve this, find the fogutil.gentoo.so in your fogbugz/Accessories directory, make sure that its dependencies are met (see below for instructions), and replace the fogutil.so in your PHP extensions directory with that shared object. Then restart Apache, and see if the problem persists.

# cd (your FogBugz dir)/Accessories/

# ldd fogutil.gentoo.so

Does everything show up as resolved? If so, then great. If not, find and install RPMs of the missing shared objects.

#cp (your extension dir)/fogutil.so  (your extension dir)/fogutil.so.bak

# cp (your fogbugz dir)/fogutil.gentoo.so  (your extension dir)/fogutil.so

# apachectl restart

If you have any difficulties, email Fog Creek for assistance.