Linode Forum Index Linode Forum
Linode Community Forums
 


Exceeding Notification Threshold

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
bbuster79



Joined: 17 Oct 2011
Posts: 19

Posted: Sun Jan 08, 2012 1:25 pm    Post subject: Exceeding Notification Threshold  

I received 3 email alerts yesterday, at 2pm, 4pm, and 6pm, notifying me:

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?
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 877
Location: Netherlands

Posted: Sun Jan 08, 2012 2:32 pm    Post subject: Re: Exceeding Notification Threshold  

bbuster79 wrote: 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).
Back to top  
obs



Joined: 07 Mar 2010
Posts: 1403
Location: Earth

Posted: Sun Jan 08, 2012 4:21 pm    Post subject:  

Also 3100 is fine if you're running something disk intensive such as a relational database, what's on the Linode?
Back to top  
hybinet



Joined: 02 May 2008
Posts: 1058

Posted: Sun Jan 08, 2012 5:31 pm    Post subject:  

The notification threshold can be adjusted in the Dashboard. The whole point of the notification is to alert you when something unusual happens, such as a DoS attack or OOM events. If you usually do 3100 I/O during the afternoon rush hour, your threshold should be higher.

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).
Back to top  
bbuster79



Joined: 17 Oct 2011
Posts: 19

Posted: Sun Jan 08, 2012 9:23 pm    Post subject:  

Thank you all for the feedback.

@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?
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1