raspberrypi / piserver

Raspberry Pi Server wizard to serve Raspbian to network booting Pis
318 stars 60 forks source link

theoretical maxima clients #46

Closed hypery11 closed 5 years ago

hypery11 commented 5 years ago

I was wonder is there any limit to max clients that pi-server supported?

may be cause by NFS mount limit or max number of socket on Debian?

and how to increase the limited clients?

maxnet commented 5 years ago

Theoretically: I recall that under Linux maximum number of sockets equals maximum number of file descriptors, and a sensible maximum default for that is chosen at boot based on the amount of memory your computer has. Can simply override defaults by changing sysctl settings though.

In practice: to have acceptable speed and not get packet loss, that would depend on how many 10 gigabit Ethernet cards you can fit in your server...