Search found 5 matches

by Ryan_G
06 Nov 2017, 10:51
Forum: General Discussion (csf)
Topic: Excessive Resource Usage - Virtual Memory Size - php-cgi
Replies: 7
Views: 9436

Re: Excessive Resource Usage - Virtual Memory Size - php-cgi

Does the total memory used by the process as taken from /proc/PID/status from the VmSize entry include memory used by MySQL and CURL or is it just memory used by PHP? (Note executable is shown as php-cgi)
by Ryan_G
06 Nov 2017, 09:25
Forum: General Discussion (csf)
Topic: Excessive Resource Usage - Virtual Memory Size - php-cgi
Replies: 7
Views: 9436

Re: Excessive Resource Usage - Virtual Memory Size - php-cgi

I will reword the question in my last post to make it clearer in the hope I can get an answer here before having to contact support: In the warning email the executable is php-cgi and the script is a script written in PHP which makes requests to a MySQL database and uses CURL to make http requests -...
by Ryan_G
03 Nov 2017, 10:36
Forum: General Discussion (csf)
Topic: Excessive Resource Usage - Virtual Memory Size - php-cgi
Replies: 7
Views: 9436

Re: Excessive Resource Usage - Virtual Memory Size - php-cgi

Thanks for the information. The PHP memory_get_peak_usage(true) reports the memory that is currently allocated to the PHP script (so I think this should be Virtual Memory - however it is only memory allocated in PHP's internal memory manager i.e. memory directly used by PHP variables etc). So if CSF...
by Ryan_G
03 Nov 2017, 09:55
Forum: General Discussion (csf)
Topic: Excessive Resource Usage - Virtual Memory Size - php-cgi
Replies: 7
Views: 9436

Excessive Resource Usage - Virtual Memory Size - php-cgi

I am getting excessive resource usage emails for a script that runs on PHP using cron. Most of the time there are no warnings (even with the USERMEM threshold set as low as 10MB) but at least once per day I get emails for half an hour or so almost every time the script runs - these usually show Virt...