I understand that there is a comparison topic between the two modules but this is different.I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found Apache 2.4 'httpd' child processes are using approximately 80MB RSS, while on their test server, a similar Apache 2.4 build only uses approximately 3MB RSS per Apache child process.After discussing the issue for a while, they suggested switching to the Worker MPM in Apache 2.4 rather than using Prefork.I searched for what they said, and found that Worker MPM use a less memory but it is not thread safe. Some other topics on websites tell that Worker will not work with php applications or mod_php. I'm not sure if this is correct or not.I'm too confused what should I do? I have php scripts running on my accounts and don't want to interrupt any of them or get data corrupted.What are your suggestions guys? Does switching to Worker MPM will solve the problem of running out of memory without interrupting php applications? Is there any solution regarding the Apache usage? As 80MB RSS is too high comparing to the 3MB RSS.
Worker MPM or Prefork?
centos;apache httpd;memory;resources