Re: NFS on 5.4
On 13. jun. 2005, at 10.29, Marko uk wrote: I have same hardware as before, when 5.3 was installed, except the installation is new, 5.4. I have NFS mounted and some FTP app is using it extensively and server crashes once / day. How much memory do you have on the server? You may want to adjust vm.kmem_size_max. I have it set to 419430400 (400MB) on my 2 and 4G RAM servers. I have recently upgraded 5 NFS servers from 5.3-STABLE to 5.4-RELEASE- p2, and have had no ill effects so far. I had frequent crashes on 5.2.x before setting kmem_size_max (it was a compile time option back then), so I have kept it that way since. Frode Nordahl [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS on 5.4
Hello ! Does anyone knows, what's going on with NFS on 5.4 ? I have same hardware as before, when 5.3 was installed, except the installation is new, 5.4. I have NFS mounted and some FTP app is using it extensively and server crashes once / day. I have noticed: After 8 hours of uptime... su-2.05b# netstat -m 739 mbufs in use 736/32768 mbuf clusters in use (current/max) 0/3/4464 sfbufs in use (current/peak/max) 1656 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 749 calls to protocol drain routines suddenly after 5 minutes... 4294962365 mbufs in use 359/25600 mbuf clusters in use (current/max) 10/37/6656 sfbufs in use (current/peak/max) 4193789 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 1453 requests for I/O initiated by sendfile 0 calls to protocol drain routines soon after that ... 4294961974 mbufs in use 358/25600 mbuf clusters in use (current/max) 10/37/6656 sfbufs in use (current/peak/max) 4193689 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 1729 requests for I/O initiated by sendfile 4 calls to protocol drain routines Any clue ? Tnx smime.p7s Description: S/MIME Cryptographic Signature
Re: NFS on 5.4
On Monday 13 June 2005 10:29, Marko uk wrote: Does anyone knows, what's going on with NFS on 5.4 ? I have same hardware as before, when 5.3 was installed, except the installation is new, 5.4. I have NFS mounted and some FTP app is using it extensively and server crashes once / day. I have noticed: Can you please get a debugging kernel on that box and extract a crashdump/ trace? Without this information everything is just guesswork. After 8 hours of uptime... su-2.05b# netstat -m 739 mbufs in use 736/32768 mbuf clusters in use (current/max) 0/3/4464 sfbufs in use (current/peak/max) 1656 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 749 calls to protocol drain routines suddenly after 5 minutes... 4294962365 mbufs in use 359/25600 mbuf clusters in use (current/max) 10/37/6656 sfbufs in use (current/peak/max) 4193789 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 1453 requests for I/O initiated by sendfile 0 calls to protocol drain routines Please see: http://lists.freebsd.org/mailman/htdig/freebsd-stable/2005-April/013703.html -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News pgpYMEKTgV9eY.pgp Description: PGP signature
NFS on 5.4
I have noticed same behaviour on latest 5.4-STABLE which has nfs mounts. I'm running squid on that machine (but both NFS exports are on Linux-2.6.12-rc5): # netstat -m 4294964710 mbufs in use 2824/25600 mbuf clusters in use (current/max) 0/20/6656 sfbufs in use (current/peak/max) 5001 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 247 requests for I/O initiated by sendfile 1454 calls to protocol drain routines 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat Jun 11 02:26:09 CEST 2005 Regards, gg. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS on 5.4
Ups, I forgot: #vmstat -z | grep Mbuf MbufClust: 2048,25600, 4934, 0, 9085312 Mbuf:256,0, 4995,855, 199904149 Regards, gg. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS on 5.4
On Mon, Jun 13, 2005 at 02:14:35PM +0200, Goran Gajic wrote: I have noticed same behaviour on latest 5.4-STABLE which has nfs mounts. I'm running squid on that machine (but both NFS exports are on Linux-2.6.12-rc5): # netstat -m 4294964710 mbufs in use 2824/25600 mbuf clusters in use (current/max) 0/20/6656 sfbufs in use (current/peak/max) 5001 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 247 requests for I/O initiated by sendfile 1454 calls to protocol drain routines 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat Jun 11 02:26:09 CEST 2005 See the release errata. Kris pgpZCdqQ5PwLN.pgp Description: PGP signature
Re: NFS on 5.4
On Mon, Jun 13, 2005 at 10:29:40AM +0200, Marko ??uk wrote: Hello ! Does anyone knows, what's going on with NFS on 5.4 ? I have same hardware as before, when 5.3 was installed, except the installation is new, 5.4. I have NFS mounted and some FTP app is using it extensively and server crashes once / day. I have noticed: After 8 hours of uptime... su-2.05b# netstat -m 739 mbufs in use 736/32768 mbuf clusters in use (current/max) 0/3/4464 sfbufs in use (current/peak/max) 1656 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 749 calls to protocol drain routines suddenly after 5 minutes... 4294962365 mbufs in use 359/25600 mbuf clusters in use (current/max) 10/37/6656 sfbufs in use (current/peak/max) 4193789 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 1453 requests for I/O initiated by sendfile 0 calls to protocol drain routines See the release errata; this is not an indication of a problem. Kris pgpBvozr43iVg.pgp Description: PGP signature
Re: NFS on 5.4
On Monday 13 June 2005 13:18, Goran Gajic wrote: Ups, I forgot: Hello Goran, If you would reply to existing messages instead of posting new threads that would be very helpful it makes browsing the mail archive, and following conversation in a threaded mail reader much easier. Also you seem to be E-mailing [EMAIL PROTECTED], this clearly works but seems to confuse my mail client (KMail) and causes it to setup a reply to freebsd-stable@freebsd.org, and [EMAIL PROTECTED] by default, meaning replies to your posts from my client, and perhaps others, will be duplicated unless the sender removes the @www themselves. If you could send your messages to freebsd-stable@freebsd.org, I don't think this would occur. #vmstat -z | grep Mbuf MbufClust: 2048,25600, 4934, 0, 9085312 Mbuf:256,0, 4995,855, 199904149 Regards, gg. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks very much for your report, -- Dominic GoodforBusiness.co.uk I.T. Services for SMEs in the UK. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS on 5.4
Aha, ok, thanks... (31 Oct 2004) The results of netstat -m can become incorrect on SMP systems when debug.mpsafenet is set to 1 (default). This is an error in the statistics gathering because of a race condition in the counters, not an actual memory leak. I'll put kernel into debug and see, as Max suggested. Tnx Kris Kennaway wrote: On Mon, Jun 13, 2005 at 10:29:40AM +0200, Marko ??uk wrote: Hello ! Does anyone knows, what's going on with NFS on 5.4 ? I have same hardware as before, when 5.3 was installed, except the installation is new, 5.4. I have NFS mounted and some FTP app is using it extensively and server crashes once / day. I have noticed: After 8 hours of uptime... su-2.05b# netstat -m 739 mbufs in use 736/32768 mbuf clusters in use (current/max) 0/3/4464 sfbufs in use (current/peak/max) 1656 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 749 calls to protocol drain routines suddenly after 5 minutes... 4294962365 mbufs in use 359/25600 mbuf clusters in use (current/max) 10/37/6656 sfbufs in use (current/peak/max) 4193789 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 1453 requests for I/O initiated by sendfile 0 calls to protocol drain routines See the release errata; this is not an indication of a problem. Kris -- Please send all support related questions to [EMAIL PROTECTED] Work @ http://www.xenya.si Private: http://cuk.nu Sports: http://www.cuk.nu Slovenian FreeBSD mirror admin http://www2.si.freebsd.org Slovenian OpenBSD mirror ftp://openbsd.cuk.nu/pub/OpenBSD smime.p7s Description: S/MIME Cryptographic Signature