php fpm memory usage

microz

Verified User
Joined
Jun 10, 2009
Messages
124
Location
Santiago, Chile
Hello,

I I have installed

Code:
Cloudlinux 6.x
php 5.4
php-fpm
nginx_apache
---
16G Ram

In some occassions php-fpm logs returns error 'cannot allocate memory' (instead resourse limit usage of CL)

Code:
ERROR: fork() failed: Cannot allocate memory (12)

On php-fpm.conf, it's good that each user has configured pm.max_children 50, assuming that each php-fpm process uses 15-20M. should reduce to shared hosting?

---
Solved
Cache memory is the problem, clean cache solve problem.

Rgds
 
Last edited:
Back
Top