Hi All.
I got a system problem since FreeBSD 13 as follows (Prior 12, I have no impression about the issue).
System freeze until hardware reset.
Version of FreeBSD.
My system installed physical memory size: 8GB and SWAP size: 2GB
Using (root on) ZFS and ARC
And monitor system resource continue and trying to find out which one exhaust memory by
After google, I got some information about tuning system variable, but I don't understand, therefore known current value list as follows.
Can help me debug/suggestion/tip for troubleshoot?
Thanks very much.
I got a system problem since FreeBSD 13 as follows (Prior 12, I have no impression about the issue).
Code:
Jan 30 11:22:47 test kernel: [116123] pid 50340 (mysqld), jid 1, uid 88, was killed: a thread waited too long to allocate a page
Jan 30 11:22:47 test kernel: [116134] pid 32665 (php-fpm), jid 2, uid 80, was killed: a thread waited too long to allocate a page
...
Jan 30 11:39:07 test kernel: [117080] swap_pager: cannot allocate bio
...
Jan 30 14:06:11 test kernel: [125979] watchdog pre-timeout, WD_SOFT_LOG
Jan 30 14:06:11 test kernel: [125979] watchdog pre-timeout, WD_SOFT_PRINTF
Jan 30 19:30:33 test kernel: [127986] pid 61858 (pickup), jid 3, uid 125, was killed: failed to reclaim memory
Version of FreeBSD.
Code:
FreeBSD epopen.com 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 releng/13.1-n250169-c3c13035ef2 EpopenKernel_13_1-RELEASE_2022-05-08 amd64
My system installed physical memory size: 8GB and SWAP size: 2GB
Using (root on) ZFS and ARC
And monitor system resource continue and trying to find out which one exhaust memory by
top
as follows
Code:
last pid: 13312; load averages: 0.26, 1.02, 1.00 up 0+14:53:11 10:23:30
102 processes: 1 running, 100 sleeping, 1 zombie
CPU: 0.8% user, 1.5% nice, 0.7% system, 0.8% interrupt, 96.3% idle
Mem: 228M Active, 1532M Inact, 964M Wired, 40K Buf, 5113M Free
ARC: 214M Total, 68M MFU, 83M MRU, 163K Anon, 2216K Header, 61M Other
58M Compressed, 197M Uncompressed, 3.38:1 Ratio
Swap: 2048M Total, 2048M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
49 root 52 20 0 103M 53M select 0 2:53 0.00% python3.9
55271 mysql 57 20 0 926M 612M select 1 2:15 0.00% mysqld
30 11211 10 20 0 79M 32M kqread 1 0:15 0.00% memcached
23190 www 1 24 0 232M 73M accept 0 0:11 0.00% php-fpm
32 www 54 20 0 97M 34M piperd 0 0:09 0.00% httpd
....
After google, I got some information about tuning system variable, but I don't understand, therefore known current value list as follows.
Code:
vfs.zfs.arc.max: 268435456
vm.pfault_oom_attempts: 3
vm.pageout_oom_seq: 12
vm.pfault_oom_wait: 10
Can help me debug/suggestion/tip for troubleshoot?
Thanks very much.