All,
Looking for some help here. Not finding anything on the net that
looks the same as what I'm seeing. Running Solaris 10 Sparc, on a
Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file
systems with user quotas.
All cifs clients shares to this server freeze after about 10 to 15
minutes of connectivity. Only fix is to restart samba. I'm not getting
any errors from samba or on the /var/adm/messages or /var/log/syslog
files. Totally stumped here. This freezing also happened with 3.4.0.
Compile of samba
./configure --with-quotas --disable-shared-libs
Config:
# Samba config file created using SWAT
# from UNKNOWN (???)
# Date: 2010/01/20 14:18:59
[global]
workgroup = ENGR_DOM
server string = Samba Server
security = DOMAIN
password level = 8
lanman auth = Yes
client NTLMv2 auth = Yes
map untrusted to domain = Yes
log level = 1
syslog = 2
log file = /var/log/samba/logs/log.%m
max open files = 10000
socket options = TCP_NODELAY IPTOS_LOWDELAY
load printers = No
preferred master = Auto
domain master = No
dns proxy = No
wins server = xxx.xx.xxx.xxx
kernel oplocks = No
lock spin time = 3
remote announce = xxx.xx.xxx.xxx
acl check permissions = No
acl group control = Yes
oplocks = No
level2 oplocks = No
strict locking = No
[top]
comment = Top of the Tree
path = /top
read only = No
create mask = 0755
directory security mask = 0755
[projects]
comment = Project space
path = /XKA1/projects
read only = No
create mask = 0775
directory mask = 02771
inherit permissions = Yes
inherit acls = Yes
[profiles]
comment = Windows Roaming Profiles
path = /XKA1/profiles
valid users = +admin, +ens-students, +ACother
read only = No
profile acls = Yes
[ens$]
path = /
valid users = name, name2, name3
force user = root
read only = No
acl map full control = No
[dean]
comment = Dean Group
path = /XKA2/admin/Dean
valid users = +Dean
force group = Dean
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[ens]
comment = ENS Groups
path = /XKA2/admin/ENS
valid users = +admin
force group = admin
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[ebo]
comment = EBO
path = /XKA2/admin/EBO
valid users = +ebo, +ebostdnt
force group = ebo
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[adr]
comment = Associate Dean for Researc
path = /XKA2/admin/ResearchDean
valid users = +adr
force group = adr
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[adu]
comment = Associate Dean for UnderGraduates
path = /XKA2/admin/AcadAffairs
valid users = +adu
force group = adu
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[wmep]
comment = Women&Minority in Engineering Programs
path = /XKA2/admin/WMEP
valid users = +wmep
force group = wmep
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[development]
comment = Engineering Development
path = /XKA2/admin/Development
valid users = +Devel
force group = Devel
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[ce]
comment = Civil Engineering
path = /XKA2/academic/CE
valid users = +CEgroup
force group = CEgroup
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[cira]
comment = CIRA
path = /XKA2/academic/CIRA
valid users = +cira
force group = cira
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[atmos]
comment = ATMOS
path = /XKA2/academic/Atmos
valid users = +Atmosfac
force group = Atmosfac
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[ece]
comment = Electrical and Computer Engineering
path = /XKA2/academic/ECE
valid users = +ECEgroup
force group = ECEgroup
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[me]
comment = Mechanical Engineering
path = /XKA2/academic/ME
valid users = +MEgroup
force group = MEgroup
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[cheme]
comment = Chemical Engineering
path = /XKA2/academic/ChemE
valid users = +ChEgroup
force group = ChEgroup
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[biom]
path = /XKA2/academic/BIOM
valid users = +biom
force group = biom
read only = No
create mask = 0770
directory mask = 02770
inherit permissions = Yes
inherit acls = Yes
[ebo-student]
comment = EBO-Student
path = /XKA2/admin/EBO/people/Student-Employees
valid users = +ebostdnt
force group = ebostdnt
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[adu-student]
path = /XKA2/admin/AcadAffairs/people/Student-Employees
valid users = +adustdnt, +adu
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[ats-student]
path = /XKA2/academic/Atmos/people/Student-Employees
valid users = +ats-student, +Atmosfac
read only = No
create mask = 0770
directory mask = 02770
inherit acls = Yes
[committees]
comment = Committees space
path = /XKA2/committees
read only = No
create mask = 0770
directory mask = 0770
inherit permissions = Yes
inherit acls = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0751
inherit permissions = Yes
inherit owner = Yes
--
C. J. Keist Email: cj.keist at colostate.edu
UNIX/Network Manager Phone: 970-491-0630
Engineering Network Services Fax: 970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301
All I want is a chance to prove 'Money can't buy happiness'
Hey, if you are using Solaris 10, not openSol, you might want to look at this page. We are using it here at a hospital with some 2k users (probably a lot less than you, but...) and it's working very well. http://www.nineproductions.com/technology/1-sun-solaris/3-solaris-10-samba-zfs-configuration.html One of the things we had major problems with was not having oplocks. As I recall, they are pretty useful. we have kernel oplocks=yes, oplocks=yes, but use a fair amount of vetos. This serves as a fileserver for everyone's My Documents folder. However, we don't use roaming profiles, so that's probably a blessing on our side there. Hopefully that link helps you as much as it did us. CJ Keist wrote:> All, > Looking for some help here. Not finding anything on the net that > looks the same as what I'm seeing. Running Solaris 10 Sparc, on a > Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file > systems with user quotas. > > All cifs clients shares to this server freeze after about 10 to 15 > minutes of connectivity. Only fix is to restart samba. I'm not > getting any errors from samba or on the /var/adm/messages or > /var/log/syslog files. Totally stumped here. This freezing also > happened with 3.4.0. > > Compile of samba > ./configure --with-quotas --disable-shared-libs > > Config: > > # Samba config file created using SWAT > # from UNKNOWN (???) > # Date: 2010/01/20 14:18:59 > > [global] > workgroup = ENGR_DOM > server string = Samba Server > security = DOMAIN > password level = 8 > lanman auth = Yes > client NTLMv2 auth = Yes > map untrusted to domain = Yes > log level = 1 > syslog = 2 > log file = /var/log/samba/logs/log.%m > max open files = 10000 > socket options = TCP_NODELAY IPTOS_LOWDELAY > load printers = No > preferred master = Auto > domain master = No > dns proxy = No > wins server = xxx.xx.xxx.xxx > kernel oplocks = No > lock spin time = 3 > remote announce = xxx.xx.xxx.xxx > acl check permissions = No > acl group control = Yes > oplocks = No > level2 oplocks = No > strict locking = No > > [top] > comment = Top of the Tree > path = /top > read only = No > create mask = 0755 > directory security mask = 0755 > > [projects] > comment = Project space > path = /XKA1/projects > read only = No > create mask = 0775 > directory mask = 02771 > inherit permissions = Yes > inherit acls = Yes > > [profiles] > comment = Windows Roaming Profiles > path = /XKA1/profiles > valid users = +admin, +ens-students, +ACother > read only = No > profile acls = Yes > > [ens$] > path = / > valid users = name, name2, name3 > force user = root > read only = No > acl map full control = No > > [dean] > comment = Dean Group > path = /XKA2/admin/Dean > valid users = +Dean > force group = Dean > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [ens] > comment = ENS Groups > path = /XKA2/admin/ENS > valid users = +admin > force group = admin > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [ebo] > comment = EBO > path = /XKA2/admin/EBO > valid users = +ebo, +ebostdnt > force group = ebo > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [adr] > comment = Associate Dean for Researc > path = /XKA2/admin/ResearchDean > valid users = +adr > force group = adr > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [adu] > comment = Associate Dean for UnderGraduates > path = /XKA2/admin/AcadAffairs > valid users = +adu > force group = adu > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [wmep] > comment = Women&Minority in Engineering Programs > path = /XKA2/admin/WMEP > valid users = +wmep > force group = wmep > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [development] > comment = Engineering Development > path = /XKA2/admin/Development > valid users = +Devel > force group = Devel > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [ce] > comment = Civil Engineering > path = /XKA2/academic/CE > valid users = +CEgroup > force group = CEgroup > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [cira] > comment = CIRA > path = /XKA2/academic/CIRA > valid users = +cira > force group = cira > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [atmos] > comment = ATMOS > path = /XKA2/academic/Atmos > valid users = +Atmosfac > force group = Atmosfac > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [ece] > comment = Electrical and Computer Engineering > path = /XKA2/academic/ECE > valid users = +ECEgroup > force group = ECEgroup > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [me] > comment = Mechanical Engineering > path = /XKA2/academic/ME > valid users = +MEgroup > force group = MEgroup > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [cheme] > comment = Chemical Engineering > path = /XKA2/academic/ChemE > valid users = +ChEgroup > force group = ChEgroup > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [biom] > path = /XKA2/academic/BIOM > valid users = +biom > force group = biom > read only = No > create mask = 0770 > directory mask = 02770 > inherit permissions = Yes > inherit acls = Yes > > [ebo-student] > comment = EBO-Student > path = /XKA2/admin/EBO/people/Student-Employees > valid users = +ebostdnt > force group = ebostdnt > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [adu-student] > path = /XKA2/admin/AcadAffairs/people/Student-Employees > valid users = +adustdnt, +adu > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [ats-student] > path = /XKA2/academic/Atmos/people/Student-Employees > valid users = +ats-student, +Atmosfac > read only = No > create mask = 0770 > directory mask = 02770 > inherit acls = Yes > > [committees] > comment = Committees space > path = /XKA2/committees > read only = No > create mask = 0770 > directory mask = 0770 > inherit permissions = Yes > inherit acls = Yes > > [homes] > comment = Home Directories > read only = No > create mask = 0640 > directory mask = 0751 > inherit permissions = Yes > inherit owner = Yes
On Wed, Jan 20, 2010 at 02:23:51PM -0700, CJ Keist wrote:> All, > Looking for some help here. Not finding anything on the net that > looks the same as what I'm seeing. Running Solaris 10 Sparc, on a > Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file > systems with user quotas. > > All cifs clients shares to this server freeze after about 10 to 15 > minutes of connectivity. Only fix is to restart samba. I'm not > getting any errors from samba or on the /var/adm/messages or > /var/log/syslog files. Totally stumped here. This freezing also > happened with 3.4.0.Can you attach to a frozen smbd with truss to see where it might be stuck. Or alternatively ensure you are built with symbols, attach to the frozen process with gdb and get a backtrace using the "bt" command. Jeremy.