Any way to create multiple PT_LOAD_ACTION options?

Post Reply
GoWilkes
Junior Member
Posts: 29
Joined: 15 Nov 2010, 20:57

Any way to create multiple PT_LOAD_ACTION options?

Post by GoWilkes »

Every once in awhile, something on my server will get hung up and cause a temporary load spike up to about 10. And then every once in a blue moon, something will REALLY get hung up and cause a load spike up to 100!

I've always had CSF to email me when the load is over 6:

PT_LOAD = 30
PT_LOAD_AVG = 5
PT_LOAD_LEVEL = 6
PT_LOAD_SKIP = 3600

I'd like to keep that in place, but I'd also like to use PT_LOAD_ACTION to restart Apache if PT_LOAD_LEVEL is over 20.

Is there a way to have both of these set up?
Post Reply