Any way to create multiple PT_LOAD_ACTION options?
Posted: 13 Mar 2024, 20:24
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?
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?