phoniex 发表于 2024-7-9 13:57:38

标准版内存利用率太高

试了几个版本都这样,8G内存内存利用率刚开机是30,过一天就70了,还在涨,这是有内存泄露吗?大家如何解决的

musi97227 发表于 2024-7-11 10:35:37

我这边的标准版之前也出现也出现这样的问题,原来没有留意,在机房看到路由的故障灯偶尔闪红光,当时还是没有重视,也没有及时查看是什么情况,结果那天下午路由死机了,远程进不去,才想起之前的路由故障灯的情况,然后当时情况只能手动重启了。重启之后查了/var/log/ 下的日志
其中有觉得重要,有记录的是这么几段吧:
Apr 29 10:55:19 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 29 10:55:20 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 29 10:55:21 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 29 10:55:22 localhost rc.local: pacookie=pauser_1711589020
Apr 29 10:55:22 localhost rc.local: pahw=0
Apr 29 10:55:22 localhost rc.local: release=0
Apr 29 10:55:22 localhost rc.local: port=443
Apr 29 10:55:22 localhost rc.local: maxchild=200
Apr 29 10:55:22 localhost rc.local: read_timeout=60
Apr 29 10:55:22 localhost rc.local: socktfd=
Apr 29 10:55:22 localhost rc.local: pacookie=pauser_1711589020
Apr 29 10:55:22 localhost rc.local: pahw=0
Apr 29 10:55:22 localhost rc.local: release=0
Apr 29 10:55:22 localhost rc.local: port=443
Apr 29 10:55:22 localhost rc.local: maxchild=200
Apr 29 10:55:22 localhost rc.local: read_timeout=60
Apr 29 10:55:22 localhost rc.local: socktfd=

chatgpt解释:"系统中的某个程序 /usr/ramdisk/bin/iked 在运行时出现了一个动态链接库的问题。错误提示表明缺少了 libcrypto.so.1.1 这个共享库文件,因此程序无法加载。"

然后死机的原因,应该是这一段:

