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.
Best Answer
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
to the file
(needs restart)