LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2006, 11:22 AM   #1
tjweaver
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Question Slow response time with word and excel files on Samba


Hi,

I'm running the latest kernal on FC 5 and Samba server 3.0.23b and managing it through SWAT.

I'm using the server as a file server in a small university office with about 10 -12 winxp workstations connecting to it. I've had it up and running successfully for two weeks now and thought everything was going fine. It is mostly imaging files in pdf formats.

3 days ago a coworker was trying to access a word document and an excel file located on the samba server. It took over 30 seconds for each of these files to open. Word and Excel both seemed to freeze for 25 or so seconds and then the document would finally open. I tried this on various other machines and got the exact same result. It doesn't matter how big the files are - they all take about 30 seconds to open. In excel it also happens when trying to open csv files. All of the workstations are using Office 2003 with the latest service packs and updates. Trying to save a new word or excel file takes even longer and both apps seem to freeze on saving - but the files are still eventually saved. I installed open office on my xp workstation and had no problems opening excel files.

All of my pdfs open up lightning quick so it does just seem to be an ms office application issue. Has anyone seen this before?

I have samba server setup at home running on FC 4 and have absolutely no issues with word or excel files.

I've been searching google groups for this and found some people with somewhat similar problems but no real fixes.

My smb.conf file is all at default settings right now with only one share active.

Any help, tips, or directions to go on this would be hugely appreciated. I sold the boss on a linux file server but if I can't make excel and word files more accessible it is a deal breaker.

Thanks in advance for your time and help with this.
 
Old 08-18-2006, 12:30 PM   #2
aveasey00
LQ Newbie
 
Registered: Jun 2006
Distribution: Ubuntu 6.06 LTS kernel 2.6.15
Posts: 1

Rep: Reputation: 0
The next thing I would do is check the samba logs.
 
Old 08-18-2006, 04:46 PM   #3
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Does the same thing happen when you open them on the local machine? I mean if you copy the word file to the desktop does it still take forever?

If that is the case then it is a MS Word issue that I've experienced with an end user before. The files she was having trouble with were ones that she was editting all the time. And of course MS Word saves metta data in the file when you make changes like she was doing. Deleting and adding and the such. The way that I had her fix it was to open the files in question, Ctrl-A to copy all and then paste it into a new document and save over it.

But if the files open normally from the local harddisk then that's not the issue at all.
 
Old 08-19-2006, 01:49 PM   #4
tjweaver
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your responses.

I'm pretty new to linux - but I'm reading up on using the samba log files. Hopefully i'll be able to post something informative from the logs on Monday.

The files open fine when they are copied onto a local machine.
 
Old 08-21-2006, 01:57 PM   #5
tjweaver
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
ok - I think another friend has put me on the right track.

Its seams to be some sort of name resolution/NetBIOS issue.

He had me add the server to my hosts file and set the Enable NetBIOS over TCP/IP in the WINS section of the tcpip properites tab.

I did that and the files are opening fine on this particular client. So is something happening where the server isn't broadcasting its name in a friendly way on our network?

This is working now on this client - but i'd feel more comfortable if I could get the server set up correctly so I don't need to make these changes on all of the clients.

Its nice to have a little bit of light at the end of this long tunnel.

Any and all suggestions appreciated and thanks in advance for your time.

Last edited by tjweaver; 08-21-2006 at 02:00 PM.
 
Old 08-21-2006, 02:34 PM   #6
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
If you have an internal DNS server you could simply add it to that.

Also in your smb.conf, do you have wins support and the IP address of the wins server entered?
 
Old 08-21-2006, 03:14 PM   #7
tjweaver
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
We don't have an internal DNS server and I do not have WINS support enabled.

I'm getting out of my experience level here. I did read the help file via SWAT and is says, "Note that you should NEVER set this to yes on more than one machine in your network."

That scared me off of enabling it as there are many more offices connected to the same network as we are and I did not want to cause trouble for any of the other computers.

This is mainly meant to be accessed by around 10 or so computers of users in my immediate office.
 
Old 08-22-2006, 11:03 AM   #8
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I've never used swat so I don't know exactly what you are talking about. I assume it is saying don't say yes to that if there is already another wins server on the network.

But you say you don't have an internal dns server.... You _could_ have an internal DNS server. hint: fc5 comes with BIND, which is a dns server. Of course, by setting up that you'd have go around to each pc and also have a realtivly good idea on what you are doing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2003 slow in samba kenji1903 Linux - Networking 0 04-15-2005 08:36 PM
FTP Issues, very slow response time! dermotti Linux - Networking 4 04-01-2005 09:39 PM
how to recover MS-WORD and MS-EXCEL password protected file in Linux !!! hitesh_linux Linux - Software 1 07-15-2003 03:05 PM
modem to cpu response time to slow? johncla Linux - General 1 05-07-2002 06:27 AM
Pinging problem - extremely slow response time stevel Linux - Networking 1 11-02-2001 04:13 AM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration