You are not logged in.

#1 2004-10-01 20:50:19

Paul
Member
Registered: 2004-04-12
Posts: 72

Stop certain kernel options from loading

Is it possible to prevent jfs/xfs/reiser processes from starting (without compiling a new kernel)?

these show up in top and ps ax
jfsI0
jfsCommit
jfsSync
xfslogd
xfsdatad
xfsbufd

Offline

#2 2004-10-01 20:59:24

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Stop certain kernel options from loading

i was wondering the same thing - checking google right now

Offline

#3 2004-10-01 21:05:02

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Stop certain kernel options from loading

by possibly passing certain commands in grub or lilo?

check their manpages first.


AKA uknowme

I am not your friend

Offline

#4 2004-10-02 22:19:20

Win
Member
Registered: 2004-03-04
Posts: 155

Re: Stop certain kernel options from loading

Hi Paul.

Am I correct in assuming that you DON'T have these alternate filesystems on your machine? (BTW: You only show processes for xfs and jfs, but not reiserfs.)

If so, just uninstall the corresponding packages and the messages will disappear:

pacman -Rd xfsprogs
pacman -Rd jfsutils
pacman -Rd progsreiserfs

Regards,

Win

Offline

#5 2004-10-03 00:51:47

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: Stop certain kernel options from loading

nope, i have those processes running as well, and i removed those packages a long time ago. there are no binaries with those names on my computer.

Offline

#6 2004-10-03 07:00:54

Paul
Member
Registered: 2004-04-12
Posts: 72

Re: Stop certain kernel options from loading

Hi all,

thank-you for your replies!

WIn- I don't have jfsutils/xfsprogs/progreiserfs installed
Just to make sure, I searched for each package like so,

pacman -Q xfsprogs
Package "xfsprogs" was not found.

Good thinking though.

Paranoos - really? When I type "ps ax", these processes are pid 39 - 44 ... They don't show up when you try? Thats good news, at least it can be done, now I just have to figure out how to do it.

Offline

#7 2004-10-03 07:55:32

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: Stop certain kernel options from loading

Paul wrote:

They don't show up when you try?

heh I said I do have those processes running. and I also don't have those packages installed.

(:) my name is Paul too, and I am also a fan of H*R)

Offline

#8 2004-10-03 09:24:54

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Stop certain kernel options from loading

I have those processes running as well. I was just wondering what are they responsible for? I guess that

-jfs is needed by Ext2/Ext3 filesystems,
-reiserprogs is essential for ReiserFS,
-xfs-no idea:?

I'm running Ext3 filesystem, but i remember that running the same filesystem on another distro wasn't connected with running so many FS processes. Here's my ps -aux output:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4  1500  496 ?        S    10:28   0:00 init [3]  
root         2  0.0  0.0     0    0 ?        S    10:28   0:00 [migration/0]
root         3  0.0  0.0     0    0 ?        SN   10:28   0:00 [ksoftirqd/0]
root         4  0.0  0.0     0    0 ?        S<   10:28   0:00 [events/0]
root         5  0.0  0.0     0    0 ?        S<   10:28   0:00 [khelper]
root         6  0.0  0.0     0    0 ?        S<   10:28   0:00 [kacpid]
root        18  0.0  0.0     0    0 ?        S<   10:28   0:00 [kblockd/0]
root        19  0.0  0.0     0    0 ?        S    10:28   0:00 [khubd]
root        30  0.0  0.0     0    0 ?        S    10:28   0:00 [pdflush]
root        31  0.0  0.0     0    0 ?        S    10:28   0:00 [pdflush]
root        32  0.0  0.0     0    0 ?        S    10:28   0:00 [kswapd0]
root        33  0.0  0.0     0    0 ?        S<   10:28   0:00 [aio/0]
root        34  0.0  0.0     0    0 ?        S    10:28   0:00 [jfsIO]
root        35  0.0  0.0     0    0 ?        S    10:28   0:00 [jfsCommit]
root        36  0.0  0.0     0    0 ?        S    10:28   0:00 [jfsSync]
root        37  0.0  0.0     0    0 ?        S<   10:28   0:00 [xfslogd/0]
root        38  0.0  0.0     0    0 ?        S<   10:28   0:00 [xfsdatad/0]
root        39  0.0  0.0     0    0 ?        S    10:28   0:00 [xfsbufd]
root       155  0.0  0.0     0    0 ?        S<   10:28   0:00 [ata/0]
root       161  0.0  0.0     0    0 ?        S    10:28   0:00 [kseriod]
root       166  0.0  0.0     0    0 ?        S<   10:28   0:00 [kcryptd/0]
root       167  0.0  0.0     0    0 ?        S<   10:28   0:00 [kmirrord/0]
root       170  0.0  0.0     0    0 ?        S    10:28   0:00 [kjournald]
root       256  0.0  0.3  1480  384 ?        S<s  10:28   0:00 udevd
root       432  0.0  0.0     0    0 ?        S    10:28   0:00 [kjournald]
root      1067  0.0  0.6  1816  808 ?        Ss   10:28   0:00 /usr/sbin/syslog-
root      1121  0.0  0.4  1528  552 ?        S    10:28   0:00 /usr/sbin/crond
dreameen  1140  0.0  1.1  4752 1396 vc/1     Ss+  10:28   0:00 -bash
root      1148  0.0  0.3  1496  488 vc/2     Ss+  10:28   0:00 /sbin/agetty 3840
root      1149  0.0  0.3  1496  488 vc/3     Ss+  10:28   0:00 /sbin/agetty 3840
root      1150  0.0  0.3  1496  488 vc/4     Ss+  10:28   0:00 /sbin/agetty 3840
root      1151  0.0  0.3  1496  488 vc/5     Ss+  10:28   0:00 /sbin/agetty 3840
root      1209  0.0  0.3  1496  488 vc/6     Ss+  10:28   0:00 /sbin/agetty 3840
dreameen  1242  0.0  0.5  2316  648 vc/1     S+   10:28   0:00 xinit /opt/xfce4/
root      1243 27.2 14.1 90260 17528 ?       SL   10:28  15:57 X :0
dreameen  1271  0.0  1.0  4708 1308 vc/1     S    10:29   0:00 sh /opt/xfce4/etc
dreameen  1277  0.0  1.0  4704 1296 vc/1     S    10:29   0:00 sh /opt/xfce4/etc
dreameen  1278  0.0  1.6  3732 2008 ?        S    10:29   0:01 xscreensaver -no-
dreameen  1282  0.0  3.9 13760 4892 ?        Ss   10:29   0:01 xfce-mcs-manager
dreameen  1284  0.0  4.5 12584 5660 vc/1     S    10:29   0:01 xfwm4 --daemon
dreameen  1288  0.0  4.0 13524 5008 vc/1     S    10:29   0:01 xfdesktop
dreameen  1290  3.7  7.2 16900 8940 vc/1     S    10:29   2:12 gkrellm
dreameen  1295  0.4  7.7 18616 9516 vc/1     S    10:29   0:14 /opt/xfce4/bin/xf
dreameen  1297  0.0  1.5  3896 1960 ?        S    10:29   0:00 xbindkeys
dreameen  1300  0.0  7.2 16900 8940 vc/1     S    10:29   0:00 gkrellm
dreameen  1328  0.0  2.0  6688 2560 ?        S    10:30   0:01 multi-aterm -nt 2
dreameen  1329  0.0  1.2  4924 1496 pts/0    Ss+  10:30   0:00 -bash
dreameen  1330  0.0  1.0  4920 1316 pts/1    Ss   10:30   0:00 -bash
dreameen  1334  1.2 11.1 15536 13756 ?       S    10:30   0:43 xcompmgr -c
root      1339  0.0  0.6  4216  828 pts/1    S    10:30   0:00 su
root      1341  0.0  1.3  4920 1612 pts/1    S    10:31   0:00 bash
dreameen  1349  0.5 12.4 31220 15380 vc/1    S    10:31   0:19 /usr/local/bin/ps
dreameen  1353  0.0  0.0     0    0 ?        Z    10:31   0:00 [psi] <defunct>
dreameen  1355  0.0 12.4 31220 15380 vc/1    S    10:31   0:00 /usr/local/bin/ps
root      1380  0.0  1.1  5516 1360 pts/1    S+   10:33   0:00 mc
root      1382  0.0  1.1  4924 1392 pts/2    Ss   10:33   0:00 bash -rcfile .bas
dreameen  1409  2.5 21.7 51068 26852 vc/1    S    10:34   1:22 /opt/opera/lib/op
dreameen  1588  0.0 21.7 51068 26852 vc/1    S    10:34   0:00 /opt/opera/lib/op
root      2742  0.0  0.6  2336  772 pts/2    R+   11:27   0:00 ps -aux

