0
votes
0answers
52 views

What is using all of my memory on Ubuntu 12.04?

I keep getting alarms from Rackspace telling me that my memory usage is too high, but I can't seem to find the culprit. I ran top SHIFT + M to see top output sorted by memory, and this is what I get ...
0
votes
0answers
47 views

Odd Suhosin memory alerts

I am getting a lot of odd suhosin alerts in my syslog. The following are example entries: Jun 9 08:46:11 suhosin[9764]: ALERT - script tried to increase memory_limit to 2145386496 bytes which is ...
0
votes
1answer
194 views

php-fpm taking too much memory

I am using Nginx+PHP-FPM with php 5.3.6 and it was working well for weeks. A few days before I found out that most of the PHP-FPM children take 3MB but a few children are taking 700MB. The web ...
1
vote
1answer
275 views

FcgidMaxProcesses not respected

I'm using FastCGI (fcgi). I'm having a problem where more PHP processes are being spawned than what should be, which is eating up my RAM. I'm using WHM, and so have set the following PHP settings via ...
2
votes
1answer
2k views

How to free PHP-FPM memory?

There are several discussions complaining high memory usage of PHP-FPM, without any practical approach to overcome. As I explored the problem with numerous tests, the problem is related to the age of ...
8
votes
1answer
1k views

PHP on command line displays “Out of Memory”, no file name, line number or memory value

I originally posted this at http://stackoverflow.com/questions/9665189/php-on-command-line-displays-out-of-memory but was advised to post here instead. This is not the normal fatal error when you run ...
0
votes
1answer
1k views

PHP Cron - Max Allocation?

I'm getting email errors from a cron, on Ubuntu, that lives at: /etc/cron.d/php5 I didn't install that cron, so I'm guessing it is installed with PHP. Its contents are as follows: # ...
1
vote
1answer
5k views

How to limit PHP-FPM memory usage?

I'm running an Ubuntu 10.04 nginx webserver with PHP-FPM. It has 512MB of total memory (256MB swap). After starting the PHP-FPM process (/etc/init.d/php5-fpm start), it uses an acceptable ~100MB for ...
1
vote
2answers
1k views

Ever increasing mem usage by php-fpm?

It seems php-fpm is allocating more and more memory, although peaks and dips in amount of requests. Couldn't post more than one image, so I put them here. As you can see in the uri of the pictures, ...
0
votes
1answer
197 views

PHP virtual memory usage

On my local dev machine (Ubuntu 10.10) a web application seems to consume approximately 10Mb of memory (according to top). This is Apache2, pre fork, php5.3 On my server which is the same basic setup ...
1
vote
1answer
205 views

Will private dirty RSS used by mod_php ever be made available to other processes?

I've got PHP processes running that occasionally have to briefly use large amounts of RAM. After PHP uses the large amount of RAM, the httpd process seems to keep the same private dirty RSS ...
0
votes
1answer
203 views

PHP out of memory error with but no line number given for the error

I've written a small survey app for a client, nothing particularly complicated, that asks some questions of a client and then records the answers in a database. It works perfectly on my computer, a ...
2
votes
1answer
261 views

Significant differences between PHPs memory_get_peak_usage() on Windows vs. OS X

Can anyone explain why the same PHP application running on a Windows server reports memory_get_peak_usage() as ~3.25mb, but on OS X gives ~19.5mb? Obviously one is very wrong, but I don't know which ...