Apr 28 07:25:29 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:30 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:31 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:32 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:34 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:35 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:36 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:37 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:38 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:40 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:41 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:42 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:43 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:45 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:46 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:47 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:49 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:50 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:51 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:52 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:53 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:55 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:56 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:57 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:58 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:25:59 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:00 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:01 localhost NetworkManager: <info> device (eth1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Apr 28 07:26:01 localhost NetworkManager: <warn> device (eth1): Activation: failed for connection 'eth1'
Apr 28 07:26:01 localhost NetworkManager: <info> device (eth1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr 28 07:26:02 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:04 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:05 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:07 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:08 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:09 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:10 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:11 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:12 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:14 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:15 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:16 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:17 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:18 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:20 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:21 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:22 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:23 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:25 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:26 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:27 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:28 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:30 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:31 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:32 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:33 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:34 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:36 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:37 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:38 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:39 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:41 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:42 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:43 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:44 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:46 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:47 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:48 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:49 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:50 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:51 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:26:53 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:27:00 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:27:10 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:27:11 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:27:12 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Apr 28 07:27:14 localhost rc.local: /usr/ramdisk/bin/iked: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
chatgtp 给出的解释:“这段日志显示了一系列关于内存管理和进程被终止的信息:

内核调用栈显示了一个进程被终止的情况,其中包括进程 ID(PID)、用户 ID(UID)、总虚拟内存大小、匿名页 RSS(Resident Set Size)、文件页 RSS 和共享内存页 RSS。

从 "Out of memory" 的提示可以看出,系统出现了内存耗尽(OOM)的情况。内核选择了终止进程 panaos 来释放内存。

内核报告了终止进程的一些信息,包括其进程 ID、UID、总虚拟内存大小、匿名页 RSS、文件页 RSS 和共享内存页 RSS。

进程 panaos 尝试访问 /dev/mem,这可能是导致其被终止的一个原因。

综上所述,系统在遇到内存耗尽问题时,选择了终止进程来释放内存。进程 panaos 被终止,可能是因为它的内存使用量较大,且可能尝试访问了不允许的内存区域。你可能需要进一步检查进程 panaos 的配置和行为,以及系统的内存使用情况,以确定如何解决这个问题。”

内存占用过高,导致系统先终止了panaos

知道了是内存占用过高造成的,之后的两天观察了一下,果然那个内存真的,每天都在升高。

但是也没有什么好的解决办法,标准版没有技术支持,只能设置了每天夜里空闲时间定时重启,最近留意到好像论坛也有人提出标准版内存占用过高的问题,把以上的贴出来,希望官方看到的时候能帮忙看看吧。
freebsd版已经打算停止维护了,但是linux版本在实际使用的时候又有很多问题。

musi97227 发表于 2024-7-11 10:43:20

上面复制错了pr 29 17:44:52 localhost kernel: [<ffffffffb0f81340>] dump_stack+0x19/0x1b
Apr 29 17:44:52 localhost kernel: [<ffffffffb0f7bc60>] dump_header+0x90/0x229
Apr 29 17:44:52 localhost kernel: [<ffffffffb0b0e80b>] ? cred_has_capability+0x6b/0x120
Apr 29 17:44:52 localhost kernel: [<ffffffffc04faae6>] ? i915_gem_shrinker_oom+0x176/0x180
Apr 29 17:44:52 localhost kernel: [<ffffffffb09c208d>] oom_kill_process+0x2cd/0x490
Apr 29 17:44:52 localhost kernel: [<ffffffffb0b0e8ee>] ? selinux_capable+0x2e/0x40
Apr 29 17:44:52 localhost kernel: [<ffffffffb09c277a>] out_of_memory+0x31a/0x500
Apr 29 17:44:52 localhost kernel: [<ffffffffb0f7c77d>] __alloc_pages_slowpath+0x5db/0x729
Apr 29 17:44:52 localhost kernel: [<ffffffffb09c8d76>] __alloc_pages_nodemask+0x436/0x450
Apr 29 17:44:52 localhost kernel: [<ffffffffb0a1c269>] alloc_pages_vma+0xa9/0x200
Apr 29 17:44:52 localhost kernel: [<ffffffffb0a09805>] __read_swap_cache_async+0x115/0x190
Apr 29 17:44:52 localhost kernel: [<ffffffffb0a098a6>] read_swap_cache_async+0x26/0x60
Apr 29 17:44:52 localhost kernel: [<ffffffffb0a09e33>] do_swap_page_readahead+0x213/0x570
Apr 29 17:44:53 localhost kernel: [<ffffffffb0b8d072>] ? radix_tree_lookup_slot+0x22/0x50
Apr 29 17:44:53 localhost kernel: [<ffffffffb09bd45e>] ? __find_get_page+0x1e/0xa0
Apr 29 17:44:53 localhost kernel: [<ffffffffb09f21d0>] do_swap_page+0x4f0/0x7c0
Apr 29 17:44:53 localhost kernel: [<ffffffffb09bdf6b>] ? unlock_page+0x2b/0x30
Apr 29 17:44:53 localhost kernel: [<ffffffffb09f5cb7>] handle_mm_fault+0xaa7/0xfb0
Apr 29 17:44:54 localhost kernel: [<ffffffffb0a60d72>] ? user_path_at_empty+0x72/0xc0
Apr 29 17:44:54 localhost kernel: [<ffffffffb0f8e653>] __do_page_fault+0x213/0x500
Apr 29 17:44:54 localhost kernel: [<ffffffffb0f8e975>] do_page_fault+0x35/0x90
Apr 29 17:44:54 localhost kernel: [<ffffffffb0f8aac9>] ? error_swapgs+0xaa/0xc0
Apr 29 17:44:55 localhost kernel: [<ffffffffb0f8a778>] page_fault+0x28/0x30
Apr 29 17:44:55 localhost kernel: Mem-Info:
Apr 29 17:44:55 localhost kernel: active_anon:7 inactive_anon:38 isolated_anon:0#012 active_file:405 inactive_file:365 isolated_file:0#012 unevictable:13448 dirty:0 writeback:22 unstable:0#012 slab_reclaimable:4255 slab_unreclaimable:20289#012 mapped:1761 shmem:863 pagetables:1171 bounce:0#012 free:21514 free_pcp:240 free_cma:0
Apr 29 17:44:55 localhost kernel: Node 0 DMA free:14948kB min:280kB low:348kB high:420kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15980kB managed:15896kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:4kB slab_unreclaimable:124kB kernel_stack:16kB pagetables:16kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Apr 29 17:44:55 localhost kernel: lowmem_reserve[]: 0 2763 3688 3688
Apr 29 17:44:55 localhost kernel: Node 0 DMA32 free:54292kB min:50432kB low:63040kB high:75648kB active_anon:8kB inactive_anon:108kB active_file:156kB inactive_file:212kB unevictable:39924kB isolated(anon):0kB isolated(file):0kB present:3060552kB managed:2830120kB mlocked:39820kB dirty:0kB writeback:8kB mapped:3716kB shmem:1608kB slab_reclaimable:6400kB slab_unreclaimable:40976kB kernel_stack:1152kB pagetables:3332kB unstable:0kB bounce:0kB free_pcp:244kB local_pcp:124kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 29 17:44:55 localhost kernel: lowmem_reserve[]: 0 0 924 924
Apr 29 17:44:56 localhost kernel: Node 0 Normal free:16816kB min:16864kB low:21080kB high:25296kB active_anon:20kB inactive_anon:44kB active_file:1464kB inactive_file:1248kB unevictable:13868kB isolated(anon):0kB isolated(file):0kB present:1032192kB managed:949448kB mlocked:13712kB dirty:0kB writeback:80kB mapped:3328kB shmem:1844kB slab_reclaimable:10616kB slab_unreclaimable:40056kB kernel_stack:1376kB pagetables:1336kB unstable:0kB bounce:0kB free_pcp:716kB local_pcp:616kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 29 17:44:56 localhost kernel: lowmem_reserve[]: 0 0 0 0
Apr 29 17:44:56 localhost kernel: Node 0 DMA: 7*4kB (UE) 3*8kB (UE) 3*16kB (UE) 2*32kB (UE) 1*64kB (E) 1*128kB (E) 1*256kB (E) 2*512kB (UE) 1*1024kB (E) 2*2048kB (EM) 2*4096kB (M) = 14948kB
Apr 29 17:44:56 localhost kernel: Node 0 DMA32: 1323*4kB (UEM) 1449*8kB (UEM) 1138*16kB (UEM) 462*32kB (UEM) 69*64kB (M) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 54292kB
Apr 29 17:44:56 localhost kernel: Node 0 Normal: 206*4kB (UE) 641*8kB (UEM) 613*16kB (UEM) 33*32kB (M) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 16816kB
Apr 29 17:44:56 localhost kernel: Node 0 hugepages_total=1 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
Apr 29 17:44:56 localhost kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Apr 29 17:44:56 localhost kernel: 2273 total pagecache pages
Apr 29 17:44:56 localhost kernel: 102 pages in swap cache
Apr 29 17:44:56 localhost kernel: Swap cache stats: add 261984126, delete 261986578, find 755384853/913415133
Apr 29 17:44:56 localhost kernel: Free swap= 1264692kB
Apr 29 17:44:56 localhost kernel: Total swap = 1564668kB
Apr 29 17:44:56 localhost kernel: 1027181 pages RAM
Apr 29 17:44:56 localhost kernel: 0 pages HighMem/MovableOnly
Apr 29 17:44:56 localhost kernel: 78315 pages reserved
Apr 29 17:44:56 localhost kernel: [ pid ]   uidtgid total_vm      rss nr_ptes swapents oom_score_adj name
Apr 29 17:44:56 localhost kernel:    0   497    15942      222      37       94             0 systemd-journal
Apr 29 17:44:57 localhost kernel:    0   519    31843      140      30      383             0 lvmetad
Apr 29 17:44:57 localhost kernel:    0   527    12257      206      26      653         -1000 systemd-udevd
Apr 29 17:44:57 localhost kernel:    0   662    13883      127      28      137         -1000 auditd
Apr 29 17:44:57 localhost kernel:    0   685   5417      175      15       70             0 irqbalance
Apr 29 17:44:57 localhost kernel:    0   687   6596      221      20       93             0 systemd-logind
Apr 29 17:44:57 localhost kernel:     81   690    16612      203      33      188          -900 dbus-daemon
Apr 29 17:44:57 localhost kernel:    998   696    29452      208      29      121             0 chronyd
Apr 29 17:44:57 localhost kernel:    999   711   153058      189      60   1391             0 polkitd
Apr 29 17:44:57 localhost kernel:    0   712   179812       66      20   2100             0 ddns-go
Apr 29 17:44:57 localhost kernel:    0   713   118768      284      83      638             0 NetworkManager
Apr 29 17:44:57 localhost kernel:    0   732    31596      208      22      160             0 crond
Apr 29 17:44:58 localhost kernel: [ 1048]   01048   143570      272      98   2910             0 tuned
Apr 29 17:44:58 localhost kernel: [ 1051]   01051    97402      262      89      526             0 rsyslogd
Apr 29 17:44:59 localhost kernel: [ 1053]   01053   179249       34      27   3118             0 frps
Apr 29 17:44:59 localhost kernel: [ 1361]   01361   265369       45      11       51             0 panaos
Apr 29 17:44:59 localhost kernel: [ 1366]   01366   351415    13329      43      176             0 panaos
Apr 29 17:44:59 localhost kernel: [ 1548]   01548    22427      205      43      289             0 master
Apr 29 17:44:59 localhost kernel: [ 1550]    891550    22497      230      46      295             0 qmgr
Apr 29 17:44:59 localhost kernel: [ 1659]   01659   2008      120       9       67             0 ipe_httpd
Apr 29 17:44:59 localhost kernel: [ 1660]   01660    29596      180      17      821             0 ipe_monitor
Apr 29 17:44:59 localhost kernel: [ 1661]   01661   9841      157      23   6683             0 ipe_datamon
Apr 29 17:44:59 localhost kernel: [ 1662]   01662   1188       96       8      132             0 ipe_xping
Apr 29 17:44:59 localhost kernel: [ 1667]   01667   1123       64       7       41             0 ipe_mgd
Apr 29 17:44:59 localhost kernel: [ 1714]   01714    27804      165      12      158             0 aplan
Apr 29 17:44:59 localhost kernel: [ 2780]   02780    28990      191      14      210             0 ddnsctl
Apr 29 17:44:59 localhost kernel: [ 2821]   02821    28947      179      14      193             0 ipdb_monitor
Apr 29 17:44:59 localhost kernel: [ 2902]   02902    28915      180      15      141             0 opser_crontab
Apr 29 17:44:59 localhost kernel: [ 2934]   02934    29011      190      15      205             0 netev_alarm.sh
Apr 29 17:44:59 localhost kernel: [ 2968]   02968    28947      227      15      177             0 check_apupgrade
Apr 29 17:44:59 localhost kernel: [ 2969]   02969    28915      179      14      145             0 sac_crontab
Apr 29 17:44:59 localhost kernel: [ 3004]   03004    27551      163      10       33             0 agetty
Apr 29 17:44:59 localhost kernel: [ 3005]   03005    27551      158      14       33             0 agetty
Apr 29 17:44:59 localhost kernel: [ 7913]   07913    29596       25      12      831             0 ipe_monitor
Apr 29 17:44:59 localhost kernel: [ 7976]   07976    29011       40      13      204             0 netev_alarm.sh
Apr 29 17:44:59 localhost kernel: [ 7977]   07977    29011       33      13      204             0 netev_alarm.sh
Apr 29 17:44:59 localhost kernel: [ 7978]   07978    28884      213      14      113             0 ipe_msgpush
Apr 29 17:44:59 localhost kernel: [ 8096]   08096    28990       31      12      207             0 ddnsctl
Apr 29 17:44:59 localhost kernel: [ 8112]   08112    29022      118      12      215             0 ddnsctl
Apr 29 17:44:59 localhost kernel: [ 8232]   08232    28915       11      11      144             0 opser_crontab
Apr 29 17:45:00 localhost kernel: [ 8282]   08282    44073      136      42      224             0 crond
Apr 29 17:45:00 localhost kernel: [ 8298]   08298    21895       96      41      121             0 pickup
Apr 29 17:45:00 localhost kernel: [ 8330]   08330    28915       26      12      164             0 sac_crontab
Apr 29 17:45:00 localhost kernel: [ 8336]   08336    28947       57      12      168             0 ipdb_monitor
Apr 29 17:45:00 localhost kernel: Out of memory: Kill process 1366 (panaos) score 9 or sacrifice child
Apr 29 17:45:00 localhost kernel: Killed process 1366 (panaos), UID 0, total-vm:1405660kB, anon-rss:48080kB, file-rss:2052kB, shmem-rss:3184kB
Apr 29 17:45:00 localhost kernel: Program panaos tried to access /dev/mem between baf24000->baf25000.
Apr 29 17:45:01 localhost rc.local: pacookie=pauser_1711589020
Apr 29 17:45:03 localhost rc.local: pahw=0
Apr 29 17:45:03 localhost rc.local: release=0
Apr 29 17:45:03 localhost rc.local: port=443
Apr 29 17:45:03 localhost rc.local: maxchild=200
Apr 29 17:45:03 localhost rc.local: read_timeout=60

应该是这段日志才是:"这段日志显示了一系列关于内存管理和进程被终止的信息:

内核调用栈显示了一个进程被终止的情况,其中包括进程 ID(PID)、用户 ID(UID)、总虚拟内存大小、匿名页 RSS(Resident Set Size)、文件页 RSS 和共享内存页 RSS。

从 "Out of memory" 的提示可以看出,系统出现了内存耗尽(OOM)的情况。内核选择了终止进程 panaos 来释放内存。

内核报告了终止进程的一些信息,包括其进程 ID、UID、总虚拟内存大小、匿名页 RSS、文件页 RSS 和共享内存页 RSS。

进程 panaos 尝试访问 /dev/mem,这可能是导致其被终止的一个原因。

综上所述,系统在遇到内存耗尽问题时,选择了终止进程来释放内存。进程 panaos 被终止,可能是因为它的内存使用量较大,且可能尝试访问了不允许的内存区域。你可能需要进一步检查进程 panaos 的配置和行为,以及系统的内存使用情况,以确定如何解决这个问题"

phoniex 发表于 2024-7-11 21:13:57

看来也只有设置定时重启了

phoniex 发表于 2024-7-11 21:52:37

musi97227 发表于 2024-7-11 10:35
我这边的标准版之前也出现也出现这样的问题,原来没有留意,在机房看到路由的故障灯偶尔闪红光,当时还是没 ...

在哪里设置定时重启

sking9988 发表于 2024-7-12 09:06:27

正常linux机制,是会把闲置的内存尽量用起来的,你看看你开了哪些APP,可以私信我给我下你微信QQ 我远程帮你看看

phoniex 发表于 2024-7-12 18:45:49

sking9988 发表于 2024-7-12 09:06
正常linux机制,是会把闲置的内存尽量用起来的,你看看你开了哪些APP,可以私信我给我下你微信QQ 我远程帮 ...

不用看啥子app都没开,标准版都是这样,专业版不会,我已经试过了。你可以装标准版试试最多3天死机,内存会一直涨。

phoniex 发表于 2024-7-12 18:46:44

phoniex 发表于 2024-7-11 21:52
在哪里设置定时重启

我自己搞定了,重启app

musi97227 发表于 2024-7-15 16:34:20

phoniex 发表于 2024-7-12 18:46
我自己搞定了,重启app

你是用freebsd版那个 系统定时重启app吗? 我的linux版直接定时任务写reboot就是了

phoniex 发表于 2024-7-15 20:30:50

musi97227 发表于 2024-7-15 16:34
你是用freebsd版那个 系统定时重启app吗? 我的linux版直接定时任务写reboot就是了

linux版本,有定时重启app,主要是i2266网卡,怕bsd版本不认识网卡,linux标准版的确问题多
页: [1] 2
查看完整版本: 标准版内存利用率太高