Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 08, 2012 2:25 pm 
Offline
Junior Member

Joined: Mon Oct 17, 2011 11:11 pm
Posts: 35
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?


Top
   
PostPosted: Sun Jan 08, 2012 3:32 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
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).

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2012 5:21 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Also 3100 is fine if you're running something disk intensive such as a relational database, what's on the Linode?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2012 6:31 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
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).


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2012 10:23 pm 
Offline
Junior Member

Joined: Mon Oct 17, 2011 11:11 pm
Posts: 35
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?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group