ubuntu内存泄漏

zbdgwd5y  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(558)

我有一个虚拟服务器ubuntu16.0.4,内存2gb。我安装的所有应用程序:
java8(openjdk)
帕亚拉5
vsftpd公司
我经常注意到我的payara web服务器坏了。当我检查日志文件时,我看到一些导致java进程终止的内存不足错误。
免费-m:

total        used        free      shared  buff/cache   available
Mem:           2000        1811          81          20         106          41
Swap:             0           0           0

顶部:

top - 09:28:01 up 2 days, 40 min,  2 users,  load average: 0.00, 0.21, 0.78
Tasks: 115 total,   1 running, 114 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.0 us,  0.0 sy,  0.0 ni, 98.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  2048080 total,    82664 free,  1855900 used,   109516 buff/cache
KiB Swap:        0 total,        0 free,        0 used.    41752 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 7354 root      20   0 2698116 449776  10416 S  1.3 22.0   7:15.46 java
 7980 root      20   0   92828   3768   2832 S  0.3  0.2   0:00.25 sshd
 8506 root      20   0   40488   3804   3236 R  0.3  0.2   0:00.06 top
    1 root      20   0   37724   4520   2824 S  0.0  0.2   0:21.52 systemd
    2 root      20   0       0      0      0 S  0.0  0.0   0:00.17 kthreadd
    3 root      20   0       0      0      0 S  0.0  0.0   0:11.26 ksoftirqd/0
    5 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S  0.0  0.0   2:28.32 rcu_sched
    8 root      20   0       0      0      0 S  0.0  0.0   0:00.00 rcu_bh
    9 root      rt   0       0      0      0 S  0.0  0.0   0:00.00 migration/0
   10 root      rt   0       0      0      0 S  0.0  0.0   0:00.74 watchdog/0
   11 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kdevtmpfs
   12 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 netns
   13 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 perf
   14 root      20   0       0      0      0 S  0.0  0.0   0:00.07 khungtaskd
   15 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 writeback
   16 root      25   5       0      0      0 S  0.0  0.0   0:00.00 ksmd

htop公司:

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题