LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-21-2011, 06:55 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question 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 ?
 
Old 10-21-2011, 07:14 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
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.

Last edited by lithos; 10-21-2011 at 07:17 AM.
 
Old 10-25-2011, 09:20 AM   #3
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Question

Quote:
Originally Posted by lithos View Post
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 ?
 
Old 10-25-2011, 01:38 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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?
 
Old 10-27-2011, 08:44 AM   #5
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by michaelk View Post
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
 
  


Reply

Tags
concurrent connections, samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limiting concurrent FTP connections? windom Linux - Newbie 1 02-02-2011 04:34 AM
Resolve maximum number of concurrent connections sibar Linux - Networking 4 12-10-2009 02:03 AM
Max concurrent ssh connections limit vbarakam@yahoo.com Linux - Newbie 1 07-13-2009 12:19 AM
UUCP can't handle 19 concurrent connections? columb Linux - General 2 05-28-2009 01:31 AM
Limit number of concurrent connections in apache jakev383 Linux - Server 2 07-18-2008 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration