FedoraThis forum is for the discussion of the Fedora Project.
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.
I just did a server/minimal install on an old white box using FC1. I noticed a number of processes running in 'ps ax' and was wondering which I could safely turn off:
Code:
PID TTY STAT TIME COMMAND
1 ? S 0:06 init [3]
2 ? SW 0:00 [keventd]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd/0]
6 ? SW 0:00 [bdflush]
5 ? SW 0:00 [kswapd]
7 ? SW 0:00 [kupdated]
8 ? SW 0:00 [mdrecoveryd]
12 ? SW 0:00 [kjournald]
63 ? SW 0:00 [khubd]
1601 ? SW 0:00 [kjournald]
1913 ? S 0:00 syslogd -m 0
1917 ? S 0:00 klogd -x
1934 ? S 0:00 portmap
1953 ? S 0:00 rpc.statd
2004 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript
2054 ? S 0:00 /usr/sbin/sshd
2078 ? S 0:00 sendmail: accepting connections
2087 ? S 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
2097 ? S 0:00 gpm -m /dev/mouse -t imps2
2106 ? S 0:00 crond
2115 ? SN 0:00 anacron -s
2123 ? S 0:00 /usr/sbin/atd
2132 tty1 S 0:00 /sbin/mingetty tty1
2133 tty2 S 0:00 /sbin/mingetty tty2
2134 tty3 S 0:00 /sbin/mingetty tty3
2135 tty4 S 0:00 /sbin/mingetty tty4
2136 tty5 S 0:00 /sbin/mingetty tty5
2137 tty6 S 0:00 /sbin/mingetty tty6
2138 ? S 0:00 sshd: meyers [priv]
2140 ? S 0:00 sshd: meyers@pts/0
2141 pts/0 S 0:00 -bash
2176 pts/0 S 0:00 su
2177 pts/0 S 0:00 bash
2501 ? S 0:00 sshd: meyers [priv]
2503 ? S 0:00 sshd: meyers@notty
2504 ? S 0:00 /usr/libexec/openssh/sftp-server
2581 pts/0 R 0:00 ps ax
The box is going to be a simple testing server for an apache/php/postgresql platform. I see a whole lot of stuff turned on in ntsysv and was wondering someone could suggest what I could turn off. I already figuring on turning off portmap and gpm but maybe you guys can suggest some more. Here's my currenet ntsysv setup:
If you aren't and/or don't want anyone to log in remotely you can disable sshd. But thats all I believe that can be safely shut off without endangering your network maybe sendmail but you may need that to test mailto functions in php. ip2tables is your firewall so thats a personal choice. But thats all I would shutdown.
Okay, cool. I'll turn off iptables since my box is behind a firewall and on a LAN I can trust. Thanks for the input, although if anyone else thought I could trim the box down further that'd be cool.
you don't need apmd and acpid... one or the other should work... probably apmd since it's an older box... irqbalance is for multiple processors AFAIK...
OK, from this list you can turn off acpid, apmd, atd, autofs, iptables, irqbalance if the computer has a single CPU, isdn, netfs, nfslock, pcmcia, portmap, rhnsd. Try to start smartd as this will monitor SMART functions on you hard-disk(s) and you can know in advance any problems that might hit you hdd. It saved my bacon several times. Edit /etc/smard.conf to fit your needs.
Wow, thanks a lot for that info! With Linux being so modular it makes sense that I can strip the box way down and squeeze every bit of performance out of it! Thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.