SOLVED Services occupy too much memory, causing the program to exit

qq8554650

Dabbler
Joined
Feb 7, 2022
Messages
23
Translated from google
setting
echo 67556552704 > /sys/module/zfs/parameters/zfs_arc_max


docker run mysql, the program loops to write data. As the services memory increases, the program exits.
But I think the memory problem has nothing to do with them, top M can see that the program has exited
Question: What do services mean? what is taking up the memory
 

Attachments

  • 2023-02-02-13-19-44.mp4
    311.8 KB · Views: 0

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
Please check the forum rules on how to ask questions such that we can help you best. In particular we need your hardware details.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Translated from google
setting
echo 67556552704 > /sys/module/zfs/parameters/zfs_arc_max


docker run mysql, the program loops to write data. As the services memory increases, the program exits.
But I think the memory problem has nothing to do with them, top M can see that the program has exited
Question: What do services mean? what is taking up the memory
Try to run `htop` instead and sort it for memory.
 

qq8554650

Dabbler
Joined
Feb 7, 2022
Messages
23
尝试运行“htop”并对其进行内存排序。
1675761324283.png
1675761352982.png
1675761376726.png

English is not good, please see the picture directly
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Are you running a lot pf TrueCharts apps?
 

qq8554650

Dabbler
Joined
Feb 7, 2022
Messages
23
Are you running a lot pf TrueCharts apps?
(use google translate)
I used docker to run mysql before, and took a screenshot after the services stopped. Trying to upgrade to the latest version can solve it
  • NAS-119296 fix memory leak in py-libzfs/ZFS.find_import
 

qq8554650

Dabbler
Joined
Feb 7, 2022
Messages
23
Are you running a lot pf TrueCharts apps?
TrueNAS-SCALE-22.12.0, docker runs the same version of mysql, and writes the same program. one night without any problems
 
Top