4

Our Ubuntu-servers all seem to have various unused kernel-modules loaded wasting RAM and, in the case of jfs for example, running a bunch of useless processes (jfsCommit).

I can use rmmod to get rid of them at runtime, but I wonder, what causes them to load in the first place.

Ideally, I'd be able to remove the module-binaries too.

Mikhail T.
  • 2,405

1 Answers1

3

If the modules in question are built into the kernel, the only way is recompiling the kernel.

If they are separate modules, you can blacklist them.

Add

blacklist module_name

to the file

/etc/modprobe.d/blacklist.conf

(needs restart)