Hello, I try to recover my Apache2 server. I am using WordPress and after the download of some plugins, I had my server die.
It was an error related to MySQL librariry since resetting the password to root files helped me to make my site available again, but now I encounter 2 problems that I really want to fix:
Any idea what may have happened and how to fix it? Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @awasuaqwerty,
The first problem is really weird, try creating a new SFTP user to see if you’ll still experience the problem. Check this tutorial to help you out:
https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server
As for the second issue, the two events shouldn’t be related. Having said that, this sounds to me like Apache Workers. So first, what are Apache Workers and what are they used for:
Imagine you are in a cinema, and there are 300 chairs inside. Those are the Apache Workers and the movie is your Webiste. If someone wants to watch the movie(your website) they need to sit in the chair (Apache Workers). If all 300 chars are taken, the 301 person needs to wait for someone to leave in order for them to sit and watch the movie. That’s how ApacheWorkers work. Once all ApacheWorkers are taken, a new person that wants to open your website waits for a spot to be open and only after that they can see your website.
Usually, these limits are set by 256 by default but they can be increased.
You can open your Apache configuration file. In there you should see something similar to:
Increase both the ServerLimit and MaxClients options, restart Apache, and see if this would solve your issue.
It’s possible they do not exist (haven’t been added) and the default values are the ones above. Adding them to the prefork content of apache mods should be fine as well.