Nathan Vidican
2005-Mar-04 15:09 UTC
[Samba] Excel & samba-3.0.11 slowness/hanging/lockup issues... Anyone?
Here's the problem we're encountering: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Having intermittent problems regarding users opening/accessing/saving/writing MS Excel files into samba shares. When a user accesses a file on a shared volume via samba, they can open an Excel file and end up with one of two conditions; either their system hangs after opening the file for a short pause (sometimes as much as 30seconds) - then all is well, or they hang after opening Excel, but before loading the file (which is the more common issue). It's as though the file is being held or accessed by something which is preventing Excel from opening it right away; thought perhaps antivirus was the issue therein, but disabling antivirus reveals no change in the problem. So I'm assuming it has to do with a locking issue or something of the likes, but I've not encountered this before and figured I might have better luck asking around before I pull my hair out over here. Here's the scenario about as detailed as I thought neccessary: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Running two servers, both identical hardware and O/S (64bit FreeBSD on Dual AMD Opteron boxen) Both servers access the same user database and use nss_ldap & pam_ldap for authentication and userinfo. - The first, which acts as the BDC using samba 3.0.11, runs the primary ldap server for single-sign-on application using posix/unix/samba account attributes combined. We're using OpenLDAP, and running slurpd to the second server which runs a slave ldap server purely for backup purposes. - The second server, which acts as the PDC using samba-3.0.8 (havn't gotten around to upgrading it yet, hesitant because of the printer drivers db, etc stored in the current config). Users login on the windows side from either W2K pro, or WinXP Pro. Their profiles are shared/stored on the BDC (all profiles mapped to BDC, regardless of which server they happen to login to). All of the office, estimating, purchasing, and accounting shares are on the BDC as well, (the PDC runs all engineering, cad, cmm, cnc, and archive data). Both machines rsync each other's data back and forth and offer the same shares in case of total system failure by one of the servers, (rsync'd daily, so worst-case, a department can roll back to previous day's data). We are running WINS, the BDC and PDC have static entries in WINS.DAT, (ironically because the BDC doesn't seem to broadcast it's pressence - but that's another issue), all name resolution has no delay; ie: ping server2 goes right through without hesitation to the correct IP address. There is also an internal DNS server which maps forward and reverse DNS entries in conjunction with the dhcp services. All client computers get their ip address and configuration information from DHCP; but all have a Novell Netware client installation as well. Novell is running on both tcp/ip and IPX/SPX, there are a few clients (namely dos machines mostly), which are not on the samba domain and use the same physical network to access a novell Netware Server via IPX, however all windows clients use tcp/ip exclusively. -- Nathan Vidican nvidican@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmplt.com/
Mitch (WebCob)
2005-Mar-04 17:22 UTC
[Samba] Excel & samba-3.0.11 slowness/hanging/lockup issues...Anyone?
> -----Original Message----- > From: samba-bounces+mitch=webcob.com@lists.samba.org [mailto:samba- > bounces+mitch=webcob.com@lists.samba.org] On Behalf Of Nathan Vidican > Sent: March 4, 2005 7:09 AM > To: samba@lists.samba.org > Subject: [Samba] Excel & samba-3.0.11 slowness/hanging/lockup > issues...Anyone? > > Here's the problem we're encountering: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Having intermittent problems regarding users > opening/accessing/saving/writing MS Excel files into samba shares. >[Mitch says:] I've seen similar delays - sometimes when printing - sometimes when accessing attachements in Outlook - 3.0.11 eliminated the roaming profile sync errors (showed up in windows event log as 1504 iirc) but I had delays with 3.0.8 too - they aren't new for me. Haven't been able to nail down a way to reproduce it 100% or I'd do something with logging and so on to capture it - if you can reproduce, do a log 10, and look for an area which shows the delay - by adding %G to your log files (or %u), you can get group unique or use unique logs, which can make your task of finding the data a lot easier... Then look for the area in the log that shows the delay - then maybe someone more familiar with samba internals can review what you found and help from there... you would at least have enough to start a bug report at that point. Hth m/
Reasonably Related Threads
- FreeBSD 4.8 / Samba 3.0.11 - more signal 11's than before... (3.0.8)
- Quickbooks files can't be shared w/ 3.0.11
- Problems with MS Office (Excel/Word) & Samba 3.0.11, (moved to testing 3.0.12-RC1) attn Jerry
- Windows 2003 and Samba 3.0.x
- Administrator-privileged logon scripts under limited mode on XP?