Closed polytan02 closed 9 years ago
pecl -d preferred_state=beta install memprof that should get you what you need.
Thanks.
On my Debian, I had to do this :
apt-get install php5-dev libjudy-dev
pecl -d preferred_state=beta install memprof
Then add at the end of /etc/php5/fpm/php.ini
extension=memprof.so
And change the parameter in z-push/config.ini
In any case, what is the interest of the option ?
Enabling that option will dump a memory profiling after execution. It can help us to find memory leaks so we can use php-fpm without restarting the process after a number of executions.
That's a hard task, so if anyone is willing to help, he's very welcomed!! :laughing:
I don't have any issue to help...as long as I understand what to d and how to do it :d
Currently I don't. Would you know what and how to do it ?
That only should be used when you think that your installation is leaking memory. The steps should be like this:
Ok, this is way beyond what I can do.
Many thanks for the explainations and support :)
no memory prolier as php-pecl-memprof extension was not found
I'm on Debian 7 and Debian 8. Do you know which package to install to have php-pecl-memprof installed ?
The aim is to activate
define('LOG_MEMORY_PROFILER', true);