Re: NFS on 5.4

2005-06-14 Thread Frode Nordahl

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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS on 5.4

2005-06-13 Thread Marko Čuk

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

2005-06-13 Thread Max Laier
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


pgpgXch0Ko2W3.pgp
Description: PGP signature


Re: NFS on 5.4

2005-06-13 Thread Kris Kennaway
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


pgpCyyI5VKsws.pgp
Description: PGP signature


Re: NFS on 5.4

2005-06-13 Thread Marko Cuk

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