SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all,
this is quite a newbie question - what exactly does ldconfig do at boot time ? I mean, can I safely turn it off ? I'm asking this because the really zippy booting speed of slack can bew made even faster if I remove the ldconfig part.
Thanks in advance!!
You wouldn't want to do that. ldconfig rebuilds the searchpath for libraries that you add to your installation, taking it's input from /etc/ld.so.conf.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
ldconfig is one of the most useful things to have on your system. It basically caches libs so that your programs with shared libs don't have to search the filesystem tree everytime they are run. Don't disable this, the wait time at boot is well worth the service it provides.
U may make the booting process a little bit faster, if u look at /etc/rc.d
Those with the file permission -rwx?????? will be executed during the intit process, sow just whether u need /etc/rc.d/rc.{sshd,sendmaild,httpd,nfsd}.
Just chmod 644 rc.modul-you-don't-need, not only make the booting process faster but also reduse the usage of resources (cpu,ram). All server/demon run in loops, that mean they consume CPU cycles all the time not like application ..
This is an old thread, but I figured I'd post this just in case someone finds it on google, like I did, and gets confused by the post at the end.
Running daemons uses some RAM, certainly. But the bit about
Quote:
All server/demon run in loops, that mean they consume CPU cycles all the time not like application ..
is just about entirely wrong; in fact servers spend most of their time waiting on select() and consuming essentially no cycles. Then again, most graphical programs spend most of their time waiting on select() and consuming essentially no cycles, too; it's just a matter of what they're waiting for. Anyway, the point is that daemons that are idle are consuming essentially nothing. The idea of "blocking" on events is as old as UNIX, and one of the great things about it.
Personally I removed ldconfig from bootup and added it to cron to run at 2am every day. This way I don't have to sit through it at boot but it still runs at a hour I could care less what my system is doing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.