Date: Tue, 21 Mar 2006 17:53:50 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Mikhail Teterin <mi+mx@aldan.algebra.com> Cc: alc@freebsd.org, stable@freebsd.org Subject: Re: more weird bugs with mmap-ing via NFS Message-ID: <200603220153.k2M1rouk007739@apollo.backplane.com> References: <200603211607.30372.mi%2Bmx@aldan.algebra.com> <200603211948.28178.mi%2Bmx@aldan.algebra.com> <200603220109.k2M19GVS007470@apollo.backplane.com> <200603212045.39845.mi%2Bmx@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:> tcpdump -s 4096 -n -i <interface> -l port 2049 : :Now I am thoroughly confused, the lines are very repetative: : :tcpdump: verbose output suppressed, use -v or -vv for full protocol decode :listening on em0, link-type EN10MB (Ethernet), capture size 4096 bytes :20:41:55.788436 IP 172.21.128.43.2049 > 172.21.130.86.1445243414: reply ok 60 :20:41:55.788502 IP 172.21.130.86.1445243415 > 172.21.128.43.2049: 1472 write :fh 1090,6005/15141914 5120 (5120) bytes @ 4943872 :20:41:55.788811 IP 172.21.128.43.2049 > 172.21.130.86.1445243415: reply ok 60 :write ERROR: Permission denied :20:41:55.788872 IP 172.21.130.86.1445243416 > 172.21.128.43.2049: 1472 write :fh 1090,6005/15141914 5120 (5120) bytes @ 4947968 :[...] : :The only reason for "permission denied" I know, is the firewall, but neither :the server nor the client even have ipfw loaded... : :Yours, : : -mi Ah ha. That's the problem. I don't know why you are getting a write error, but that is preventing the client from cleaning out the dirty buffers. The number of dirty buffers continues to rise and the client is just cycling on them over and over trying to write them out, because it's just as confused about why it is getting a permission denied error as you are :-) If you can figure out why you are getting that error, and fix it, it will solve the problem. It is an NFS error returned by the server, not a firewall issue. So it probably has something to do either with the way the filesystem being exported was mounted on the server, or the export line in /etc/exports. -Matt Matthew Dillon <dillon@backplane.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603220153.k2M1rouk007739>