Benjamin W. Smith

Benjamin W. Smith

Benjamin W. Smith  //  Sysadmin by trade, Pythonista by passion. Dad to two boys and a girl. Guitarist. I like my coffee black, just like my metal.

Jan 20 / 8:33pm

Valgrind vs. bloated Apache and mod_python

Rounnnd one....DING!

In preparation for the holiday from hell we're doing some performance tuning of our servers.

So, running valgrind on httpd with our current config yielded:

==7410== More than 100000 total errors detected.  I'm not reporting any more.
==7410== Final error counts will be inaccurate.  Go fix your program!
==7410== Rerun with --error-limit=no to disable this cutoff.  Note
==7410== that errors may occur in your program without prior warning from
==7410== Valgrind, because errors are no longer being displayed.

So I ran it with --error-limit=no and still got the same result. Anyone have any ideas on this? Google wasn't terribly friendly on this subject.

Bullocks

So now I have trimmed up the apache config, and disabled some mod_python debugging. The results aren't pretty, but hey, I got results!

I'd love it if any readers or passer-by's could point me in the right direction on the error above.

Filed under  //  apache   mod_python   valgrind