Sakis
Sakis

Reputation: 911

Why several PHP processes in Ubuntu?

System MonitorIn my Ubuntu's System Monitor i am getting 17 processes for PHP.
They are getting a big part of my cpu and memory.
Some labelled "php" and others "php7.1".
Is this normal to happen? If not what is the suggested solution?

System: Ubuntu 14.04, Apache 2.4.7 with php 7.1 as a module.

Upvotes: 0

Views: 171

Answers (1)

Mirko Steiner
Mirko Steiner

Reputation: 374

Depends on how you integrate PHP in your webserver environment.

When 20 requests are handled, which performs PHP stuff, 20 times PHP is executed.

The amount of PHP processes should not be a problem. More interesting is, which PHP application needs much cpu and memory.

Upvotes: 1

Related Questions