Portal Home > Knowledgebase > Articles Database > Services on VPSs NODE
Services on VPSs NODE
Posted by Lost Eagle, 04-03-2011, 09:23 PM |
Hi guys ...
do u think that I am ruining some un-needed services ...
advise plz ...
# service --status-all
acpid (pid 6753) is running...
anacron is stopped
atd (pid 7055) is running...
auditd (pid 6367) is running...
automount (pid 6841) is running...
Avahi daemon is running
Avahi DNS daemon is not running
hcid (pid 6658) is running...
sdpd (pid 6662) is running...
conmand is stopped
cpuspeed is stopped
crond (pid 6999) is running...
cupsd (pid 6878) is running...
dnsmasq is stopped
dund is stopped
Usage: /etc/init.d/firstboot {start|stop}
gpm (pid 6966) is running...
hald (pid 6769) is running...
hidd (pid 6814) is running...
ibmsphalt is stopped
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all ::/0 ::/0
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all ::/0 ::/0
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
1 ACCEPT all ::/0 ::/0
2 ACCEPT icmpv6 ::/0 ::/0
3 ACCEPT esp ::/0 ::/0
4 ACCEPT ah ::/0 ::/0
5 ACCEPT udp ::/0 ff02::fb/128 udp dpt:5353
6 ACCEPT udp ::/0 ::/0 udp dpt:631
7 ACCEPT tcp ::/0 ::/0 tcp dpt:631
8 ACCEPT udp ::/0 ::/0 udp dpts:32768:61000
9 ACCEPT tcp ::/0 ::/0 tcp dpts:32768:61000 flags:!0x16/0x02
10 ACCEPT tcp ::/0 ::/0 tcp dpt:22
11 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
IPs: some DATA ...............
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
irattach is stopped
irqbalance (pid 6492) is running...
krb524d is stopped
lighttpd (pid 6985) is running...
mcstransd is stopped
mdadm (pid 6598) is running...
mdmpd is stopped
dbus-daemon (pid 6644) is running...
multipathd is stopped
MySQL running (7022) [ OK ]
netconsole module not loaded
netplugd is stopped
Configured devices:
lo eth0 venet0
Currently active devices:
lo eth0 venet0
NetworkManager is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd (pid 6557) is running...
nscd is stopped
oddjobd is stopped
pand is stopped
pcscd (pid 6739) is running...
portmap (pid 6512) is running...
Process accounting is disabled.
rdisc is stopped
rpc.idmapd (pid 6621) is running...
saslauthd is stopped
sendmail (pid 6944) is running...
smartd is stopped
openssh-daemon (pid 6865) is running...
syslogd (pid 6427) is running...
klogd (pid 6430) is running...
tcsd is stopped
OpenVZ is running...
wpa_supplicant is stopped
xfs (pid 7029) is running...
ypbind is stopped
yum-updatesd (pid 14527) is running...
`
|
Posted by EDIS, 04-04-2011, 02:49 AM |
WHy do you run MySQL on the Hostnode?
Everything else looks ok.
|
Posted by Lost Eagle, 04-04-2011, 09:17 AM |
Hi Dear ...
I am using solusVM which may use it ... is that right ?
|
Posted by mXV-James, 04-04-2011, 09:18 AM |
Yeah, SolusVM needs MySQL to run properly
|
Posted by Lost Eagle, 04-04-2011, 09:21 AM |
does 10% of CPU enough for each VPS ?
The main node act bad .. some times fail + locked .. till I restart the node ... advise
|
Posted by mXV-James, 04-04-2011, 09:26 AM |
Well... Each core presents 100% CPU power, so tatal CPU power is 100% x number of cores. It would help a lot to login via SSH to server and to post here the output of "top -c" command.
|
Posted by Lost Eagle, 04-04-2011, 09:41 AM |
Dear ...
I am confused ..
when I was running Cpanel/WHM on the main node i was showing that I have 4 CPUs
Now, after OS-reloading + openVZ
the CPU info shows 2 CPUs only ... what do u think ?
---------- FOR top -c
top - 04:55:35 up 12:37, 1 user, load average: 4.27, 4.36, 6.41
Tasks: 276 total, 1 running, 273 sleeping, 0 stopped, 2 zombie
Cpu(s): 3.2%us, 3.4%sy, 0.1%ni, 93.0%id, 0.2%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3758148k total, 2966284k used, 791864k free, 433164k buffers
Swap: 8385848k total, 208k used, 8385640k free, 1538696k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4913 mailnull 15 0 11212 4524 3304 S 1.0 0.1 0:00.03 /usr/sbin/exim -bd -q60m
6180 mailnull 18 0 0 0 0 Z 1.0 0.0 0:00.03 [exim]
2513 root 18 0 2448 1148 796 R 0.7 0.0 0:00.09 top -c
4652 root 13 -5 0 0 0 S 0.3 0.0 0:52.35 [kjournald]
8468 avahi-au 21 6 173m 58m 4164 S 0.3 1.6 19:08.61 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys
4 root RT -5 0 0 0 S 0.0 0.0 0:00.20 [migration/0/1]
5 root 34 19 0 0 0 S 0.0 0.0 0:00.00 [ksoftirqd/1]
6 root RT -5 0 0 0 S 0.0 0.0 0:00.16 [migration/0/2]
7 root 34 19 0 0 0 S 0.0 0.0 0:00.00 [ksoftirqd/2]
8 root RT -5 0 0 0 S 0.0 0.0 0:00.16 [migration/0/3]
9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 [ksoftirqd/3]
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 [events/0]
11 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [events/1]
12 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [events/2]
13 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [events/3]
14 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 [khelper]
15 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 [kthread]
21 root 10 -5 0 0 0 S 0.0 0.0 0:00.10 [kblockd/0]
22 root 16 -5 0 0 0 S 0.0 0.0 0:00.41 [kblockd/1]
23 root 10 -5 0 0 0 S 0.0 0.0 0:00.81 [kblockd/2]
24 root 10 -5 0 0 0 S 0.0 0.0 0:00.08 [kblockd/3]
25 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [kacpid]
103 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 [cqueue/0]
104 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [cqueue/1]
105 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [cqueue/2]
106 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [cqueue/3]
109 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 [khubd]
111 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [kseriod]
|
Posted by mXV-James, 04-04-2011, 10:00 AM |
Do you have many mailnull processes running on server? If so you have a spammer
|
Posted by Lost Eagle, 04-04-2011, 10:12 AM |
so, what I have to do ,,,,
the user may sending Spams ,,, but from his VPS... +
when I was running Cpanel/WHM on the main node i was showing that I have 4 CPUs
Now, after OS-reloading + openVZ
the CPU info shows 2 CPUs only ... what do u think ?
|
Add to Favourites Print this Article
Also Read