Bug 1471681 - Steadily high CPU usage
Summary: Steadily high CPU usage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: nfs-ganesha
Classification: Retired
Component: FSAL_GLUSTER
Version: devel
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-17 09:05 UTC by Jiri Lunacek
Modified: 2018-09-24 14:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-24 14:42:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Jiri Lunacek 2017-07-17 09:05:08 UTC
Description of problem:
Each ganesha export with FSAL_GLUSTER consumes 3-10% CPU.

I have just found these two notions of this issue on the internet with no solution yet.
http://lists.gluster.org/pipermail/gluster-users.old/2016-November/028939.html
https://github.com/nfs-ganesha/nfs-ganesha/issues/124


Version-Release number of selected component (if applicable):
nfs-ganesha-2.3.3-1.el7.x86_64
nfs-ganesha-gluster-2.3.3-1.el7.x86_64
glusterfs-ganesha-3.8.13-1.el7.x86_64


Steps to Reproduce:
1. Create a gluster volume, disable gnfs
2. Create ganesha configuration
3. Start nfs-ganesha service
4. Observe a thread which is consuming CPU

Additional info:
Sample export config:
EXPORT{
	Export_Id= 19 ;
	Path = "/clientmounts/replicated/test";
	FSAL {
		name = GLUSTER;
		hostname="localhost";
		volume="storage-replicated";
		volpath="/clientmounts/test";
	}
	Access_type = RW;
	Disable_ACL = true;
	Squash="No_root_squash";
	Pseudo="/clientmounts/replicated/test";
	Protocols = "3", "4" ;
	Transports = "UDP","TCP";
	SecType = "sys";
}

Comment 3 renaud.fortier 2017-08-24 14:07:45 UTC
We have the same problem with nfs-ganesha 2.5.1

Comment 4 Jiffin 2018-09-24 08:35:10 UTC
(In reply to renaud.fortier from comment #3)
> We have the same problem with nfs-ganesha 2.5.1

Can u try with latest ganesha. IMO we resolved this issue on current nfs-ganesha

Comment 5 renaud.fortier 2018-09-24 13:11:45 UTC
Indeed! the issue is solved with the latest version. 
Thanks.

Comment 6 Jiffin 2018-09-24 14:42:24 UTC
Thanks closing this bug as fixed in nfs-ganesha 2.6


Note You need to log in before you can comment on or make changes to this bug.