Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > The Community Lounge > Programming

Programming A place to discuss programming and development

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2004-12-05, 09:12 PM CST
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 2,731
suggestion- don't default prelink,makewhatis to run

I just installed fedora core 3, I'd like to suggest for future Fedora's that they consider not defaulting the cron system to run these:
makewhatis, slocate, prelink.
These seem to be real resource hogs, and more annoying, they seem to fire off right after you install Fedora. So right when you're trying to get your system setup, prelink comes along and takes 99% of the cpu. Could these at least be run at a nice level to be less hoggy? I don't know if many people do what I do but the first thing I do when I install Fedora is go in the cron.* directories and disable all those from running.

Marko
__________________
Mark in Laurel, MD USA Intel Q6600 ; Sony Vaio SZ730
Reply With Quote
  #2  
Old 2004-12-05, 09:52 PM CST
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 53
Posts: 3,420
You'll need to file a bug or enhancement at bugzilla.redhat.com - posting here won't get any attention from the developers.

As for disabling those by default, it's not likely gonna happen. As you've found, they're set up to be run by cron, at a (local) time when the computer is not likely to be used by a "regular" user. Since cron was just initialized, it'll fire up and try to complete un-executed tasks. What you've effectively done is now completely disable one of the security/protection mechanisms (prelink) - and one of the more powerful "man" commands (apropos).
__________________
Linux User #28251 (April '93)
Professional Java Geek
Reply With Quote
  #3  
Old 2004-12-06, 02:22 AM CST
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 23
Posts: 7,902
Are you sure they aren't nice already? Did you notice any slowdown? If there is idle CPU time might as well use it.

Look on the bright side, you could be like me and keep such crazy hours as to actually be online when said cron jobs run...
Reply With Quote
  #4  
Old 2004-12-06, 08:31 PM CST
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 53
Posts: 3,420
Quote:
Originally Posted by Jman
Look on the bright side, you could be like me and keep such crazy hours as to actually be online when said cron jobs run...
I know it's time to be in bed when my 3 AM backup job starts running...
__________________
Linux User #28251 (April '93)
Professional Java Geek
Reply With Quote
  #5  
Old 2004-12-07, 07:30 PM CST
Dog-One's Avatar
Dog-One Offline
Registered User
 
Join Date: Sep 2004
Location: NORTHCOM
Posts: 812
I usually leave the cron stuff intact, but I really dislike the anacron feature, so I do disable that. To me it's kind of like missing Monday Night Football--once it's over, it's over. Those missed jobs can wait until the next night to get run IMHO.
__________________
Please give credit where credit is due--say thanks in the active thread.
Refresh yourself with the Posting Guidelines........Frequently Asked Questions........Registered Linux User #369513
Reply With Quote
  #6  
Old 2004-12-08, 07:01 AM CST
adam's Avatar
adam Offline
Registered User
 
Join Date: Nov 2004
Location: Gorzow Wlkp, Poland
Age: 26
Posts: 143
Could you please simply explain to me what is prelink for? I'm afraid I don't understand a lot from its man page. I switched it to run monthly not daily, hope I won't miss anything important, or would I?
__________________
Take care.

Linux User #374234
ACER TM 4060: Pentium M 760 2.0GHz, 15.4 WXGA wide, 100GB HDD, 1GB DDR2 DC, 802.11b/g wireless LAN
Reply With Quote
  #7  
Old 2004-12-08, 09:46 PM CST
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 53
Posts: 3,420
Probably not - what it does (I think) is pre-allocates memory slots for shared dynamic libraries. This speeds up program loading by a very large amount, since the memory allotment is calculated ahead of time instead of while a library is being loaded.
__________________
Linux User #28251 (April '93)
Professional Java Geek
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
makewhatis (100% CPU usage) chandan General Support 2 2006-10-26 12:13 PM CDT
makewhatis causes FC4 to crash Jonathan Rawle gmane.linux.redhat.fedora.general 0 2005-12-21 11:10 AM CST
makewhatis - out of nowhere sly gmane.linux.redhat.fedora.general 5 2005-06-06 11:51 AM CDT
Re: makewhatis - out of nowhere billpwl1 gmane.linux.redhat.fedora.general 0 2005-06-06 11:51 AM CDT
Re: makewhatis - out of nowhere sly gmane.linux.redhat.fedora.general 1 2005-06-06 11:51 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 01:01 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Thanks to NLP-er enjoy automatic translations (vBET)