>> I've recently installed RH7.0 on a system and I've noticed
>> that there is a cronjob running every 10 minutes executing
>> /sbin/rmmod -as
>>
>> The question I have is: Why is the necessary? Shouldn't
>> modules be unloaded automatically by the kernel? What
>> would happen if I removed this cronjob?
>>
My understanding is that modules will be loaded as required, but not
necessarily unloaded when finished with. For a start some modules are
dependant on others, and (obviously) if someone else is using the module
then you don't want it unloaded straight away :-) You also probably do not
want a module unloaded even if no-one is using it, you could get the
situation where modules are repeatedly being loaded and unloaded (the
users/server would probably have to be doing something weird though). The
cron job simply tidies the modules up by looking for any unused modules
every 10 mins.
On 02-May-01 at 13:57:11 Bob Glover wrote:
> Try it and let us know. The cronjob in question is (on RH6.2) in
> /etc/cron.d
>
I suspect that nothing will be noticed. If the system is rebooted
frequently, then the modules will of course be unloaded. If it is left
running for a long time, then the modules (again, depends how much of the
kernel is compiled as modules I guess), will occupy memory. Whether this
causes a problem will probably depend on how much memory is available.
John.
------------------------------------------------------------------------
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list