> Conor Wynne wrote:
>>>>Conor Wynne wrote:
>>>>>>>>>>>>>>Any pointers will be greatly appreciated.
>>>>>>>>>>>>>>>>>>>>>>>>Stop all unneccessary services.
>>>>>>>>>>>>>>>>>>>>>>>Thanks Conor.
>>>>>>There are services whose purpose are clear to me (e.g., httpd, xinetd)
>>>but there are others that I'm not so sure w.r.t. whether or not my FC3
>>>installation will be ok without them. Being new to Linux, I usually let
>>>those enabled by default (on installation) to be running and only enable
>>>more services as I need and gain more knowledge about them over time.
>>>Oracle10g doesn't seem to need any special system service to be running
>>>except its own, e.g., the listener. Are there any guidelines on the
>>>minimum set of services, i.e., those that are a MUST for generic
>>>functions on any FC3 installation?
>>>>>>>>>>Show us what you have running and we can make suggestions.
>>chkconfig --list |grep on
>>>>Example: Are you running nfs? pcmcia? mdmonitor? isdn? cups? etc., etc.
>>These are just the examples which I have only now copped on which are
>>running, but unused on my own box.
>>>>>> Here are the services currently running on my FC3 box:
>> atd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> portmap 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> rpcsvcgssd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> clamd 0:off 1:off 2:off 3:off 4:off 5:on
Without the clamav-milter for sendmail (activated below), this is useless.
> 6:off
> xinetd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Unless using linux software raid, this is useless.
> smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Firewall.
> sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Really required?
> nifd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> NetworkManager 0:off 1:off 2:off 3:off 4:off 5:on
> 6:off
> cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
> cups-config-daemon 0:off 1:off 2:off 3:on 4:on 5:on
Using cups?
> 6:off
> ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Firewall, ipv6 style.
> rhnsd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> messagebus 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> nfslock 0:off 1:off 2:off 3:on 4:on 5:on
Stop it unless using nfs.
> 6:off
> pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off
For pccards on laptops,
> rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off
> readahead_early 0:off 1:off 2:off 3:off 4:off 5:on
> 6:off
> readahead 0:off 1:off 2:off 3:off 4:off 5:on
> 6:off
> netfs 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> iiim 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> autofs 0:off 1:off 2:off 3:on 4:on 5:on
Using autofs?
> 6:off
> irqbalance 0:off 1:off 2:off 3:on 4:on 5:off
> 6:off
> mDNSResponder 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> arptables_jf 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> wine 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Wine?
> haldaemon 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> kudzu 0:off 1:off 2:off 3:on 4:on 5:on
Unless your hardware changes frequently, you can safely stop this.
> 6:off
> xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> isdn 0:off 1:off 2:on 3:on 4:on 5:on 6:off
I doubt you need this.
> httpd 0:off 1:off 2:off 3:off 4:off 5:on
This really required?
> 6:off
> hpoj 0:off 1:off 2:on 3:on 4:on 5:off
> 6:off
> acpid 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> canna 0:off 1:off 2:on 3:on 4:on 5:off
> 6:off
> lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off
off unless configured,
> apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
No point in an oracle box.
> auth: on
There are far too may services running.
If this is just for Oracle, then get rid of all those marked above, unless
you explicitly use them.
You wont gain that much RAM back, but its a start before you invest in more.
I still think connecting from another workstation, and running the
oracle/fedora box in runlevel 3 is better.
> ----
> Kuda
regards
Conor.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!