LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2007, 09:44 PM   #1
neddis
LQ Newbie
 
Registered: Apr 2006
Location: Eastern Oregon
Distribution: Fedora Core 6
Posts: 18

Rep: Reputation: 0
Very slow browsing samba shares


Ok, I just did a major revamp of my linux server and network layout. I have a wireless router that is connected to my Clearwire modem (a wireless broadband provider) and the router also acts as the DHCP server. I set up my linux server to receive its ip and host name from the router, but the router is set to statically assign the ip. My laptop is running windows vista and uses the linux server to host it's my documents files and has them client side cached as well. I have a desktop running windows xp that uses the linux server as it's my documents location as well, but they are always online, not client side cached. Now, whenever I go to browse the linux server for anything, it takes a loooooong time to open the samba folders, but once it's initially done, it traverses them just fine. Does anyone know the cause of the delay? I didn't have it previously. I just upgraded the hard drive in my server and also went from Fedora core 5 to Fedora core 6 at the same time. SELinux is disabled and the only other things I have running on the server are SSH and FTP. My wife uses the desktop and if I don't get this delay fixed soon, she may put a foot through it. Thanks!
 
Old 06-14-2007, 10:43 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
how long is "looooong?" it almost sounds like there is some sleep function enabled for the HD (hdparm, bios, etc.) and it's just taking a long time to wake up. ?
 
Old 06-14-2007, 10:57 PM   #3
neddis
LQ Newbie
 
Registered: Apr 2006
Location: Eastern Oregon
Distribution: Fedora Core 6
Posts: 18

Original Poster
Rep: Reputation: 0
I don't think that's it. It takes about 30+ seconds from the XP box and 15ish from the Vista laptop. I browsed from the both in a the span of a minute or two and it behaved the same way.
 
Old 06-15-2007, 08:52 AM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
does anything look weird in the logs? (they're in /var/log/samba/ on FC, i think.) if not, you can set the log level higher in the config to see if anything shows up.

you could maybe also try some net tools like strace, tcpdump, netstat, etc. to try to track down a faulty connection. even pinging the server or vice versa might detect something. there might be some name resolution problem somewhere. if nothing is showing up, posting your smb.conf might be helpful to see what you've got in there, or output of testparm.
 
Old 06-15-2007, 09:29 PM   #5
neddis
LQ Newbie
 
Registered: Apr 2006
Location: Eastern Oregon
Distribution: Fedora Core 6
Posts: 18

Original Poster
Rep: Reputation: 0
Ok, I don't know how, but I think the problem is somehow tied to my internet connection being on the fritz. My internet connection was being slow, and at sometimes not working at all for the last few days. Today it was magically fixed and is 100% again, and so is the slow samba browsing problem. I have all of the networked computers set to look to my router for DNS. How could the problem with the slow server response be tied to the slow/broken internet connection? I don't get it... Too much of a coincidence to just shrug off. Maybe I need to set up my linux box to act as DHCP and DNS server to avoid this problem in the future? I have never seen this happen before. Anyone that has an explanation - I would appreciate it. Thanks!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow file browsing with Samba bravors SUSE / openSUSE 1 06-05-2006 07:49 AM
Browsing Samba shares - slow :( MikeScott Linux - Software 5 06-08-2005 07:41 AM
Samba does not allow writing to public shares / browsing home directories disallowed Xolo Linux - Software 6 02-14-2005 04:22 PM
Browsing shares in samba slow? kleptophobiac Linux - Software 7 08-07-2004 09:57 AM
Browsing administrative shares within a samba domain elements Linux - Software 0 01-02-2004 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 AM.

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