[Samba] slow and max connection errors
Don Wheeling
donw at rsbroadband.com
Mon Jan 5 17:26:52 GMT 2004
Sorry about not being specific enough. I will try and be more so in the
future. Here is what I have currently:
Apple X-serve running Yellowdog (a Redhat 9 port for ppc) with 1GB of
RAM, 3 60GB HD not setup as RAID. They are individual partitions (/var
and /, /home and /shared). The shared partition is strictly for Samba
file sharing. I build in a matching user in both the system and in
Samba. This way each user gets a private and a public folder.
I am running Samba Version 2.2.8
Below is my smb.conf:
[global]
log file = /var/log/samba/%m.log
load printers = no
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
max disk size = 40000000000
wins support = true
dns proxy = no
netbios name = RSB
server string = RSB Server
printing = cups
default = shared
unix password sync = Yes
workgroup = RSB
os level = 20
printcap name = /etc/printcap
security = user
pam password change = yes
[homes]
browseable = no
writable = yes
comment = Home Directories
valid users = %S
create mode = 0664
max connections = 50
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[shared]
browseable = yes
wide links = no
printable = no
writeable = yes
path = /mnt/drbd/nb1/shared
force create mode = 750
comment = Shared Files
valid users =
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,csanford,dg
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtinsley,dwhe
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,jmayer,jm
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjohnson,lbro
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwallace,rbo
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,syoung,tbur
gess,tswapp,twolf,wgriffith
create mode = 750
directory mode = 2750
I think that's it. Thanks
On Jan 5, 2004, at 9:36 AM, Jason Balicki wrote:
>> I am new to Samba and think I have it set up correctly. I have two
>> issues that I need to resolve but don't quite know where to start
>> first. The errors are as follows:
>>
>> 1. Client connections are very slow (about 1MB/sec to copy to or
>> from).
>>
>> 2. When macintosh and XP users connect all is fine except for
>> the speed
>> issue above but when a win2k client tries to connect it gets an error
>> that max users/services have been reached.
>>
>> I probably haven't configured the server correctly but any suggestions
>> as to where I should look to start would be helpful. Thanks
>
> Don,
>
> When you're asking for help on mailing lists, you should give as much
> information as possible, including configuration files pasted inline
> below the body of your main text.
>
> You need to tell everyone what version of Samba you are using,
> what OS and OS version it's running on, if it's Linux it'd be
> nice to know what distro and version and what kernel version
> (they are not the same thing.) Then you need to give as much
> detail as possible concerning what you've done to address the
> problem yourself. It's OK to say "I don't know much, so I didn't
> want to try anything without consulting someone else." -- But we
> do need something. Also, any information about the client
> would be nice as well (is it up to date, is it running AV software,
> etc.) Hardware information about both the server and client
> would be helpful, especially in performance situations like
> this specific one.
>
> Anyway, you should repost your question to the list containing
> the information above (don't forget to include your smb.conf
> at the end (please remove comments, unless you've added them
> yourself for clarity)) and we'll all try to help you as much
> as we can.
>
> Thanks,
>
> --J(K)
>
>
More information about the samba
mailing list