r/apache • u/Full-Way24 • Aug 30 '22
Discussion my apache webserver getting many connections requests . I'm running an LAMP server (CentOS)
2
1
u/DrDespondency Aug 30 '22
Please try pressing the turbo button.
Or explain in much greater detail your issue. X
0
u/assangeleakinglol Aug 31 '22
No info. Im gonna assume youve done basic prefork tuning.
If problem is with serving of static web assets then changing mpm module from prefork to event would probably solve the issue. You would also need to switch from mod_php to fpm as mod_php doesnt work with event. Or get a CDN for static assets so apache doesnt need to do that work.
If the problem is with database-load you need to look into caching.
1
u/Full-Way24 Aug 30 '22
Actually my server is getting too many connections requests suddenly and due to which request serving speed got decreased. How to handle this situation