Hello, I am using 8gb ram and 4 core processors. But the website is down when it gets 200 visitors. Even I use 64gb ram then also site cant handle more than 200 visitors. It is no different whether I use 4gb ram or 64 GB ram. So what to do to handle more website visitors. I need server optimization. Anyone can help.
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!
Hello,
This sounds like you are hitting your webserver max connections.
For example if you are using NGINX you could follow the steps from the official documentation here on how to optimize your NGINX for better performance:
https://www.nginx.com/blog/tuning-nginx/#worker_processes
If you are using Apache, I would recommend trying out the Apache2 Buddy script which would scan your Apache configuration and make some suggestions for optimizations:
https://github.com/richardforth/apache2buddy
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.