qmail-rspawn qmail-lspawn memory leak

Having trouble with qmail-rspawn (or qmail-lspawn) leaking memory? One problem is with glibc2.3 (redhat-4) and possibly glibc2.4's implementation of vfork where there is an execvp memory leak in a vfork context described here and here. A workaround if you can't get the patch for your system: qmail is stable compiling statically on a patched system (glibc-2.5.90-15 rawhide or older glibc2.2 system) just add -static to conf-ld and run it on the target system.