Hide Forgot
Description of problem: NFS server killed and nfs.log reports "DRC failed to detect duplicates" Test inluded creating data of random size files, inside several directories. Directories are having quota limits set. Version-Release number of selected component (if applicable): glusterfs-3.4.0.49rhs-1.el6rhs.x86_64 How reproducible: happened on this build. Steps to Reproduce: 1. create a 6x2 volume, start it 2. mount over nfs, create 10 directories 3. set limit of 1TB on root of the volume and 10GB on each directory 4. start creating data inside each directory. Actual results: nfsd is killed nfs.log reports, [2013-12-19 21:40:01.826319] E [rpc-drc.c:499:rpcsvc_add_op_to_cache] 0-rpc-service: DRC failed to detect duplicates [2013-12-19 21:40:01.839258] E [rpc-drc.c:499:rpcsvc_add_op_to_cache] 0-rpc-service: DRC failed to detect duplicates [2013-12-19 21:40:01.848096] E [rpc-drc.c:499:rpcsvc_add_op_to_cache] 0-rpc-service: DRC failed to detect duplicates [2013-12-19 21:40:01.880223] E [rpc-drc.c:499:rpcsvc_add_op_to_cache] 0-rpc-service: DRC failed to detect duplicates [2013-12-19 21:40:01.890184] E [rpc-drc.c:499:rpcsvc_add_op_to_cache] 0-rpc-service: DRC failed to detect duplicates Expected results: DRC should detect duplicate requests, test mentioned above is just about creating data, this should pass. Additional info:
The log should also include the diagnostic message why the DRC failed along with the cache-hit/miss count etc for better usability purpose.
This issue is seen even without quota enabled on volume.
(In reply to Saurabh from comment #4) > This issue is seen even without quota enabled on volume. Here, the "DRC failed to detect duplicates" logs are seen in numbers though nfsd is still running. if it gets killed will update the BZ, as the script to created data is still running.
(In reply to Saurabh from comment #5) > (In reply to Saurabh from comment #4) > > This issue is seen even without quota enabled on volume. > > Here, the "DRC failed to detect duplicates" logs are seen in numbers though > nfsd is still running. if it gets killed will update the BZ, as the script > to created data is still running. I kept running the script for creating data, but the nfsd is not killed. This time the quota was not enabled.
Newer versions of RH(G)S have DRC disabled by default due to instability issues. We are currently not planning to resolve these issues in Gluster/NFS. When progress is made in upstream bug 1105883, we can revisit this decision.
*** Bug 1049215 has been marked as a duplicate of this bug. ***
*** Bug 1044909 has been marked as a duplicate of this bug. ***