vsftpd and other processes terminated due to OOM scenario
This document (000020252) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 15 SP2
Following messages may be observed in dmesg and /var/log/messages:
kernel: vsftpd invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
kernel: Out of memory: Killed process 48038 (sshd) total-vm:127000kB, anon-rss:0kB, file-rss:5200kB, shmem-rss:0kB
The issue is worked around by setting 'isolate_network=NO' in /etc/vsftpd.conf
Each namespace may create many raw sockets which are used as control sockets.
The number of raw sockets created depends on the number of possible cpus.
The out of memory scenario is triggered because the kmem cache memory for RAW and RAWv6 sockets are not getting freed as soon as the FTP connection is closed.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020252
- Creation Date: 30-Jul-2021
- Modified Date:30-Jul-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com