From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECF2213832E for ; Tue, 19 Jul 2016 04:49:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9255A21C0E1; Tue, 19 Jul 2016 04:49:37 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E15AE0A41 for ; Tue, 19 Jul 2016 04:49:36 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id q128so5862375wma.1 for ; Mon, 18 Jul 2016 21:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ImL8Ypq2uWxahLNlPi7Cpf6ILYSsovNJpGeeoMLqKZo=; b=Fb3KvkcRJ0rUqYCveq4dp9g1QqrvTsjVZ1WSSWbqEOs1oprFcNybYOPHiSGtBU9hW5 AwzMqmxtMNoINELBSG2HwqtmFABQ6qjNFubBy3lzEgBrQ7ZhUtnRfDbtD0BptQlsszKd IaFNfTrH4FdAuNyfyMURUW7Q8PYS+zCs3kNMefn/UZNLosAkr6MHrsVbsJNknU5chfrE gV+8qY3q0WGkxYIgOHYYQavR8E68baEYSorsLdpHTfslriy3uStgTh4xWvB6SPRAm68q 8c6GHCvM6ZWzlX6sioQ98FVw2BODf1a3LpfDcA8e2fiIiiGd+wcxJp3jhtyWpQwqTRjt QRvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ImL8Ypq2uWxahLNlPi7Cpf6ILYSsovNJpGeeoMLqKZo=; b=BrK1PZ6mktbHUXPu6F5RslbsAm8Zc+kNV2fgtXA+meyzXR7ZDCbYGLPak2SsJ3dbSi 3cYyT0HacJr09DgBLX1px2sRZdHGABw7Iz27XX/Dd87miLhFMFvtKopHmyCYKfMYGCpj Wl37Bto90a4omWTWKR1dBAxyrPVF/0+isGFqgddp6a1Z++zdn38/d4iAx07kolm3umVB ijql51XJ4tAHQelDz/ZkjZ3TV9DToYeIoFgyR/ibgJUFuQtnlyhHgKtHMHgBSDDQqQwz bTVIDm5C2ysxmYbzCXvLAN6h4ksDSDYJDZ9ayQ+tqnaN7aQPvS2Ek4z8d8uADuOwZnUh gt0w== X-Gm-Message-State: ALyK8tIl+eKDgIpVU7A2tjQXvAcVrxDcmqY8ExnUuJXsbw/srtLl8qWmS86u9/J35+RWYnoD18SG1OwfcfiFyQ== X-Received: by 10.28.7.20 with SMTP id 20mr1551848wmh.52.1468903774608; Mon, 18 Jul 2016 21:49:34 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.194.142.162 with HTTP; Mon, 18 Jul 2016 21:49:34 -0700 (PDT) From: Adam Carter Date: Tue, 19 Jul 2016 14:49:34 +1000 Message-ID: Subject: [gentoo-user] nfsv4 issues To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=001a11443f6cb1e2ee0537f5cff7 X-Archives-Salt: fcb51395-ceef-4fec-baf0-96f73e80be29 X-Archives-Hash: 447133c0773a0ef5c511896dbf3becc7 --001a11443f6cb1e2ee0537f5cff7 Content-Type: text/plain; charset=UTF-8 I'm trying to troubleshoot a newly setup nfs server, which, sometimes has a 30 second pause (tcpdump shows its server waiting). # time touch /usr/portage/distfiles/testfile real 0m30.088s user 0m0.000s sys 0m0.001s I cant see anything in the nfs server debugging so i want to strace nfsd. First i tell it to use single thread so i know i;m stracing the correct thread, but; # grep OPTS_RPC_NFSD nfs #OPTS_RPC_NFSD="8 -N2 -V 3 -V 4 -V 4.1" OPTS_RPC_NFSD="1 -N2 -V 3 -V 4 -V 4.1" # systemctl restart nfs-server # pgrep -lf nfsd 23546 nfsd4_callbacks 23548 nfsd 23549 nfsd 23550 nfsd 23551 nfsd 23552 nfsd 23553 nfsd 23554 nfsd 23555 nfsd So its not respecting the nproc setting. Any ideas? I also tried changing EXPORTFS_TIMEOUT= since its currently set at 30. It didnt help, but perhaps that's because its being ignored too. --001a11443f6cb1e2ee0537f5cff7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm trying to troubleshoot a newly setup nfs serv= er, which, sometimes has a 30 second pause (tcpdump shows its server waitin= g).

# time touch /usr/portage/distfiles/testfile

real=C2=A0= =C2=A0=C2=A0 0m30.088s
user=C2=A0=C2=A0=C2=A0 0m0.000s
sys=C2=A0=C2= =A0=C2=A0=C2=A0 0m0.001s

I cant see anything in the nfs server debug= ging so i want to strace nfsd. First i tell it to use single thread so i kn= ow i;m stracing the correct thread, but;

# grep OPTS_RPC_NFSD nfs#OPTS_RPC_NFSD=3D"8 -N2 -V 3 -V 4 -V 4.1"
OPTS_RPC_NFSD=3D&qu= ot;1 -N2 -V 3 -V 4 -V 4.1"
#=C2=A0 systemctl restart nfs-server
= # pgrep -lf nfsd
23546 nfsd4_callbacks
23548 nfsd
23549 nfsd
23= 550 nfsd
23551 nfsd
23552 nfsd
23553 nfsd
23554 nfsd
23555 n= fsd

So its not respecting the nproc setting. Any ideas? I also= tried changing EXPORTFS_TIMEOUT=3D since its currently set at 30. It didnt= help, but perhaps that's because its being ignored too.
--001a11443f6cb1e2ee0537f5cff7--