Sign in to follow this  
Followers 0
logan5

Number of Linux file sharing users?

5 posts in this topic

This is probably a realy basic Linux question, but being the Linux übern00b that I am.....

Is there a limit to the number of users that can log onto a Linux system that's acting as a file server on a local network? My first thought would be no, but I figured I'd ask the experts to be sure......

0

Share this post


Link to post
Share on other sites

When you say file server, are we talking NFS, Samba, FTP, etc. I would assume it depends on the daemon and also on how it's configed.

0

Share this post


Link to post
Share on other sites

for an ftp its 421 unless the owner changes so its lower

0

Share this post


Link to post
Share on other sites

Let us know which daemon your talking about NFS I would use it unless

needed to. As said before it depends on what service and how U got it

configured. Enlighten us more on what your talking about B)

0

Share this post


Link to post
Share on other sites

I believe there is a limit to the number of open sockets in the kernel. I don't know the exact number but I'm sure that it's sufficiently high for 99% of users.

I don't think you'd really run into a problem with something like NFS because it is stateless (every action is atomic and you need to reconnect after each one).

If you want me to peruse the kernel and find the exact limits just lemme know.

EDIT:

Some quick info

and from the Apache folks:

Linux

   By default Linux has a kernel maximum of 256 open descriptors per process. There are several patches available for the 2.0.x series which raise this to 1024 and beyond, and you can find them in the "unofficial patches" section of the Linux Information HQ. None of these patches are perfect, and an entirely different approach is likely to be taken during the 2.1.x development. Applying these patches will raise the FD_SETSIZE used to compile all programs, and unless you rebuild all your libraries you should avoid running any other program with a soft descriptor limit above 256. As of this writing the patches available for increasing the number of descriptors do not take this into account. On a dedicated webserver you probably won't run into trouble.

Hope that's what you're after.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0