Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 01, 2012 6:08 pm 
Offline
Senior Member

Joined: Mon Sep 01, 2008 5:14 pm
Posts: 92
Every once in a while I was getting these OSSEC notifications (see below) and just played them off. Well the other day while downloading a backup to my PC I was getting them every few minutes. I rebooted and tried again....same thing....they would come in every few minutes.

I am running: CentOS 5.5 Profile (Latest 3.5 (3.5.2-linode45)) ... I did some searching and saw some people had a similar issue a while back but supposedly upgrading the Kernal fixed it :/

Any ideas?


Code:
OSSEC HIDS Notification.
2012 Sep 30 09:35:11

Received From: cathode->/var/log/messages
Rule: 1002 fired (level 2) -> "Unknown problem somewhere in the system."
Portion of the log(s):

Sep 30 09:35:11 cathode kernel: swapper/0: page allocation failure: order:4, mode:0x20



 --END OF NOTIFICATION


Top
   
PostPosted: Tue Oct 02, 2012 3:32 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
There's a long thread on it here viewtopic.php?f=20&t=7805&hilit=page+allocation the general solution is to increase vm.min_free_kbytes to a minimum of 4096 (I had to go as far as 8192 on one server)

_________________
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
   
PostPosted: Tue Oct 02, 2012 5:07 pm 
Offline
Senior Member

Joined: Mon Sep 01, 2008 5:14 pm
Posts: 92
From what I understood, I need to make that change in /etc/sysctl.conf but that does not even exist in there.... nothing close to it even. Do I just need to add it all together, or am I still missing something?


Top
   
PostPosted: Tue Oct 02, 2012 5:25 pm 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
Add it in at the end of the file and then run "sysctl -p" to apply it.


Top
   
PostPosted: Tue Oct 02, 2012 5:28 pm 
Offline
Senior Newbie
User avatar

Joined: Thu Oct 23, 2008 9:25 pm
Posts: 16
Website: http://bofh.hosscomm.com
Pages to help your familiarity with sysctl and it's features.
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-proc-sysctl.html
http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-proc-sysctl.html

Hope this helps.


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


Who is online

Users browsing this forum: mattltm and 3 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