Skip to contentSkip to conversation

nfsd: too may open TCP sockets

DISCUSSION Jan Kasprzak 2 participants 2 messages Nov 11, 2004 – Nov 13, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

I've got the following on my server (after migrating home directories of ~2200 users and serving ~200 clients from it):

nfsd: too many open TCP sockets, consider increasing the number of nfsd threads

We have increased nfsd threads to 50, then 100, and now I am at 200:

# ps ax|grep -c nfsd
202

The server has load avg <1, so maybe it should be possible to increase a per-thread descriptor count or something like that. How can I do this? I think it is an overkill to have 200 nfsd threads on a machine with only 4 CPUs and ~10 RAID volumes.

Thanks,

-Yenya

Signature · 3 lines
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
Quoted 2 lines

Whatever the Java applications and desktop dances may lead to, Unix will <
still be pushing the packets around for a quite a while. --Rob Pike <

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 9 lines · Jan Kasprzak

Hi all,

I've got the following on my server (after migrating home directories of ~2200 users and serving ~200 clients from it):

nfsd: too many open TCP sockets, consider increasing the number of nfsd threads

We have increased nfsd threads to 50, then 100, and now I am at 200:

Quoted 7 lines
# ps ax|grep -c nfsd
202

The server has load avg <1, so maybe it should be possible to increase a per-thread descriptor count or something like that. How can I do this? I think it is an overkill to have 200 nfsd threads on a machine with only 4 CPUs and ~10 RAID volumes.

I don't agree. I think 200 is quite a reasonable number of nfsd(s).

Ian

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs