Score:0

When is a new PHP-CGI process created?

in flag

enter image description here

My production server has been having a OOM issue. Upon investigating I find that a major memory eater is PHP-CGI processes. Each of my website, be it Joomla or Wordpress, is having 3 - 6 PHP-CGI processes and each of the processes is taking around 80MB memory.

So I created a brand new test server and transferred one of the simplest Wordpress sites over. This site has only a few common plugins like Astra and Elementor and no modification at all, besides I haven't pointed the A record to the new server, meaning there won't be any visitors even spiders. And I got the screenshot above. Even without any visitor, this new site(kcmc) has created 3 php-cgi processes. Meanwhile, I have checked another server of mine which hosts only 1 production Joomla site. On this server the website only creates 1 php-cgi process.

So this raises my question:

When and why is a php-cgi process created?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.