LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   samba concurrent connections (https://www.linuxquestions.org/questions/ubuntu-63/samba-concurrent-connections-909328/)

sulekha 10-21-2011 07:55 AM

samba concurrent connections
 
Hi all,

In windows XP there is a limit on the no: of concurrent connections

http://s529.photobucket.com/albums/d...nt=sharing.jpg

my question is as follows

is there any mechanism/directive in samba to implement a similar sort of limit on the no : of concurrent connections ?

lithos 10-21-2011 08:14 AM

well, it's a little 'blurry' but Samba has some limitations:
Code:

smb.conf:

max smbd processes = 500
deadtime = 15

- max smbd processes
- an explanation
- limiting connections
- some Windows limitations

I don't know how else can be done.

sulekha 10-25-2011 10:20 AM

Quote:

Originally Posted by lithos (Post 4504259)
well, it's a little 'blurry' but Samba has some limitations:
Code:

smb.conf:

max smbd processes = 500
deadtime = 15

- max smbd processes
- an explanation
- limiting connections
- some Windows limitations

I don't know how else can be done.


well I created a share as follows


[sample]
path = /home/sulekha/sample
read only = No
create mask = 0760
max smbd processes = 3
deadtime = 30


but i am able to access this share from 4 windows machines , so as far as i my understanding goes
max smbd processes directive has failed isn't it ?

michaelk 10-25-2011 02:38 PM

From a bit of googling I would have to agree with lithos that this is a bit blurry.
max smbd process is a global parameter i.e it limits the number of running smbd processes and not the number of connections per share. However, there should be one smbd process per client connection. What is the output of the smbstatus command when all four computers are accessing your server. Are you just viewing the directory or are there any files opened?

sulekha 10-27-2011 09:44 AM

Quote:

Originally Posted by michaelk (Post 4508016)
From a bit of googling I would have to agree with lithos that this is a bit blurry.
max smbd process is a global parameter i.e it limits the number of running smbd processes and not the number of connections per share. However, there should be one smbd process per client connection. What is the output of the smbstatus command when all four computers are accessing your server. Are you just viewing the directory or are there any files opened?


output of the smbstatus command when all four computers are accessing your server.(just viewing the directory)

http://s529.photobucket.com/albums/d...mbstatus-1.png


output of the smbstatus command when all four computers are accessing your server.(with files opened)

http://s529.photobucket.com/albums/d...mbstatus-2.png


All times are GMT -5. The time now is 05:02 AM.