Como reduzir a média de carga ao executar o servidor Glassfish?

0

Estou usando o ramnode e, de vez em quando, recebo um e-mail para reduzir minha média de carga. No meu servidor, instalei apenas o Java, o Glassfish e o vncserver. Eu mantenho o vncserver desligado sempre, a menos que eu precise disso. Eu também parei de postfix. Aqui está uma foto da parte superior:

            top - 11:09:42 up 13 days, 10:24,  1 user,  load average: 4.61, 4.44, 3.95
        Tasks: 221 total,   7 running, 213 sleeping,   1 stopped,   0 zombie
        %Cpu(s): 56.5 us, 36.2 sy,  0.0 ni,  7.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
        KiB Mem:   1048576 total,   734328 used,   314248 free,        0 buffers
        KiB Swap:   262144 total,        0 used,   262144 free.    72236 cached Mem

          PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
        24003 oracle    20   0   21444  13300   1144 S  6.3  1.3   2:41.69 pp
        31338 root      20   0   20128   1772   1064 R  0.3  0.2   0:00.54 top
        32340 oracle    20   0   21444  12496    340 S  0.3  1.2   0:00.01 pp
        32538 oracle    20   0   21444  12496    340 S  0.3  1.2   0:00.01 pp
        32645 oracle    20   0   21444  12496    340 S  0.3  1.2   0:00.01 pp
            1 root      20   0   33472   2396   1088 S  0.0  0.2   0:27.67 init
            2 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kthreadd/69846
            3 root      20   0       0      0      0 S  0.0  0.0   0:00.00 khelper/69846
          157 root      20   0   19436    648    412 S  0.0  0.1   0:00.02 upstart-udev-br
          167 root      20   0   49496   1356    728 S  0.0  0.1   0:00.01 systemd-udevd
          177 message+  20   0   39200   1196    800 S  0.0  0.1   0:00.16 dbus-daemon
          273 root      20   0   43408   1608   1260 S  0.0  0.2   0:00.08 systemd-logind
          325 syslog    20   0  184196   1516    864 S  0.0  0.1   0:58.84 rsyslogd
          327 root      20   0   15352    628    304 S  0.0  0.1   0:00.00 upstart-socket-
          328 root      20   0   15236    572    296 S  0.0  0.1   0:00.00 upstart-file-br
          513 root      20   0   61340   2180   1500 S  0.0  0.2   0:01.74 sshd
          516 root      20   0   14952    916    728 S  0.0  0.1   0:00.00 xinetd
          519 root      20   0   23612    936    700 S  0.0  0.1   0:08.39 cron
          562 bind      20   0  172360  15312   1564 S  0.0  1.5   0:00.30 named
          713 root      20   0   83576   1096    344 S  0.0  0.1   0:00.00 saslauthd
          714 root      20   0   83576    784     32 S  0.0  0.1   0:00.00 saslauthd
          746 root      20   0   12744    844    692 S  0.0  0.1   0:00.00 getty
          748 root      20   0   12744    844    696 S  0.0  0.1   0:00.00 getty
         5230 root      20   0 2583848 349072   6248 S  0.0 33.3  30:01.66 java
        11133 root      20   0  103608   4468   3440 S  0.0  0.4   0:00.19 sshd
        11273 root      20   0   18180   2088   1548 S  0.0  0.2   0:00.00 bash
        21399 root      20   0   20228   1844   1068 T  0.0  0.2   0:01.61 top
        23870 oracle    20   0    4404    588    496 S  0.0  0.1   0:00.00 sh
        23871 oracle    20   0    9508   1344   1116 S  0.0  0.1   0:00.17 s
        32128 oracle    20   0   21316  12412    380 R  0.0  1.2   0:00.00 pp
        32137 oracle    20   0   21316  12380    348 S  0.0  1.2   0:00.00 pp
        32141 oracle    20   0   21316  12372    340 S  0.0  1.2   0:00.00 pp
        32147 oracle    20   0   21316  12380    348 S  0.0  1.2   0:00.00 pp
        32151 oracle    20   0   11964   1016    844 S  0.0  0.1   0:00.00 awk
        32152 oracle    20   0    9492    764    548 S  0.0  0.1   0:00.00 timeout.sh
        32153 oracle    20   0   21316  12372    340 S  0.0  1.2   0:00.00 pp
        32158 oracle    20   0   21316  12380    348 S  0.0  1.2   0:00.00 pp
        32161 oracle    20   0   11964   1016    844 S  0.0  0.1   0:00.00 awk
        32162 oracle    20   0   21316  12372    340 S  0.0  1.2   0:00.00 pp
        32164 oracle    20   0    9492    764    548 S  0.0  0.1   0:00.00 timeout.sh
        32168 oracle    20   0   21316  12380    348 S  0.0  1.2   0:00.00 pp
        32171 oracle    20   0   11964   1016    844 S  0.0  0.1   0:00.00 awk
        32173 oracle    20   0    9492    756    548 S  0.0  0.1   0:00.00 timeout.sh
        32174 oracle    20   0   21316  12372    340 S  0.0  1.2   0:00.00 pp
        32179 oracle    20   0   21316  12380    348 S  0.0  1.2   0:00.00 pp
        32182 oracle    20   0   11964   1020    844 S  0.0  0.1   0:00.00 awk
        32183 oracle    20   0   21316  12372    340 S  0.0  1.2   0:00.00 pp
        32184 oracle    20   0    9492    760    548 S  0.0  0.1   0:00.00 timeout.sh
        32190 oracle    20   0   21444  12504    348 S  0.0  1.2   0:00.00 pp
        32193 oracle    20   0   11964   1020    844 S  0.0  0.1   0:00.00 awk
        32194 oracle    20   0   21444  12496    340 S  0.0  1.2   0:00.00 pp
        32195 oracle    20   0    9492    764    548 S  0.0  0.1   0:00.00 timeout.sh
        32204 oracle    20   0   11964   1020    844 S  0.0  0.1   0:00.00 awk
        32205 oracle    20   0    9492    764    548 S  0.0  0.1   0:00.00 timeout.sh
        32314 oracle    20   0   21444  12504    348 S  0.0  1.2   0:00.00 pp
        32318 oracle    20   0   21444  12496    340 S  0.0  1.2   0:00.00 pp
        32323 oracle    20   0   21444  12504    348 S  0.0  1.2   0:00.00 pp
        32326 oracle    20   0   11964   1024    844 S  0.0  0.1   0:00.00 awk
        32327 oracle    20   0    9492    760    548 S  0.0  0.1   0:00.00 timeout.sh
        32328 oracle    20   0   21444  12496    340 S  0.0  1.2   0:00.00 pp
        32334 oracle    20   0   21444  12504    348 S  0.0  1.2   0:00.00 pp
    
por mlhazan 29.12.2017 / 17:15

0 respostas