Do i really need all those processes and if not, how do i disable unnecessary stuff?

Offline

#9 2004-10-03 12:23:45

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Stop certain kernel options from loading

They're not installed binaries, they're processes (kernel threads) started by the kernel to manage the journaled filesystems.  Unless there are kernel boot options to disable them (as Sarah31 said) you need to recompile your kernel and remove JFS and XFS support.

I wouldn't worry too much about it.  If you don't use the filesystems they'll never run and eventually will be swapped out.  You can tell they're swapped out because the process name is enclosed in square brackets (eg [jfsIO]).

Offline

#10 2004-10-03 16:53:20

Paul
Member
Registered: 2004-04-12
Posts: 72

Re: Stop certain kernel options from loading

kpiche- Case closed then, thanks!

paranoos- I always wondered if I had a double  smile

Offline

#11 2004-10-03 19:43:22

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: Stop certain kernel options from loading

Maybe (never tested) kill them in rc.local should do the job...


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#12 2004-10-03 21:31:26

Paul
Member
Registered: 2004-04-12
Posts: 72

Re: Stop certain kernel options from loading

linfocito- Yeah, I tried "kill -9" earlier,  it doesn't work- they don't want to die smile

The processes use 0% of memory, and 0% of the cpu, so I'm happy with just ignoring them.

Offline

#13 2004-10-16 17:46:37

Win
Member
Registered: 2004-03-04
Posts: 155

Re: Stop certain kernel options from loading

Hi Paul and phrakture.

As a number of people in this thread have already noted, what you're seeing is (in your case, gratuitous) processes being run by the kernel.

I just recompiled kernel 2.6.8.1-3, commenting out the following options in the 'config' file:

# CONFIG_JFS_FS=y
# CONFIG_JFS_POSIX_ACL=y

# CONFIG_XFS_FS=y
# CONFIG_XFS_QUOTA=y
# CONFIG_XFS_SECURITY=y
# CONFIG_XFS_POSIX_ACL=y

After compilation and upgrade, the processes noted:

jfsI0
jfsCommit
jfsSync
xfslogd
xfsdatad
xfsbufd

are no longer present.

BTW: The only tricky part of this kernel re-compilation was that I changed the contents of the config file. Therefore, the file had an md5sum value different than the default/original. The md5sum value in the PKGBUILD file needed to be changed for the build process to succeed. (There may be some makepkg option that can override these differences, but I'm not well versed in the tool.) Otherwise, re-compilation was very straight-forward with a simple upgrade via pacman to install the resulting kernel.

Regards,

Win

Offline

Board footer

Powered by FluxBB