Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Xuefer
think of using fastcgi? u can have more user->httpserver concurrent connection than http->fastcgi. 5-20 php-fastcgi is enough in some case, with thread disabled, while u can run apache2 mpm worker.

Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Rasmus Lerdorf
Brian Moon wrote: Ilia Alshanetsky wrote: Rather then terminating Apache request yourself, you can use universal Apache configuration directives that allow you to restrict memory utilization of an Apache process. Hmmm, the ones I looked at seemed to prohibit a process from growing above a ce

Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Brian Moon
Ilia Alshanetsky wrote: Rather then terminating Apache request yourself, you can use universal Apache configuration directives that allow you to restrict memory utilization of an Apache process. Hmmm, the ones I looked at seemed to prohibit a process from growing above a certain size. Can yo

Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Ilia Alshanetsky
Rather then terminating Apache request yourself, you can use universal Apache configuration directives that allow you to restrict memory utilization of an Apache process. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Rasmus Lerdorf
Brian Moon wrote: I have some questions about the Apache 2 SAPI. We had been using apache_child_terminate to control memory usage with Apache 1.3. This function is not available with the Apache 2 SAPI. Is this function just not offered in the Apache 2 API? If it is offered and there is some