Exceeding Notification Threshold
Your Linode, has exceeded the notification threshold (1000) for disk io rate by averaging 3108.54 for the last 2 hours
I think this indicates I need to increase my swap disk space, correct?
If so, is there a way to figure an optimum size for swap disk?
But I guess most importantly, is it likely these alerts could indicate an attempted brute force attack?
4 Replies
@bbuster79:
I think this indicates I need to increase my swap disk space, correct?
Wrong – that's pretty much what you want not to do. You need to configure your software to run within the physical memory you have available. Swap is slow (more so in a shared environment, where disk I/O contention is the main bottleneck) and should only be used for the kernel to page out things that are very rarely executed. Using swap for software that is executed frequently will render your Linode unresponsive (possibly to the point where you can't even SSH in).
Your I/O may or may not have anything to do with an attempted attack. It's impossible to tell because I/O spikes can be caused by anything from somebody hotlinking an image on your site to reddit (annoying but benign) to a full-scale hostile takeover of your server (catastrophe).
@obs: I'm running a career board built from a Wordpress core, if that's what you meant when asking what is on my linode?
@hybinet: Interesting you should mention OOM events. The first time I received an email like this I contacted support, and they informed me it was due to my server OOMing.
@pclissold: thank you for the information on what thrash is and the need to configure my software to use physical memory instead. Is this done inside my Apache, PHP, MySQL .ini files, or can it be done though my Linode dashboard?