hi all,
I have a new box, running red hat enterprise version 5, only running web server.
I found out that the load average increasing so high, therefore sendmail is not working.
When i do command ps -ef, it gives me output below..
I realized that i might have to disabled unnessary services..
e.g. From output below, why httpd have 6 instances running..
I don't understand.. i assumed httpd is forking but why?
What should i do to reduce my server load just purely to run httpd, mysql and php and sendmail and backup?
Please advise
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 17:18 ? 00:00:00 init [5]
root 2 1 0 17:18 ? 00:00:00 [migration/0]
root 3 1 0 17:18 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 17:18 ? 00:00:00 [watchdog/0]
root 5 1 0 17:18 ? 00:00:00 [migration/1]
root 6 1 0 17:18 ? 00:00:00 [ksoftirqd/1]
root 7 1 0 17:18 ? 00:00:00 [watchdog/1]
root 8 1 0 17:18 ? 00:00:00 [migration/2]
root 9 1 0 17:18 ? 00:00:00 [ksoftirqd/2]
root 10 1 0 17:18 ? 00:00:00 [watchdog/2]
root 11 1 0 17:18 ? 00:00:00 [migration/3]
root 12 1 0 17:18 ? 00:00:00 [ksoftirqd/3]
root 13 1 0 17:18 ? 00:00:00 [watchdog/3]
root 14 1 0 17:18 ? 00:00:00 [events/0]
root 15 1 0 17:18 ? 00:00:00 [events/1]
root 16 1 0 17:18 ? 00:00:00 [events/2]
root 17 1 0 17:18 ? 00:00:00 [events/3]
root 18 1 0 17:18 ? 00:00:00 [khelper]
root 19 1 0 17:18 ? 00:00:00 [kthread]
root 21 19 0 17:18 ? 00:00:00 [xenwatch]
root 22 19 0 17:18 ? 00:00:00 [xenbus]
root 27 19 0 17:18 ? 00:00:00 [kblockd/0]
root 28 19 0 17:18 ? 00:00:00 [kblockd/1]
root 29 19 0 17:18 ? 00:00:00 [kblockd/2]
root 30 19 0 17:18 ? 00:00:00 [kblockd/3]
root 31 19 0 17:18 ? 00:00:00 [kacpid]
root 143 19 0 17:18 ? 00:00:00 [cqueue/0]
root 144 19 0 17:18 ? 00:00:00 [cqueue/1]
root 145 19 0 17:18 ? 00:00:00 [cqueue/2]
root 146 19 0 17:18 ? 00:00:00 [cqueue/3]
root 150 19 0 17:18 ? 00:00:00 [khubd]
root 152 19 0 17:18 ? 00:00:00 [kseriod]
root 231 19 0 17:18 ? 00:00:00 [pdflush]
root 232 19 0 17:18 ? 00:00:00 [pdflush]
root 233 19 0 17:18 ? 00:00:00 [kswapd0]
root 234 19 0 17:18 ? 00:00:00 [aio/0]
root 235 19 0 17:18 ? 00:00:00 [aio/1]
root 236 19 0 17:18 ? 00:00:00 [aio/2]
root 237 19 0 17:18 ? 00:00:00 [aio/3]
root 379 19 0 17:18 ? 00:00:00 [kpsmoused]
root 426 19 0 17:18 ? 00:00:00 [scsi_eh_0]
root 437 19 0 17:18 ? 00:00:00 [ata/0]
root 438 19 0 17:18 ? 00:00:00 [ata/1]
root 439 19 0 17:18 ? 00:00:00 [ata/2]
root 440 19 0 17:18 ? 00:00:00 [ata/3]
root 441 19 0 17:18 ? 00:00:00 [ata_aux]
root 447 19 0 17:18 ? 00:00:00 [scsi_eh_1]
root 448 19 0 17:18 ? 00:00:00 [scsi_eh_2]
root 454 19 0 17:18 ? 00:00:00 [kstriped]
root 475 19 0 17:18 ? 00:00:00 [ksnapd]
root 498 19 0 17:18 ? 00:00:00 [kjournald]
root 524 19 0 17:18 ? 00:00:00 [kauditd]
root 557 1 0 17:18 ? 00:00:00 /sbin/udevd -d
root 1208 19 0 17:18 ? 00:00:00 [kedac]
root 3456 19 0 17:18 ? 00:00:00 [kmpathd/0]
root 3457 19 0 17:18 ? 00:00:00 [kmpathd/1]
root 3458 19 0 17:18 ? 00:00:00 [kmpathd/2]
root 3459 19 0 17:18 ? 00:00:00 [kmpathd/3]
root 3460 19 0 17:18 ? 00:00:00 [kmpath_handlerd]
root 3490 19 0 17:18 ? 00:00:00 [kjournald]
root 3749 19 0 17:18 ? 00:00:00 [iscsi_eh]
root 3801 19 0 17:18 ? 00:00:00 [scsi_eh_3]
root 3802 19 0 17:18 ? 00:00:00 [scsi_wq_3]
root 3803 19 0 17:18 ? 00:00:00 [scsi_eh_4]
root 3804 19 0 17:18 ? 00:00:00 [scsi_wq_4]
root 3870 19 0 17:18 ? 00:00:00 [ib_addr]
root 3887 19 0 17:18 ? 00:00:00 [ib_mcast]
root 3888 19 0 17:18 ? 00:00:00 [ib_inform]
root 3889 19 0 17:18 ? 00:00:00 [local_sa]
root 3894 19 0 17:18 ? 00:00:00 [iw_cm_wq]
root 3901 19 0 17:18 ? 00:00:00 [ib_cm/0]
root 3902 19 0 17:18 ? 00:00:00 [ib_cm/1]
root 3903 19 0 17:18 ? 00:00:00 [ib_cm/2]
root 3904 19 0 17:18 ? 00:00:00 [ib_cm/3]
root 3909 19 0 17:18 ? 00:00:00 [rdma_cm]
root 3923 1 0 17:18 ? 00:00:00 brcm_iscsiuio
root 3933 1 0 17:18 ? 00:00:00 iscsid
root 3934 1 0 17:18 ? 00:00:00 iscsid
root 4203 1 0 17:18 ? 00:00:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient
-eth0.leas
es -pf /var/run/dhclient-eth0.pid
eth0
root 4243 1 0 17:18 ? 00:00:00 auditd
root 4245 4243 0 17:18 ? 00:00:00 /sbin/audispd
root 4267 1 0 17:18 ? 00:00:00 syslogd -m 0
root 4270 1 0 17:18 ? 00:00:00 klogd -x
root 4280 1 0 17:18 ? 00:00:00 irqbalance
rpc 4304 1 0 17:18 ? 00:00:00 portmap
root 4333 19 0 17:18 ? 00:00:00 [rpciod/0]
root 4334 19 0 17:18 ? 00:00:00 [rpciod/1]
root 4335 19 0 17:18 ? 00:00:00 [rpciod/2]
root 4336 19 0 17:18 ? 00:00:00 [rpciod/3]
rpcuser 4345 1 0 17:18 ? 00:00:00 rpc.statd
root 4369 1 0 17:18 ? 00:00:00 rpc.idmapd
dbus 4384 1 0 17:18 ? 00:00:00 dbus-daemon --system
root 4425 1 0 17:19 ? 00:00:00 pcscd
root 4435 1 0 17:19 ? 00:00:00 /usr/sbin/acpid
root 4467 1 0 17:19 ? 00:00:00 /usr/bin/hidd --server
root 4504 1 0 17:19 ? 00:00:00 automount
root 4521 1 0 17:19 ? 00:00:00 ./hpiod
root 4526 1 0 17:19 ? 00:00:00 python ./hpssd.py
root 4539 1 0 17:19 ? 00:00:00 /usr/sbin/sshd
root 4548 1 0 17:19 ? 00:00:00 cupsd
root 4562 1 0 17:19 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 4580 1 0 17:19 ? 00:00:00 sendmail: accepting connections
smmsp 4588 1 0 17:19 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 4598 1 0 17:19 ? 00:00:00 gpm -m /dev/input/mice -t exps2
root 4607 1 0 17:19 ? 00:00:00 crond
xfs 4636 1 0 17:19 ? 00:00:00 xfs -droppriv -daemon
root 4661 1 0 17:19 ? 00:00:00 /usr/sbin/atd
root 4672 1 0 17:19 ? 00:00:00 /etc/delloma.d/oma/bin/dsm
_om_shrsvc
32d
root 4956 19 0 17:19 ? 00:00:02 [kipmi0]
root 5074 1 0 17:19 ? 00:00:00 /opt/dell/srvadmin/dataeng
/bin/dsm_s
a_datamgr3
2d
root 5502 1 0 17:19 ? 00:00:00 /opt/dell/srvadmin/dataeng
/bin/dsm_s
a_eventmgr
32d
root 5550 1 0 17:19 ? 00:00:00 /etc/delloma.d/iws/bin/lin
ux/dsm_om_
connsvc32d
-run
root 5551 5550 0 17:19 ? 00:00:00 /etc/delloma.d/iws/bin/lin
ux/dsm_om_
connsvc32d
-run
root 5685 5074 0 17:19 ? 00:00:00 /opt/dell/srvadmin/dataeng
/bin/dsm_s
a_datamgr3
2d
root 5853 1 0 17:19 ? 00:00:00 libvirtd --daemon
root 5867 1 0 17:19 ? 00:00:00 rhnsd --interval 240
avahi 5897 1 0 17:19 ? 00:00:00 avahi-daemon: running [iburra.local]
avahi 5898 5897 0 17:19 ? 00:00:00 avahi-daemon: chroot helper
68 5919 1 0 17:19 ? 00:00:01 hald
root 5920 5919 0 17:19 ? 00:00:00 hald-runner
68 6073 5920 0 17:19 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
68 6078 5920 0 17:19 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event2
68 6102 5920 0 17:19 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event0
root 6130 5920 0 17:19 ? 00:00:00 hald-addon-storage: polling /dev/scd0
root 6262 1 0 17:19 ? 00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
nobody 6265 1 0 17:19 ? 00:00:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvir
t/network/
default.pi
d --conf-file= --listen-address 192.168.122.1 --except-interface lo --dhcp-range 192.168.122
root 6293 1 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
daemon 6360 6293 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
daemon 6361 6293 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
daemon 6362 6293 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
daemon 6364 6293 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
daemon 6365 6293 0 17:19 ? 00:00:00 /usr/local/apache/bin/http
d -k start
root 6386 1 0 17:19 ? 00:00:00 /usr/sbin/smartd -q never
root 6395 1 0 17:19 tty1 00:00:00 /sbin/mingetty tty1
root 6396 1 0 17:19 tty2 00:00:00 /sbin/mingetty tty2
root 6399 1 0 17:19 tty3 00:00:00 /sbin/mingetty tty3
root 6400 1 0 17:19 tty4 00:00:00 /sbin/mingetty tty4
root 6402 1 0 17:19 tty5 00:00:00 /sbin/mingetty tty5
root 6404 1 0 17:19 tty6 00:00:00 /sbin/mingetty tty6
root 6409 1 0 17:19 ? 00:00:00 /usr/sbin/gdm-binary -nodaemon
root 6421 1 0 17:19 ? 00:00:00 /usr/libexec/gam_server
root 6585 1 0 17:19 ? 00:00:00 /usr/libexec/gdm-rh-securi
ty-token-h
elper
root 6718 6409 0 17:19 ? 00:00:00 /usr/sbin/gdm-binary -nodaemon
root 6773 6718 0 17:19 tty7 00:00:00 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
gdm 6962 6718 0 17:19 ? 00:00:00 /usr/libexec/gdmgreeter
root 7327 4539 0 17:22 ? 00:00:00 sshd: root@pts/1
root 7329 7327 0 17:22 pts/1 00:00:00 -bash
root 7385 7329 0 17:26 pts/1 00:00:00 ps -ef