-
-
Save attilagyorffy/c58f770b026365c9027f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ apache2 ssh plymouth-gain-production | |
Linux unboxab19.miniserver.com 3.4.62-x1-64 #1 SMP Mon Sep 16 14:09:37 GMT 2013 x86_64 | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
Last login: Tue May 13 10:13:13 2014 from catv-80-99-186-39.catv.broadband.hu | |
root@unboxab19:~# free -m | |
total used free shared buffers cached | |
Mem: 7962 1048 6914 0 53 233 | |
-/+ buffers/cache: 761 7200 | |
Swap: 0 0 0 | |
root@unboxab19:~# ps aux | |
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 1 0.0 0.0 10644 808 ? Ss May12 0:01 init [2] | |
root 2 0.0 0.0 0 0 ? S May12 0:00 [kthreadd] | |
root 3 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/0] | |
root 4 0.0 0.0 0 0 ? S May12 0:03 [kworker/0:0] | |
root 5 0.0 0.0 0 0 ? S May12 0:00 [kworker/u:0] | |
root 6 0.0 0.0 0 0 ? S May12 0:00 [migration/0] | |
root 7 0.0 0.0 0 0 ? S May12 0:00 [migration/1] | |
root 8 0.0 0.0 0 0 ? S May12 0:00 [kworker/1:0] | |
root 9 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/1] | |
root 10 0.0 0.0 0 0 ? S May12 0:00 [migration/2] | |
root 11 0.0 0.0 0 0 ? S May12 0:00 [kworker/2:0] | |
root 12 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/2] | |
root 13 0.0 0.0 0 0 ? S May12 0:00 [migration/3] | |
root 14 0.0 0.0 0 0 ? S May12 0:00 [kworker/3:0] | |
root 15 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/3] | |
root 16 0.0 0.0 0 0 ? S< May12 0:00 [khelper] | |
root 17 0.0 0.0 0 0 ? S May12 0:00 [kworker/u:1] | |
root 20 0.0 0.0 0 0 ? S May12 0:00 [xenwatch] | |
root 21 0.0 0.0 0 0 ? S May12 0:00 [xenbus] | |
root 133 0.0 0.0 0 0 ? S May12 0:00 [sync_supers] | |
root 135 0.0 0.0 0 0 ? S May12 0:00 [bdi-default] | |
root 137 0.0 0.0 0 0 ? S< May12 0:00 [kblockd] | |
root 147 0.0 0.0 0 0 ? S May12 0:02 [kworker/1:1] | |
root 232 0.0 0.0 0 0 ? S< May12 0:00 [rpciod] | |
root 233 0.0 0.0 0 0 ? S May12 0:02 [kworker/3:1] | |
root 240 0.0 0.0 0 0 ? S May12 0:00 [khungtaskd] | |
root 244 0.0 0.0 0 0 ? S May12 0:00 [kswapd0] | |
root 245 0.0 0.0 0 0 ? S May12 0:00 [fsnotify_mark] | |
root 246 0.0 0.0 0 0 ? S< May12 0:00 [nfsiod] | |
root 247 0.0 0.0 0 0 ? S< May12 0:00 [cifsiod] | |
root 252 0.0 0.0 0 0 ? S< May12 0:00 [crypto] | |
root 820 0.0 0.0 0 0 ? S May12 0:00 [khvcd] | |
root 912 0.0 0.0 0 0 ? S< May12 0:00 [bond0] | |
root 970 0.0 0.0 0 0 ? S< May12 0:00 [kmpathd] | |
root 971 0.0 0.0 0 0 ? S< May12 0:00 [kmpath_handlerd] | |
root 972 0.0 0.0 0 0 ? S May12 0:01 [kworker/2:1] | |
root 990 0.0 0.0 0 0 ? S< May12 0:00 [deferwq] | |
root 991 0.0 0.0 0 0 ? S May12 0:00 [kworker/0:1] | |
root 992 0.0 0.0 0 0 ? S May12 0:01 [kjournald] | |
root 1114 0.0 0.0 21352 1292 ? Ss May12 0:00 udevd --daemon | |
root 1222 0.0 0.0 21348 948 ? S May12 0:00 udevd --daemon | |
root 1223 0.0 0.0 21348 948 ? S May12 0:00 udevd --daemon | |
gain 2015 56.5 1.5 336140 123256 ? Sl 07:15 189:59 Passenger RackApp: /home/gain/gain_web/current | |
postgres 2022 0.0 0.1 118848 13896 ? Ss 07:15 0:04 postgres: gain gain_production [local] idle in transaction | |
root 2576 0.0 0.0 52796 1552 ? Sl May12 0:02 /usr/sbin/rsyslogd -c5 | |
root 2608 0.0 0.0 0 0 ? S May12 0:00 [flush-202:1] | |
root 2612 0.0 0.4 117904 40204 ? Sl May12 0:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client -d -P /var/run/chef/client.pid -c /etc/chef/client.rb -i 1800 -s 300 -L /var/log/chef/client.log | |
root 2637 0.0 0.0 4092 644 ? Ss May12 0:00 startpar -f -- chef-client | |
root 2676 0.0 0.0 92828 3880 ? Ss May12 0:07 /usr/sbin/apache2 -k start | |
www-data 2680 0.0 0.0 92568 2412 ? S May12 0:00 /usr/sbin/apache2 -k start | |
root 2682 0.0 0.0 23936 1952 ? Ssl May12 0:00 PassengerWatchdog | |
root 2690 0.3 0.0 121956 6036 ? Sl May12 3:29 PassengerHelperAgent | |
nobody 2699 0.0 0.0 73584 3324 ? Sl May12 0:00 PassengerLoggingAgent | |
www-data 2715 0.0 0.0 637064 6728 ? Sl May12 0:02 /usr/sbin/apache2 -k start | |
www-data 2753 0.0 0.0 702928 7028 ? Sl May12 0:02 /usr/sbin/apache2 -k start | |
root 3006 0.0 0.0 20884 1048 ? Ss May12 0:00 /usr/sbin/cron | |
nagios 3087 0.0 0.0 25320 1144 ? Ss May12 0:14 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d | |
redis 3105 0.1 0.0 35908 1640 ? Ssl May12 1:20 /usr/bin/redis-server /etc/redis/redis.conf | |
ntp 3108 0.0 0.0 39068 2364 ? Ss May12 0:10 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:108 | |
107 3126 0.0 0.0 29800 700 ? Ss May12 0:00 /usr/bin/dbus-daemon --system | |
root 3161 0.0 0.0 49928 1260 ? Ss May12 0:01 /usr/sbin/sshd | |
postgres 3194 0.0 0.1 99092 9720 ? S May12 0:03 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf | |
postgres 3197 0.0 0.0 99076 3440 ? Ss May12 0:26 postgres: writer process | |
postgres 3198 0.0 0.0 99076 1632 ? Ss May12 0:31 postgres: wal writer process | |
postgres 3199 0.0 0.0 99960 3116 ? Ss May12 0:08 postgres: autovacuum launcher process | |
postgres 3200 0.0 0.0 67644 1820 ? Ss May12 0:05 postgres: stats collector process | |
root 3327 0.0 0.0 37872 2472 ? Ss May12 0:00 /usr/lib/postfix/master | |
postfix 3346 0.0 0.0 40104 2608 ? S May12 0:00 qmgr -l -t fifo -u | |
root 3353 0.0 0.0 14572 860 hvc0 Ss+ May12 0:00 /sbin/getty 38400 hvc0 | |
gain 3505 29.3 1.5 333764 124024 ? Sl May12 296:17 Passenger RackApp: /home/gain/gain_web/current | |
postgres 3512 0.0 0.1 114216 11620 ? Ss May12 0:02 postgres: gain gain_production [local] idle in transaction | |
gain 6971 68.7 1.4 354428 119368 ? Sl 08:59 159:08 Passenger RackApp: /home/gain/gain_web/current | |
postgres 6978 0.0 0.1 114532 11328 ? Ss 08:59 0:01 postgres: gain gain_production [local] idle in transaction | |
gain 8506 72.1 1.3 329048 106624 ? Sl 09:31 144:22 Passenger RackApp: /home/gain/gain_web/current | |
postgres 8513 0.0 0.1 109468 9780 ? Ss 09:31 0:00 postgres: gain gain_production [local] idle in transaction | |
gain 8514 65.9 1.3 338272 106092 ? Sl 09:31 131:50 Passenger RackApp: /home/gain/gain_web/current | |
postgres 8521 0.0 0.1 109684 10260 ? Ss 09:31 0:00 postgres: gain gain_production [local] idle in transaction | |
gain 10385 15.5 1.4 288528 120120 ? Sl 09:58 26:46 Passenger RackApp: /home/gain/gain_web/current | |
postgres 10392 0.1 0.1 118760 13632 ? Ss 09:58 0:10 postgres: gain gain_production [local] idle in transaction | |
root 10797 0.0 0.0 71256 3696 ? Ss 10:13 0:00 sshd: root@pts/0 | |
root 10799 0.0 0.0 19948 2232 pts/0 Ss+ 10:13 0:00 -bash | |
www-data 17999 0.0 0.0 634888 3756 ? Sl 12:38 0:00 /usr/sbin/apache2 -k start | |
postfix 18098 0.0 0.0 39940 2348 ? S 12:40 0:00 pickup -l -t fifo -u -c | |
root 18392 0.3 0.0 71256 3696 ? Ss 12:50 0:00 sshd: root@pts/2 | |
root 18394 0.2 0.0 19948 2196 pts/2 Ss 12:50 0:00 -bash | |
root 18460 0.0 0.0 17284 1180 pts/2 R+ 12:51 0:00 ps aux | |
root@unboxab19:~# passenger-status | |
Version : 4.0.14 | |
Date : 2014-05-13 12:52:26 +0000 | |
Instance: 2676 | |
----------- General information ----------- | |
Max pool size : 6 | |
Processes : 6 | |
Requests in top-level queue : 0 | |
----------- Application groups ----------- | |
/home/gain/gain_web/current#default: | |
App root: /home/gain/gain_web/current | |
Requests in queue: 114 | |
* PID: 3505 Sessions: 1 Processed: 749 Uptime: 16h 51m 47s | |
CPU: 29% Memory : 117M Last used: 5h 38m | |
* PID: 2015 Sessions: 1 Processed: 323 Uptime: 5h 37m 17s | |
CPU: 56% Memory : 116M Last used: 3h 52m 5 | |
* PID: 6971 Sessions: 1 Processed: 160 Uptime: 3h 52m 37s | |
CPU: 68% Memory : 111M Last used: 3h 21m 2 | |
* PID: 8506 Sessions: 1 Processed: 53 Uptime: 3h 21m 17s | |
CPU: 72% Memory : 55M Last used: 3h 7m 14 | |
* PID: 8514 Sessions: 1 Processed: 66 Uptime: 3h 21m 17s | |
CPU: 65% Memory : 54M Last used: 2h 54m 3 | |
* PID: 10385 Sessions: 1 Processed: 690 Uptime: 2h 54m 0s | |
CPU: 15% Memory : 113M Last used: 39m 46s a | |
root@unboxab19:~# hostname | |
unboxab19.miniserver.com | |
root@unboxab19:~# passenger-memory-stats | |
Version: 4.0.14 | |
Date : 2014-05-13 12:52:39 +0000 | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_GB.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_GB.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. | |
--------- Apache processes ---------- | |
PID PPID VMSize Private Name | |
------------------------------------- | |
2676 1 90.7 MB 0.6 MB /usr/sbin/apache2 -k start | |
2680 2676 90.4 MB 0.5 MB /usr/sbin/apache2 -k start | |
2715 2676 622.2 MB 4.5 MB /usr/sbin/apache2 -k start | |
2753 2676 686.5 MB 4.7 MB /usr/sbin/apache2 -k start | |
17999 2676 620.1 MB 1.8 MB /usr/sbin/apache2 -k start | |
### Processes: 5 | |
### Total private dirty RSS: 12.10 MB | |
-------- Nginx processes -------- | |
### Processes: 0 | |
### Total private dirty RSS: 0.00 MB | |
----- Passenger processes ------ | |
PID VMSize Private Name | |
-------------------------------- | |
2015 328.3 MB 116.6 MB Passenger RackApp: /home/gain/gain_web/current | |
2682 23.4 MB 0.3 MB PassengerWatchdog | |
2690 119.2 MB 3.3 MB PassengerHelperAgent | |
2699 71.9 MB 0.6 MB PassengerLoggingAgent | |
3505 325.9 MB 117.2 MB Passenger RackApp: /home/gain/gain_web/current | |
6971 346.1 MB 111.9 MB Passenger RackApp: /home/gain/gain_web/current | |
8506 321.3 MB 55.1 MB Passenger RackApp: /home/gain/gain_web/current | |
8514 330.3 MB 54.6 MB Passenger RackApp: /home/gain/gain_web/current | |
10385 281.8 MB 113.5 MB Passenger RackApp: /home/gain/gain_web/current | |
### Processes: 9 | |
### Total private dirty RSS: 573.03 MB | |
top - 12:53:04 up 16:53, 2 users, load average: 6.01, 6.02, 5.96 | |
Tasks: 86 total, 1 running, 85 sleeping, 0 stopped, 0 zombie | |
%Cpu(s): 99.5 us, 0.5 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st | |
KiB Mem: 8153416 total, 1074524 used, 7078892 free, 54568 buffers | |
KiB Swap: 0 total, 0 used, 0 free, 239292 cached | |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
3505 gain 20 0 325m 121m 3996 S 49.8 1.5 297:27.98 ruby | |
2015 gain 20 0 328m 120m 3952 S 71.4 1.5 191:17.27 ruby | |
10385 gain 20 0 281m 117m 3940 S 62.8 1.5 28:03.52 ruby | |
6971 gain 20 0 346m 116m 4848 S 83.7 1.5 160:23.16 ruby | |
8506 gain 20 0 321m 104m 3684 S 80.1 1.3 145:39.55 ruby | |
8514 gain 20 0 330m 103m 3680 S 50.2 1.3 133:08.42 ruby | |
2612 root 20 0 115m 39m 1172 S 0.0 0.5 0:00.37 chef-client | |
2022 postgres 20 0 116m 13m 8408 S 0.0 0.2 0:04.31 postgres | |
10392 postgres 20 0 115m 13m 8488 S 0.0 0.2 0:10.56 postgres | |
3512 postgres 20 0 111m 11m 7648 S 0.0 0.1 0:02.06 postgres | |
6978 postgres 20 0 111m 11m 7252 S 0.0 0.1 0:01.73 postgres | |
8521 postgres 20 0 107m 10m 6728 S 0.0 0.1 0:00.29 postgres | |
8513 postgres 20 0 106m 9780 6556 S 0.0 0.1 0:00.21 postgres | |
3194 postgres 20 0 99092 9720 8492 S 0.0 0.1 0:03.68 postgres | |
2753 www-data 20 0 686m 7028 1940 S 0.0 0.1 0:02.94 apache2 | |
2715 www-data 20 0 622m 6728 1876 S 0.0 0.1 0:02.56 apache2 | |
2690 root 20 0 119m 6172 2788 S 1.3 0.1 3:31.02 PassengerHelper | |
2676 root 20 0 92828 3880 2048 S 0.0 0.0 0:07.29 apache2 | |
17999 www-data 20 0 620m 3756 1360 S 0.0 0.0 0:00.01 apache2 | |
10797 root 20 0 71256 3696 2904 S 0.0 0.0 0:00.13 sshd | |
18392 root 20 0 71256 3696 2904 S 0.0 0.0 0:00.12 sshd | |
3197 postgres 20 0 99076 3440 2180 S 0.0 0.0 0:26.14 postgres | |
2699 nobody 20 0 73584 3324 2688 S 0.0 0.0 0:00.16 PassengerLoggin | |
3199 postgres 20 0 99960 3116 1164 S 0.0 0.0 0:08.01 postgres | |
3346 postfix 20 0 40104 2608 2016 S 0.0 0.0 0:00.03 qmgr | |
3327 root 20 0 37872 2472 1916 S 0.0 0.0 0:00.21 master | |
2680 www-data 20 0 92568 2412 608 S 0.0 0.0 0:00.00 apache2 | |
3108 ntp 20 0 39068 2364 1744 S 0.0 0.0 0:10.42 ntpd | |
18098 postfix 20 0 39940 2348 1816 S 0.0 0.0 0:00.02 pickup | |
10799 root 20 0 19948 2232 1668 S 0.0 0.0 0:00.09 bash | |
18394 root 20 0 19948 2196 1632 S 0.0 0.0 0:00.04 bash | |
2682 root 20 0 23936 1952 1696 S 0.0 0.0 0:00.02 PassengerWatchd | |
3200 postgres 20 0 67644 1820 432 S 0.0 0.0 0:05.60 postgres | |
3105 redis 20 0 35908 1640 732 S 0.0 0.0 1:22.48 redis-server | |
3198 postgres 20 0 99076 1632 404 S 0.0 0.0 0:32.03 postgres | |
18607 root 20 0 23820 1632 1076 R 0.3 0.0 0:00.01 top | |
2576 root 20 0 52796 1552 1136 S 0.0 0.0 0:02.12 rsyslogd | |
1114 root 20 0 21352 1292 792 S 0.0 0.0 0:00.08 udevd | |
3161 root 20 0 49928 1260 648 S 0.0 0.0 0:01.08 sshd | |
3087 nagios 20 0 25320 1144 636 S 0.0 0.0 0:14.30 nrpe | |
3006 root 20 0 20884 1048 800 S 0.0 0.0 0:00.36 cron | |
1222 root 20 0 21348 948 452 S 0.0 0.0 0:00.00 udevd | |
1223 root 20 0 21348 948 452 S 0.0 0.0 0:00.00 udevd | |
3353 root 20 0 14572 860 716 S 0.0 0.0 0:00.00 getty | |
1 root 20 0 10644 808 676 S 0.0 0.0 0:01.48 init | |
3126 messageb 20 0 29800 700 460 S 0.0 0.0 0:00.00 dbus-daemon | |
2637 root 20 0 4092 644 524 S 0.0 0.0 0:00.00 startpar | |
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd | |
3 root 20 0 0 0 0 S 0.0 0.0 0:00.12 ksoftirqd/0 | |
4 root 20 0 0 0 0 S 0.0 0.0 0:03.59 kworker/0:0 | |
5 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kworker/u:0 | |
6 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/0 | |
7 root rt 0 0 0 0 S 0.0 0.0 0:00.03 migration/1 | |
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0 | |
9 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/1 | |
10 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/2 | |
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0 | |
12 root 20 0 0 0 0 S 0.0 0.0 0:00.08 ksoftirqd/2 | |
13 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/3 | |
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0 | |
15 root 20 0 0 0 0 S 0.0 0.0 0:00.18 ksoftirqd/3 | |
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper | |
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u:1 | |
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch | |
21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenbus | |
133 root 20 0 0 0 0 S 0.0 0.0 0:00.15 sync_supers | |
135 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default | |
137 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd | |
147 root 20 0 0 0 0 S 0.0 0.0 0:02.08 kworker/1:1 | |
232 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 rpciod | |
233 root 20 0 0 0 0 S 0.0 0.0 0:02.90 kworker/3:1 | |
240 root 20 0 0 0 0 S 0.0 0.0 0:00.02 khungtaskd | |
244 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0 | |
245 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark | |
246 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 nfsiod | |
247 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cifsiod | |
252 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto | |
820 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khvcd | |
912 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bond0 | |
970 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kmpathd | |
971 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd | |
972 root 20 0 0 0 0 S 0.0 0.0 0:01.69 kworker/2:1 | |
990 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 deferwq | |
991 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:1 | |
992 root 20 0 0 0 0 S 0.0 0.0 0:01.31 kjournald | |
2608 root 20 0 0 0 0 S 0.0 0.0 0:00.60 flush-202:1 | |
root@unboxab19:~# service --status-all | |
[ + ] apache2 | |
[ - ] bootlogs | |
[ ? ] bootmisc.sh | |
[ ? ] checkfs.sh | |
[ ? ] checkroot-bootclean.sh | |
[ - ] checkroot.sh | |
[ + ] chef-client | |
[ + ] cron | |
[ + ] dbus | |
[ - ] hostname.sh | |
[ ? ] hwclock.sh | |
[ ? ] killprocs | |
[ ? ] kmod | |
[ ? ] miniserver-configure | |
[ - ] motd | |
[ ? ] mountall-bootclean.sh | |
[ ? ] mountall.sh | |
[ ? ] mountdevsubfs.sh | |
[ ? ] mountkernfs.sh | |
[ ? ] mountnfs-bootclean.sh | |
[ ? ] mountnfs.sh | |
[ ? ] mtab.sh | |
[ + ] nagios-nrpe-server | |
[ ? ] networking | |
[ + ] ntp | |
[ + ] postfix | |
[ + ] postgresql | |
[ - ] procps | |
[ ? ] rc.local | |
[ + ] redis-server | |
[ - ] rmnologin | |
[ - ] rsync | |
[ + ] rsyslog | |
[ ? ] screen-cleanup | |
[ ? ] sendsigs | |
[ + ] ssh | |
[ + ] sysstat | |
[ + ] udev | |
[ ? ] udev-mtab | |
[ ? ] umountfs | |
[ ? ] umountnfs.sh | |
[ ? ] umountroot | |
[ - ] urandom | |
[ - ] x11-common | |
root@unboxab19:~# service apache2 stop | |
[ ok ] Stopping web server: apache2 ... waiting ........... | |
root@unboxab19:~# service apache2 start | |
[ ok ] Starting web server: apache2. | |
root@unboxab19:~# ps aux | grep -i apac | |
root 19008 0.1 0.0 92828 3880 ? Ss 12:55 0:00 /usr/sbin/apache2 -k start | |
www-data 19009 0.0 0.0 92568 2412 ? S 12:55 0:00 /usr/sbin/apache2 -k start | |
www-data 19041 0.0 0.0 633844 3756 ? Sl 12:55 0:00 /usr/sbin/apache2 -k start | |
www-data 19072 0.0 0.0 633804 3256 ? Sl 12:55 0:00 /usr/sbin/apache2 -k start | |
root 19408 0.0 0.0 8280 640 pts/2 R+ 12:55 0:00 grep -i apac | |
root@unboxab19:~# ps aux | |
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 1 0.0 0.0 10644 808 ? Ss May12 0:01 init [2] | |
root 2 0.0 0.0 0 0 ? S May12 0:00 [kthreadd] | |
root 3 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/0] | |
root 4 0.0 0.0 0 0 ? S May12 0:03 [kworker/0:0] | |
root 5 0.0 0.0 0 0 ? S May12 0:00 [kworker/u:0] | |
root 6 0.0 0.0 0 0 ? S May12 0:00 [migration/0] | |
root 7 0.0 0.0 0 0 ? S May12 0:00 [migration/1] | |
root 8 0.0 0.0 0 0 ? S May12 0:00 [kworker/1:0] | |
root 9 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/1] | |
root 10 0.0 0.0 0 0 ? S May12 0:00 [migration/2] | |
root 11 0.0 0.0 0 0 ? S May12 0:00 [kworker/2:0] | |
root 12 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/2] | |
root 13 0.0 0.0 0 0 ? S May12 0:00 [migration/3] | |
root 14 0.0 0.0 0 0 ? S May12 0:00 [kworker/3:0] | |
root 15 0.0 0.0 0 0 ? S May12 0:00 [ksoftirqd/3] | |
root 16 0.0 0.0 0 0 ? S< May12 0:00 [khelper] | |
root 17 0.0 0.0 0 0 ? S May12 0:00 [kworker/u:1] | |
root 20 0.0 0.0 0 0 ? S May12 0:00 [xenwatch] | |
root 21 0.0 0.0 0 0 ? S May12 0:00 [xenbus] | |
root 133 0.0 0.0 0 0 ? S May12 0:00 [sync_supers] | |
root 135 0.0 0.0 0 0 ? S May12 0:00 [bdi-default] | |
root 137 0.0 0.0 0 0 ? S< May12 0:00 [kblockd] | |
root 147 0.0 0.0 0 0 ? S May12 0:02 [kworker/1:1] | |
root 232 0.0 0.0 0 0 ? S< May12 0:00 [rpciod] | |
root 233 0.0 0.0 0 0 ? S May12 0:02 [kworker/3:1] | |
root 240 0.0 0.0 0 0 ? S May12 0:00 [khungtaskd] | |
root 244 0.0 0.0 0 0 ? S May12 0:00 [kswapd0] | |
root 245 0.0 0.0 0 0 ? S May12 0:00 [fsnotify_mark] | |
root 246 0.0 0.0 0 0 ? S< May12 0:00 [nfsiod] | |
root 247 0.0 0.0 0 0 ? S< May12 0:00 [cifsiod] | |
root 252 0.0 0.0 0 0 ? S< May12 0:00 [crypto] | |
root 820 0.0 0.0 0 0 ? S May12 0:00 [khvcd] | |
root 912 0.0 0.0 0 0 ? S< May12 0:00 [bond0] | |
root 970 0.0 0.0 0 0 ? S< May12 0:00 [kmpathd] | |
root 971 0.0 0.0 0 0 ? S< May12 0:00 [kmpath_handlerd] | |
root 972 0.0 0.0 0 0 ? S May12 0:01 [kworker/2:1] | |
root 990 0.0 0.0 0 0 ? S< May12 0:00 [deferwq] | |
root 991 0.0 0.0 0 0 ? S May12 0:00 [kworker/0:1] | |
root 992 0.0 0.0 0 0 ? S May12 0:01 [kjournald] | |
root 1114 0.0 0.0 21352 1292 ? Ss May12 0:00 udevd --daemon | |
root 1222 0.0 0.0 21348 948 ? S May12 0:00 udevd --daemon | |
root 1223 0.0 0.0 21348 948 ? S May12 0:00 udevd --daemon | |
gain 2015 56.6 1.5 336140 123256 ? Sl 07:15 192:45 Passenger RackApp: /home/gain/gain_web/current | |
postgres 2022 0.0 0.1 118848 13896 ? Ss 07:15 0:04 postgres: gain gain_production [local] idle in transaction | |
root 2576 0.0 0.0 52796 1552 ? Sl May12 0:02 /usr/sbin/rsyslogd -c5 | |
root 2608 0.0 0.0 0 0 ? S May12 0:00 [flush-202:1] | |
root 2612 0.0 0.4 117904 40204 ? Sl May12 0:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client -d -P /var/run/chef/client.pid -c /etc/chef/client.rb -i 1800 -s 300 -L /var/log/chef/client.log | |
root 2637 0.0 0.0 4092 644 ? Ss May12 0:00 startpar -f -- chef-client | |
root 2690 0.3 0.0 122224 6276 ? Sl May12 3:33 PassengerHelperAgent | |
root 3006 0.0 0.0 20884 1048 ? Ss May12 0:00 /usr/sbin/cron | |
nagios 3087 0.0 0.0 25320 1144 ? Ss May12 0:14 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d | |
redis 3105 0.1 0.0 35908 1640 ? Ssl May12 1:23 /usr/bin/redis-server /etc/redis/redis.conf | |
ntp 3108 0.0 0.0 39068 2364 ? Ss May12 0:10 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:108 | |
107 3126 0.0 0.0 29800 700 ? Ss May12 0:00 /usr/bin/dbus-daemon --system | |
root 3161 0.0 0.0 49928 1260 ? Ss May12 0:01 /usr/sbin/sshd | |
postgres 3194 0.0 0.1 99092 9720 ? S May12 0:03 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf | |
postgres 3197 0.0 0.0 99076 3440 ? Ss May12 0:26 postgres: writer process | |
postgres 3198 0.0 0.0 99076 1632 ? Ss May12 0:32 postgres: wal writer process | |
postgres 3199 0.0 0.0 99960 3116 ? Ss May12 0:08 postgres: autovacuum launcher process | |
postgres 3200 0.0 0.0 67644 1820 ? Ss May12 0:05 postgres: stats collector process | |
root 3327 0.0 0.0 37872 2472 ? Ss May12 0:00 /usr/lib/postfix/master | |
postfix 3346 0.0 0.0 40104 2608 ? S May12 0:00 qmgr -l -t fifo -u | |
root 3353 0.0 0.0 14572 860 hvc0 Ss+ May12 0:00 /sbin/getty 38400 hvc0 | |
gain 3505 29.4 1.5 333764 124024 ? Sl May12 299:06 Passenger RackApp: /home/gain/gain_web/current | |
postgres 3512 0.0 0.1 114216 11620 ? Ss May12 0:02 postgres: gain gain_production [local] idle in transaction | |
gain 6971 68.7 1.4 354428 119368 ? Sl 08:59 162:02 Passenger RackApp: /home/gain/gain_web/current | |
postgres 6978 0.0 0.1 114532 11328 ? Ss 08:59 0:01 postgres: gain gain_production [local] idle in transaction | |
gain 8506 72.0 1.3 329048 106624 ? Sl 09:31 147:15 Passenger RackApp: /home/gain/gain_web/current | |
postgres 8513 0.0 0.1 109468 9780 ? Ss 09:31 0:00 postgres: gain gain_production [local] idle in transaction | |
gain 8514 65.9 1.3 338272 106092 ? Sl 09:31 134:43 Passenger RackApp: /home/gain/gain_web/current | |
postgres 8521 0.0 0.1 109684 10260 ? Ss 09:31 0:00 postgres: gain gain_production [local] idle in transaction | |
gain 10385 16.7 1.4 288528 120120 ? Sl 09:58 29:43 Passenger RackApp: /home/gain/gain_web/current | |
postgres 10392 0.0 0.1 118760 13632 ? Ss 09:58 0:10 postgres: gain gain_production [local] idle in transaction | |
postfix 18098 0.0 0.0 39940 2348 ? S 12:40 0:00 pickup -l -t fifo -u -c | |
root 18392 0.1 0.0 71256 3696 ? Ss 12:50 0:00 sshd: root@pts/2 | |
root 18394 0.0 0.0 19948 2220 pts/2 Ss 12:50 0:00 -bash | |
root 18952 8.3 0.0 23936 476 ? S 12:55 0:01 PassengerWatchdog (cleaning up...) | |
root 19008 0.0 0.0 92828 3880 ? Ss 12:55 0:00 /usr/sbin/apache2 -k start | |
www-data 19009 0.0 0.0 92568 2412 ? S 12:55 0:00 /usr/sbin/apache2 -k start | |
root 19010 0.0 0.0 23936 1948 ? Ssl 12:55 0:00 PassengerWatchdog | |
root 19013 0.8 0.0 116244 2676 ? Sl 12:55 0:00 PassengerHelperAgent | |
nobody 19028 0.0 0.0 73584 3328 ? Sl 12:55 0:00 PassengerLoggingAgent | |
www-data 19041 0.0 0.0 633844 3756 ? Sl 12:55 0:00 /usr/sbin/apache2 -k start | |
www-data 19072 0.0 0.0 633804 3256 ? Sl 12:55 0:00 /usr/sbin/apache2 -k start | |
gain 19320 34.8 0.6 189736 56804 ? Rl 12:55 0:02 ruby /usr/local/rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb | |
root 19409 0.0 0.0 17284 1188 pts/2 R+ 12:55 0:00 ps aux | |
root@unboxab19:~# free -m | |
total used free shared buffers cached | |
Mem: 7962 556 7406 0 53 233 | |
-/+ buffers/cache: 268 7693 | |
Swap: 0 0 0 | |
root@unboxab19:~# passenger-status | |
Version : 4.0.14 | |
Date : 2014-05-13 12:56:19 +0000 | |
Instance: 19008 | |
----------- General information ----------- | |
Max pool size : 6 | |
Processes : 2 | |
Requests in top-level queue : 0 | |
----------- Application groups ----------- | |
/home/gain/gain_web/current#default: | |
App root: /home/gain/gain_web/current | |
Requests in queue: 0 | |
* PID: 19421 Sessions: 0 Processed: 1 Uptime: 41s | |
CPU: 0% Memory : 33M Last used: 41s ago | |
* PID: 19431 Sessions: 0 Processed: 4 Uptime: 41s | |
CPU: 0% Memory : 31M Last used: 1s ago | |
root@unboxab19:~# passenger-memory-stats | |
Version: 4.0.14 | |
Date : 2014-05-13 12:56:31 +0000 | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_GB.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_GB.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. | |
---------- Apache processes ---------- | |
PID PPID VMSize Private Name | |
-------------------------------------- | |
19008 1 90.7 MB 0.6 MB /usr/sbin/apache2 -k start | |
19009 19008 90.4 MB 0.5 MB /usr/sbin/apache2 -k start | |
19041 19008 619.4 MB 1.4 MB /usr/sbin/apache2 -k start | |
19072 19008 619.3 MB 1.3 MB /usr/sbin/apache2 -k start | |
### Processes: 4 | |
### Total private dirty RSS: 3.80 MB | |
-------- Nginx processes -------- | |
### Processes: 0 | |
### Total private dirty RSS: 0.00 MB | |
----- Passenger processes ----- | |
PID VMSize Private Name | |
------------------------------- | |
19010 23.4 MB 0.3 MB PassengerWatchdog | |
19013 114.4 MB 0.8 MB PassengerHelperAgent | |
19028 71.9 MB 0.6 MB PassengerLoggingAgent | |
19320 250.2 MB 32.4 MB Passenger AppPreloader: /home/gain/gain_web/current | |
19421 318.1 MB 33.5 MB Passenger RackApp: /home/gain/gain_web/current | |
19431 257.0 MB 37.4 MB Passenger RackApp: /home/gain/gain_web/current | |
### Processes: 6 | |
### Total private dirty RSS: 104.99 MB | |
top - 12:56:50 up 16:56, 1 user, load average: 2.27, 5.02, 5.64 | |
Tasks: 77 total, 1 running, 76 sleeping, 0 stopped, 0 zombie | |
%Cpu(s): 0.0 us, 0.1 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st | |
KiB Mem: 8153416 total, 576884 used, 7576532 free, 54704 buffers | |
KiB Swap: 0 total, 0 used, 0 free, 239508 cached | |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
19320 gain 20 0 250m 94m 6380 S 0.0 1.2 0:06.28 ruby | |
19431 gain 20 0 257m 92m 3376 S 0.0 1.2 0:00.47 ruby | |
19421 gain 20 0 318m 92m 3200 S 0.0 1.2 0:00.20 ruby | |
2612 root 20 0 115m 39m 1172 S 0.0 0.5 0:00.37 chef-client | |
3194 postgres 20 0 99092 9720 8492 S 0.0 0.1 0:03.69 postgres | |
19438 postgres 20 0 106m 8048 5152 S 0.0 0.1 0:00.02 postgres | |
19430 postgres 20 0 106m 7668 4900 S 0.0 0.1 0:00.02 postgres | |
19412 postgres 20 0 106m 7196 4468 S 0.0 0.1 0:00.01 postgres | |
19041 www-data 20 0 619m 4248 1700 S 0.0 0.1 0:00.02 apache2 | |
19072 www-data 20 0 619m 3968 1468 S 0.0 0.0 0:00.01 apache2 | |
19008 root 20 0 92828 3880 2048 S 0.0 0.0 0:00.01 apache2 | |
18392 root 20 0 71256 3696 2904 S 0.0 0.0 0:00.33 sshd | |
19013 root 20 0 114m 3560 2776 S 0.3 0.0 0:00.30 PassengerHelper | |
3197 postgres 20 0 99076 3440 2180 S 0.0 0.0 0:26.36 postgres | |
19028 nobody 20 0 73584 3328 2688 S 0.0 0.0 0:00.00 PassengerLoggin | |
3199 postgres 20 0 99960 3116 1164 S 0.0 0.0 0:08.12 postgres | |
3346 postfix 20 0 40104 2608 2016 S 0.0 0.0 0:00.03 qmgr | |
3327 root 20 0 37872 2472 1916 S 0.0 0.0 0:00.24 master | |
19009 www-data 20 0 92568 2412 608 S 0.0 0.0 0:00.00 apache2 | |
3108 ntp 20 0 39068 2364 1744 S 0.0 0.0 0:10.84 ntpd | |
18098 postfix 20 0 39940 2348 1816 S 0.0 0.0 0:00.02 pickup | |
18394 root 20 0 19948 2236 1672 S 0.0 0.0 0:00.07 bash | |
19010 root 20 0 23936 1948 1696 S 0.0 0.0 0:00.00 PassengerWatchd | |
3200 postgres 20 0 67644 1820 432 S 0.0 0.0 0:05.76 postgres | |
3105 redis 20 0 35908 1640 732 S 0.3 0.0 1:23.11 redis-server | |
3198 postgres 20 0 99076 1632 404 S 0.0 0.0 0:32.76 postgres | |
19579 root 20 0 23816 1628 1076 R 0.3 0.0 0:00.01 top | |
2576 root 20 0 52796 1552 1136 S 0.0 0.0 0:02.13 rsyslogd | |
1114 root 20 0 21352 1292 792 S 0.0 0.0 0:00.08 udevd | |
3161 root 20 0 49928 1260 648 S 0.0 0.0 0:01.08 sshd | |
3087 nagios 20 0 25320 1144 636 S 0.0 0.0 0:14.48 nrpe | |
3006 root 20 0 20884 1048 800 S 0.0 0.0 0:00.36 cron | |
1222 root 20 0 21348 948 452 S 0.0 0.0 0:00.00 udevd | |
1223 root 20 0 21348 948 452 S 0.0 0.0 0:00.00 udevd | |
3353 root 20 0 14572 860 716 S 0.0 0.0 0:00.00 getty | |
1 root 20 0 10644 808 676 S 0.0 0.0 0:01.55 init | |
3126 messageb 20 0 29800 700 460 S 0.0 0.0 0:00.00 dbus-daemon | |
2637 root 20 0 4092 644 524 S 0.0 0.0 0:00.00 startpar | |
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd | |
3 root 20 0 0 0 0 S 0.0 0.0 0:00.12 ksoftirqd/0 | |
4 root 20 0 0 0 0 S 0.0 0.0 0:03.61 kworker/0:0 | |
5 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kworker/u:0 | |
6 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/0 | |
7 root rt 0 0 0 0 S 0.0 0.0 0:00.03 migration/1 | |
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0 | |
9 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/1 | |
10 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/2 | |
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0 | |
12 root 20 0 0 0 0 S 0.0 0.0 0:00.10 ksoftirqd/2 | |
13 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/3 | |
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0 | |
15 root 20 0 0 0 0 S 0.0 0.0 0:00.18 ksoftirqd/3 | |
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper | |
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u:1 | |
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch | |
21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenbus | |
133 root 20 0 0 0 0 S 0.0 0.0 0:00.15 sync_supers | |
135 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default | |
137 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd | |
147 root 20 0 0 0 0 S 0.0 0.0 0:02.09 kworker/1:1 | |
232 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 rpciod | |
233 root 20 0 0 0 0 S 0.0 0.0 0:02.91 kworker/3:1 | |
240 root 20 0 0 0 0 S 0.0 0.0 0:00.02 khungtaskd | |
244 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0 | |
245 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark | |
246 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 nfsiod | |
247 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cifsiod | |
252 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto | |
820 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khvcd | |
912 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bond0 | |
970 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kmpathd | |
971 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd | |
972 root 20 0 0 0 0 S 0.0 0.0 0:01.70 kworker/2:1 | |
990 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 deferwq | |
991 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:1 | |
992 root 20 0 0 0 0 S 0.0 0.0 0:01.31 kjournald | |
2608 root 20 0 0 0 0 S 0.0 0.0 0:00.60 flush-202:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment