I'll reserach maxclients a bit more. I agree Drupal is resourse hog, but I have a huge beefy server with 1GB RAM and just a few sites and a handful of users. Yet I still get OOM kills at random times. See linode I/O graphs below. Things look nice and calm at the moment. I'm suspecting Apache is the culprit, and/or maybe some php process that goes crazy at weird times. A hunch tells me I have a bunch of sys generated tasks piling up and banging things around. But I'm at a loss as to how to root cause this problem and where to look. I've installed systat and ran some basic querries. All looks pretty good, would you agree? But you can see from my history chart that things go crazy every once in a while. Any tips on how I can dig into this?
# iostatavg-cpu: %user %nice %system %iowait %steal %idle
6.11 0.00 2.29 1.00 0.75 89.84
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
xvda 11.79 289.42 58.40 509698 102848
xvdb 0.01 0.50 0.00 872 0
# iostat -d -x 2 5Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
xvda 0.65 4.58 8.64 3.02 281.50 60.80 29.36 0.18 15.87 4.58 5.34
xvdb 0.05 0.00 0.01 0.00 0.48 0.00 48.44 0.00 8.72 5.22 0.01
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 2.50 0.00 1.50 0.00 32.00 21.33 0.01 9.00 9.00 1.35
xvdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 5.50 0.00 11.50 0.00 136.00 11.83 0.75 65.39 14.30 16.45
xvdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 1.00 0.00 1.50 0.00 20.00 13.33 0.06 41.67 41.67 6.25
xvdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 2.00 0.00 4.50 0.00 52.00 11.56 0.11 25.22 25.22 11.35
xvdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
# mpstat10:52:39 AM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
10:52:39 AM all 6.24 0.00 2.17 0.95 0.00 0.15 0.72 89.77 1230.74
24Hr Avg I/O[
30Day Avg I/O