more weird bugs with mmap-ing via NFS

Matthew Dillon dillon at apollo.backplane.com
Wed Mar 22 01:54:00 UTC 2006


:>    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 at backplane.com>


More information about the freebsd-stable mailing list