linux - Apache slowly builds up processes and kills server -
we have ubuntu server, running apache, php, , mysql. on time, seems number of apache processes increases (seen ps -aef , top commands). last night, bad server slow unusable. have no idea how processes started, since don't traffic. there many cron jobs running, never more 5-10 @ time. when first start apache, have usual 10 processes, on few hours doubles, morning when got in there 100. didn't run top command 100 processes, each 1 uses 10m-40m.
i read prefork , worker mpms, , wondering if changing settings may help. using prefork default values. decrease maxclients kill processes? set number maxrequestsperchild they're killed sooner?
or different?
Comments
Post a Comment