LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2009, 03:08 PM   #1
kevinyeandel
Member
 
Registered: Jun 2008
Posts: 49

Rep: Reputation: 16
yum-updatesd, lot of memory and can it be scheduled?


Hi

Using top and sorting by memory I see
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2309 root 15 0 265m 41m 2060 S 0.0 8.3 22:18.33 yum-updatesd
15548 mysql 15 0 187m 24m 3844 S 0.0 4.9 1:51.76 mysqld
12752 root 18 0 262m 15m 8268 S 0.0 3.1 0:00.53 httpd
...


yum-updatesd seems to be hogging - 8.3% of 512MB, basically its forcing my system to dip into swap and I'm trying to keep a close eye on memory usage.

Is it necessary to have the daemon running 24/7 or could I have it up only at 3am to 5am for example?

Many thanks

Kevin
 
Old 02-09-2009, 03:46 PM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
If you're worried about that 8%, why not just disable that service and run a yum update when you feel like it? You could schedule that to run every 3 AM or so, just don't forget to add the -y flag so it doesn't require any input from your side.

Last edited by Maligree; 02-09-2009 at 03:53 PM.
 
Old 02-09-2009, 03:54 PM   #3
kevinyeandel
Member
 
Registered: Jun 2008
Posts: 49

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Maligree View Post
If you're worried about that 8%, why not just disable that service and run a yum update when you feel like it?
Reasons to do with security. I am led to believe it is necessary to keep a system up-to-date. This server is on the web.

But, though, implicit from what you say, It isn't wrong to disable it, I could compromise and cron updates every couple of days and manually if something critical is required....
 
Old 02-09-2009, 04:05 PM   #4
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Is it taking up that 8% all the time? I don't use it myself, but I'd expect it to be nearly unnoticeable when it's not doing its work: checking for updates. And the default setting is check every hour.
 
Old 02-09-2009, 07:16 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
In the long run you are probably better off manually running yum update. Many of the security updates will depend on kernel changes. Even if updatesd automatically updates the kernel, it will not use that kernel until a reboot occurs. Another issue with updatesd is you can miss a lot of errors yum throws if you are not watching it. Just schedule a little bit of time each week to run the update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum-updatesd? homyangcha Linux - Newbie 5 09-12-2008 05:31 AM
yum-updatesd on F9 (from KDE LiveCD) Jongi Fedora 7 07-27-2008 08:06 AM
yum-updatesd daemon does nothing elvisious Linux - Newbie 2 05-19-2007 04:43 PM
YUM Updatesd Smarajit Linux - Newbie 2 04-15-2007 04:49 AM
Hanging on yum-updatesd rfleming Fedora - Installation 7 01-09-2007 04:19 PM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration