Unnecessary CentOS Services on a VM.
When running CentOS inside a VM, there are a number of services you get that are not needed. I found the following services that I ended up disabling.
service smartd stop && chkconfig smartd off service avahi-daemon stop && chkconfig avahi-daemon off service cups stop && chkconfig cups off service autofs stop && chkconfig autofs off service iscsid stop && chkconfig iscsid off service iscsi stop && chkconfig iscsi off service bluetooth stop && chkconfig bluetooth off service kudzu stop && chkconfig kudzu off service mdmonitor stop && chkconfig mdmonitor off service hidd stop && chkconfig hidd off service haldaemon stop && chkconfig haldaemon off service gpm stop && chkconfig gpm off service auditd stop && chkconfig auditd off service cpuspeed stop && chkconfig cpuspeed off service messagebus stop && chkconfig messagebus off service pcscd stop && chkconfig pcscd off
These do things like manage devices or file systems. Things a VM won’t need done. This stopped about 20 processes and freed up a few megabytes of memory. Every little bit helps when you run tens or hundreds of VMs.
About this entry
Title: Unnecessary CentOS Services on a VM.
- Published:
- 28.11.11
- Category:
- linux, virtualization, xen








No comments
Jump to comment form | comments rss [?] | trackback uri [?]