Bug 1372472

Summary: samba with vfs_fruit eats endless RAM
Product: Red Hat Enterprise Linux 7 Reporter: Harald Reindl <h.reindl>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED NEXTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: asn, gdeschner, jrivera
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-07 16:08:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
memory usage none

Description Harald Reindl 2016-09-01 20:15:42 UTC
Created attachment 1196948 [details]
memory usage

see screenshot, it's not normal that a fileserver process eats that amount of memory just because a view clients working with SMB as network drive - pretty sure a terrible memory leak (sometimes also affecting Fedora 23 just with window sclients storing large files over a slow openvpn tunnel and so not able to overwheelm any hardware on the other side)

[root@nfs:~]$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

[root@nfs:~]$ rpm -qa | grep samba
samba-libs-4.2.10-7.el7_2.x86_64
samba-common-4.2.10-7.el7_2.noarch
samba-client-libs-4.2.10-7.el7_2.x86_64
samba-4.2.10-7.el7_2.x86_64
samba-common-tools-4.2.10-7.el7_2.x86_64
samba-common-libs-4.2.10-7.el7_2.x86_64
____________________________________________

 access based share enum = yes
 hide unreadable = yes
 inherit permissions = yes
 inherit acls = yes
 nt acl support = no
 browseable = yes
 writeable = yes
 guest ok = no
 wide links = no
 follow symlinks = no
 oplocks = no
 level2 oplocks = no
 vfs objects = catia fruit streams_xattr
____________________________________________

fun is over when system processes start hanging, logind get killed, and nfs clients hostng a virtual machine reporting lost connections because eveysthing stucks for 120 seconds

Sep  1 21:44:12 nfs systemd: systemd-logind.service watchdog timeout (limit 1min)!
Sep  1 21:44:12 nfs systemd: systemd-logind.service: main process exited, code=killed, status=6/ABRT
Sep  1 21:44:12 nfs systemd: Unit systemd-logind.service entered failed state.
Sep  1 21:44:12 nfs systemd: systemd-logind.service failed.
Sep  1 21:44:12 nfs systemd: systemd-logind.service has no holdoff time, scheduling restart.
Sep  1 21:44:12 nfs systemd: Starting Login Service...
Sep  1 21:44:13 nfs systemd: Started Login Service.

Comment 2 Harald Reindl 2016-09-02 09:01:21 UTC
in other words RHEL7/CentOS7 is still missing that 4 month old patches?