As another performance experiment (not content with just PHP 5.2.0) I’ve now got Apache (and hence mod-fcgid and PHP) using tcmalloc from Google’s PerfTools through the simple expedient of adding:
export LD_PRELOAD=/usr/local/google-perftools/lib/libtcmalloc.so
to /etc/default/apache2
. Again, any problems, let me know!
Thanks to Mikal for the, ahem, pointer. 🙂
Pingback: Docunext Tech Stuff » Blog Archive » Attempting to use Google’s tcmalloc, Part I
Hi Chris, I’m trying it now on Debian, and as an aside I’ve been using Apache2, mod_fcgid and PHP more and more, awesome setup. I was surprised at how much faster mod_fcgid was than mod_fastcgi. Might have been my config though.
I’m using mod_fcgid, but I went straight to that from mod_php without trying mod_fastcgi. Very happy with how it’s gone..
Hey again, just thought I’d mention I’m exploring some python experiments with mod_wsgi – cool stuff. Kind of like mod_fcgid, but with WSGI goodies like environ.
Later…