OpenVZ Forum


Home » General » Support » Processes are wrong
Re: Processes are wrong [message #7630 is a reply to message #7608] Thu, 19 October 2006 10:41 Go to previous messageGo to previous message
eugeniopacheco is currently offline  eugeniopacheco
Messages: 40
Registered: November 2005
Member
Hi,

Thanks a lot for your answer. Now it makes sense. I tried ps -eLf and it showed all threads and I counted them up to be the same shown in vzlist.

But isn't the memory being accounted wrong? With only a few eggdrops, one ircd, one shoutcast and one ircservices it is using more than half of the memory.. Currently it is using 341MB out of 560MB

[root@server ~]# vzmemcheck -Av
Output values in Mbytes
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
101 2.15 11.38 60.16 61.61 155.56 193.90 155.56 560.59
102 0.29 11.38 4.00 4.01 155.56 4.89 155.56 560.59
103 2.52 11.38 35.34 36.93 155.56 400.32 155.56 560.59
104 1.60 4.25 33.48 33.49 28.25 165.56 28.25 213.52
105 1.01 34.14 15.79 15.89 934.16 17.73 934.16 1063.22
106 1.01 11.38 32.80 33.05 155.56 167.24 155.56 560.59
107 0.28 11.38 4.00 4.00 155.56 4.91 155.56 560.59
108 3.43 11.38 90.49 93.75 155.56 398.09 155.56 560.59
109 0.29 11.38 4.02 4.10 155.56 4.97 155.56 560.59
110 1.78 11.38 30.87 31.31 155.56 105.86 155.56 560.59
111 0.32 11.38 6.99 7.19 155.56 8.73 155.56 560.59
114 2.80 11.38 63.67 64.03 155.56 341.53 155.56 560.59
------------------------------------------------------------ -------------
Summary: 17.49 152.19 381.61 389.36 2517.96 1813.73 2517.96 6882.69
325.00 325.00 1499.00 4700.00 4700.00 4700.00 4700.00 4700.00

And here's a ps aux and ps -eLf:

[root@server ~]# vzctl exec 114 ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1504 488 ? Ss Oct07 0:11 init [2]
nobody 9347 0.0 0.0 2340 1152 ? Ss Oct07 0:00 proftpd: (accepting connections)
root 9489 0.0 0.0 1560 596 ? Ss Oct07 0:30 /sbin/syslogd
root 9578 0.0 0.0 3468 1532 ? Ss Oct07 0:57 /usr/sbin/sshd
daemon 9589 0.0 0.0 1684 628 ? Ss Oct07 0:00 /usr/sbin/atd
root 9598 0.0 0.0 1756 712 ? Ss Oct07 0:00 /usr/sbin/cron
juninho 11994 0.0 0.1 40444 2568 ? S Oct12 0:01 ./sc_serv
dj 12179 0.0 0.5 26760 8892 ? S Oct12 0:00 ./dj juninho.conf
nicole 21748 0.0 0.1 37716 1744 ? S Oct16 0:00 ./sc_serv
thiagoc 20284 0.0 0.2 5604 4348 ? Ss Oct17 0:01 ./ircd
thiagoc 22523 0.0 0.3 7320 5748 ? S Oct17 0:01 ./services
z80 7260 0.0 0.0 2616 1476 ? S Oct18 0:39 ./psybnc psybnc.conf
root 7689 0.0 0.3 6868 5412 ? Ss Oct18 0:00 /usr/bin/perl /usr/local/webmin/miniserv.pl /etc/webmin/miniserv.conf
corog 9986 0.0 0.0 2492 1452 ? S Oct18 0:03 ./psybnc
nescau 9631 0.0 0.4 16812 7136 ? S Oct18 0:06 ./eggdrop conf.ShellCenter
nescau 9635 0.0 0.1 12368 2600 ? S Oct18 0:00 ./eggdrop conf.Brigadeiro
erasmov 15592 0.0 0.1 12648 3012 ? S Oct18 0:00 ./eggdrop conf.Caxias
erasmov 15606 0.0 0.1 12360 2688 ? S Oct18 0:00 ./eggdrop conf.Info_Caxias
erasmov 15617 0.0 0.2 13408 3796 ? S Oct18 0:01 ./eggdrop conf.wall
erasmov 15634 0.0 0.1 12488 2768 ? S Oct18 0:00 ./eggdrop conf.PibCaxias
hostage 19692 0.0 0.1 12492 2720 ? S Oct18 0:13 ./eggdrop conf.Hostage
hostage 19695 0.0 0.1 12360 2604 ? S Oct18 0:07 ./eggdrop conf.WebHost
hostage 19698 0.0 0.1 12360 2608 ? S Oct18 0:09 ./eggdrop conf.AgitoJovem
hostage 19701 0.0 0.1 12360 2612 ? S Oct18 0:08 ./eggdrop conf.http
guthin 24388 0.0 0.1 12236 2792 ? S 00:48 0:02 ./eggdrop flamengo.conf
guthin 24397 0.0 0.1 12220 2644 ? S 00:48 0:00 ./eggdrop niteroi.conf
guthin 24410 0.0 0.1 12220 2600 ? S 00:49 0:00 ./eggdrop -m teresina.conf
orpheus 25798 0.0 0.2 13052 3472 ? S 00:55 0:00 ./eggdrop Rebelde.conf
orpheus 25808 0.0 0.2 12948 3316 ? S 00:56 0:00 ./eggdrop RebeldeS.conf
niccole 28316 0.0 0.1 12360 2704 ? S 01:18 0:00 ./eggdrop conf.Imortality
niccole 28319 0.0 0.1 12480 2716 ? S 01:18 0:00 ./eggdrop conf.CaNaL_LeSbIaN
canalir 29916 0.0 0.2 12920 3260 ? S 01:26 0:00 ./eggdrop conf.CanaL_IRCplugado
canalir 29919 0.0 0.1 12488 2752 ? S 01:26 0:00 ./eggdrop conf.ANDRE_DOS_ANJOS_OFFline
fifabra 5449 0.0 0.1 12360 2600 ? S 07:20 0:00 ./eggdrop conf.FBR
fifabra 5452 0.0 0.1 12364 2668 ? S 07:20 0:00 ./eggdrop conf.FBRASIL
fifabra 5458 0.0 0.1 12232 2604 ? S 07:20 0:00 ./eggdrop conf.FIFAMANIA
fifabra 5461 0.0 0.1 12364 2672 ? S 07:20 0:00 ./eggdrop conf.PARCEIROS
root 14591 0.0 0.0 2492 840 ? Rs 08:36 0:00 ps aux


[root@server ~]# vzctl exec 114 ps -eLf
UID PID PPID LWP C NLWP STIME TTY TIME CMD
root 1 0 1 0 1 Oct07 ? 00:00:11 init [2]
nobody 9347 1 9347 0 1 Oct07 ? 00:00:00 proftpd: (accepting connections)
root 9489 1 9489 0 1 Oct07 ? 00:00:30 /sbin/syslogd
root 9578 1 9578 0 1 Oct07 ? 00:00:57 /usr/sbin/sshd
daemon 9589 1 9589 0 1 Oct07 ? 00:00:00 /usr/sbin/atd
root 9598 1 9598 0 1 Oct07 ? 00:00:00 /usr/sbin/cron
juninho 11994 1 11994 0 5 Oct12 ? 00:00:01 ./sc_serv
juninho 11994 1 11995 0 5 Oct12 ? 00:00:40 ./sc_serv
juninho 11994 1 11996 0 5 Oct12 ? 00:03:50 ./sc_serv
juninho 11994 1 11997 0 5 Oct12 ? 00:00:31 ./sc_serv
juninho 11994 1 11998 0 5 Oct12 ? 00:00:00 ./sc_serv
dj 12179 1 12179 0 3 Oct12 ? 00:00:00 ./dj juninho.conf
dj 12179 1 12180 4 3 Oct12 ? 06:09:31 ./dj juninho.conf
dj 12179 1 12181 0 3 Oct12 ? 00:00:02 ./dj juninho.conf
nicole 21748 1 21748 0 5 Oct16 ? 00:00:00 ./sc_serv
nicole 21748 1 21749 0 5 Oct16 ? 00:00:12 ./sc_serv
nicole 21748 1 21750 0 5 Oct16 ? 00:01:18 ./sc_serv
nicole 21748 1 21751 0 5 Oct16 ? 00:00:12 ./sc_serv
nicole 21748 1 21752 0 5 Oct16 ? 00:00:00 ./sc_serv
thiagoc 20284 1 20284 0 1 Oct17 ? 00:00:01 ./ircd
thiagoc 22523 1 22523 0 1 Oct17 ? 00:00:01 ./services
z80 7260 1 7260 0 1 Oct18 ? 00:00:39 ./psybnc psybnc.conf
root 7689 1 7689 0 1 Oct18 ? 00:00:00 /usr/bin/perl /usr/local/webmin/miniserv.pl /etc/webmin/miniserv.conf
corog 9986 1 9986 0 1 Oct18 ? 00:00:03 ./psybnc
nescau 9631 1 9631 0 2 Oct18 ? 00:00:06 ./eggdrop conf.ShellCenter
nescau 9631 1 9632 0 2 Oct18 ? 00:00:00 ./eggdrop conf.ShellCenter
nescau 9635 1 9635 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Brigadeiro
nescau 9635 1 9636 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Brigadeiro
erasmov 15592 1 15592 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Caxias
erasmov 15592 1 15593 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Caxias
erasmov 15606 1 15606 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Info_Caxias
erasmov 15606 1 15607 0 2 Oct18 ? 00:00:00 ./eggdrop conf.Info_Caxias
erasmov 15617 1 15617 0 2 Oct18 ? 00:00:01 ./eggdrop conf.wall
erasmov 15617 1 15618 0 2 Oct18 ? 00:00:00 ./eggdrop conf.wall
erasmov 15634 1 15634 0 2 Oct18 ? 00:00:00 ./eggdrop conf.PibCaxias
erasmov 15634 1 15635 0 2 Oct18 ? 00:00:00 ./eggdrop conf.PibCaxias
hostage 19692 1 19692 0 2 Oct18 ? 00:00:13 ./eggdrop conf.Hostage
hostage 19692 1 19693 0 2 Oct18 ? 00:00:01 ./eggdrop conf.Hostage
hostage 19695 1 19695 0 2 Oct18 ? 00:00:07 ./eggdrop conf.WebHost
hostage 19695 1 19696 0 2 Oct18 ? 00:00:00 ./eggdrop conf.WebHost
hostage 19698 1 19698 0 2 Oct18 ? 00:00:09 ./eggdrop conf.AgitoJovem
hostage 19698 1 19699 0 2 Oct18 ? 00:00:00 ./eggdrop conf.AgitoJovem
hostage 19701 1 19701 0 2 Oct18 ? 00:00:08 ./eggdrop conf.http
hostage 19701 1 19702 0 2 Oct18 ? 00:00:00 ./eggdrop conf.http
guthin 24388 1 24388 0 2 00:48 ? 00:00:02 ./eggdrop flamengo.conf
guthin 24388 1 24389 0 2 00:48 ? 00:00:00 ./eggdrop flamengo.conf
guthin 24397 1 24397 0 2 00:48 ? 00:00:00 ./eggdrop niteroi.conf
guthin 24397 1 24398 0 2 00:48 ? 00:00:00 ./eggdrop niteroi.conf
guthin 24410 1 24410 0 2 00:49 ? 00:00:00 ./eggdrop -m teresina.conf
guthin 24410 1 24411 0 2 00:49 ? 00:00:00 ./eggdrop -m teresina.conf
orpheus 25798 1 25798 0 2 00:55 ? 00:00:00 ./eggdrop Rebelde.conf
orpheus 25798 1 25799 0 2 00:55 ? 00:00:00 ./eggdrop Rebelde.conf
orpheus 25808 1 25808 0 2 00:56 ? 00:00:00 ./eggdrop RebeldeS.conf
orpheus 25808 1 25809 0 2 00:56 ? 00:00:00 ./eggdrop RebeldeS.conf
niccole 28316 1 28316 0 2 01:18 ? 00:00:00 ./eggdrop conf.Imortality
niccole 28316 1 28317 0 2 01:18 ? 00:00:00 ./eggdrop conf.Imortality
niccole 28319 1 28319 0 2 01:18 ? 00:00:00 ./eggdrop conf.CaNaL_LeSbIaN
niccole 28319 1 28320 0 2 01:18 ? 00:00:00 ./eggdrop conf.CaNaL_LeSbIaN
canalir 29916 1 29916 0 2 01:26 ? 00:00:00 ./eggdrop conf.CanaL_IRCplugado
canalir 29916 1 29917 0 2 01:26 ? 00:00:00 ./eggdrop conf.CanaL_IRCplugado
canalir 29919 1 29919 0 2 01:26 ? 00:00:00 ./eggdrop conf.ANDRE_DOS_ANJOS_OFFline
canalir 29919 1 29920 0 2 01:26 ? 00:00:00 ./eggdrop conf.ANDRE_DOS_ANJOS_OFFline
fifabra 5449 1 5449 0 2 07:20 ? 00:00:00 ./eggdrop conf.FBR
fifabra 5449 1 5450 0 2 07:20 ? 00:00:00 ./eggdrop conf.FBR
fifabra 5452 1 5452 0 2 07:20 ? 00:00:00 ./eggdrop conf.FBRASIL
fifabra 5452 1 5453 0 2 07:20 ? 00:00:00 ./eggdrop conf.FBRASIL
fifabra 5458 1 5458 0 2 07:20 ? 00:00:00 ./eggdrop conf.FIFAMANIA
fifabra 5458 1 5459 0 2 07:20 ? 00:00:00 ./eggdrop conf.FIFAMANIA
fifabra 5461 1 5461 0 2 07:20 ? 00:00:00 ./eggdrop conf.PARCEIROS
fifabra 5461 1 5462 0 2 07:20 ? 00:00:00 ./eggdrop conf.PARCEIROS
root 14875 1 14875 0 1 08:39 ? 00:00:00 ps -eLf

Is there a way to check how much privvmpages each process is using to identify which one is using too much memory?

Regards,

Eugenio Pacheco

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: high load spikes average of 80
Next Topic: *SOLVED* SSH with single ip address?
Goto Forum:
  


Current Time: Sun Jul 14 08:15:33 GMT 2024

Total time taken to generate the page: 0.02221 seconds