On Wed, Jan 13, 2010 at 08:04:34PM +0100, Stefan Fritsch wrote: > I would be interested if anyone notices an improvement after > installing the openssl 0.9.8g-15+lenny6 packages from DSA-1970-1. > (Don't forget to restart Apache)
After installing all the updates for lenny still the same thing happens: root 2214 0.4 1.9 198572 10108 ? Ss 13:10 0:00 /usr/sbin/apach www-data 2220 7.3 5.8 223840 30064 ? S 13:10 0:01 \_ /usr/sbin/a www-data 2221 0.0 1.0 198572 5332 ? S 13:10 0:00 \_ /usr/sbin/a www-data 2222 0.0 1.0 198572 5328 ? S 13:10 0:00 \_ /usr/sbin/a www-data 2223 0.0 1.0 198572 5328 ? S 13:10 0:00 \_ /usr/sbin/a www-data 2224 0.0 1.0 198572 5328 ? S 13:10 0:00 \_ /usr/sbin/a www-data 2226 0.0 1.0 198572 5328 ? S 13:10 0:00 \_ /usr/sbin/a Apache child consumes 30MB of memory after accessing a PHP5 page (Horde/IMP). It looks like this has to do with memory allocations from PHP because if I add this line to /etc/apache2/envvars export ZEND_MM_MEM_TYPE=mmap_anon memory usage goes down to around 10MB per child: root 2264 0.4 1.9 198552 10104 ? Ss 13:11 0:00 /usr/sbin/apach www-data 2270 8.4 2.1 205232 11164 ? S 13:11 0:02 \_ /usr/sbin/a www-data 2271 1.0 1.7 200272 9084 ? S 13:11 0:00 \_ /usr/sbin/a www-data 2272 0.0 1.0 198552 5332 ? S 13:11 0:00 \_ /usr/sbin/a www-data 2273 0.0 1.0 198552 5328 ? S 13:11 0:00 \_ /usr/sbin/a www-data 2274 0.0 1.0 198552 5328 ? S 13:11 0:00 \_ /usr/sbin/a www-data 2276 0.0 1.0 198552 5328 ? S 13:11 0:00 \_ /usr/sbin/a www-data 2280 0.0 1.0 198552 5328 ? S 13:12 0:00 \_ /usr/sbin/a Upgrading the whole machine to sid didn't help, memory usage stays around 30MB per child. Note that I tested this on amd64, i386 might not have this problem. -- Valentin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org