php - apache 2.2 to 2.4 sporadic performance drop -
i updated apache 2.2 2.4 , php 5.3 5.4. reason experiencing huge performance drops in around 5% of requests server. on average, sites load in less 2 seconds in 5% of cases takes anywhere between 30 60 seconds of spinning before site loads.
i copied old prefork settings
startservers 8 minspareservers 5 maxspareservers 10 serverlimit 512 maxclients 512 maxrequestsperchild 4000:
setup: 8 vcpu, 8gb ram, ssd cpu never goes on 30%, ram stays @ around 1.8gb.
db on separate server , performs fast. debugged , never got slow query (nothing on minute).
i performed 2.2 2.4 update steps here http://httpd.apache.org/docs/trunk/upgrading.html didnt help. there other way debug server , why slows down badly? not suspect php reason since codebase did not change.
edit
i need add when page spnning, can click on link, press enter , there big chnage load in under 2 seconds. have hit enter or refresh loading page 2 or 3 times , loads immediately.
Comments
Post a Comment