Apache2 has Problems with the MaxRequestWorkers Limit. i changed it in /etc/apache2/mods-available/mpm_prefork.conf to 5000 andn make an Restart of Apache2 nothing changed
When the Limit (2003 Workers) is reached nothing is available.
How can i check which Website or anything else need so many workers?
That’s too many, and probably will just make the problem much worse.
Your app is performing badly. Has nothing to do with Apache.
You can look at top or htop or ps aux to see who owns lots of processes and what they’re doing. In most configurations, the web app processes will be owned by the domain.
Unless you’re using mod_php (which you should not be), the processes running your applications will not be owned by www-data. Keep looking (or fix the fact that you’re running mod_php).
If you won’t look at what I told you to look at, I can’t help you. You need to figure out which application is holding connections open for an unreasonable amount of time. I can’t do that for you.
Look at your process list. If you are using any reasonable execution mode (not mod_php), you will see processes owned by one or more of your domains. The one that has a lot of processes is the one with the problem app.
I don’t know what else to tell you. That’s how you troubleshoot this, if you won’t do it, I can’t help.
What he’s telling you is to look at all the processes you have running to see which one or ones is using the most resources. There are a couple of ways to do that.
There’s actually a panel in Webmin that will list the processes running on your server, how much memory they’re using, how much processor, etc.
You can also go to your terminal and type: ps aux
That will give you a list of all the processes running on the system and is part of what Joe was telling you to look at. It looks like this:
You’ll be looking for an application using up lots of system resources and what user those processes belong to. You’ll probably find, as Joe mentioned, that one person/user has a ton of apps taking up a ton of resources.
I undestand this. But there is nothing else running at this moment except apache. Same behaviour. Maybe i purge apache and install it again. And look what happens.