LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-22-2005, 12:46 PM   #1
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
Unhappy samba client freezes when samba server goes down


I simultaneously use two linux machines right next to eachother, and use synergy to share the keyboard and mouse, and samba to share the files of the master machine.

The master machine runs samba server, and the slave machine connects to the master and mounts the share.

When I turn off the master machine, then it causes the client machine's file system to freeze. Trying to access any files causes a process to freeze.

I'm assuming what is going on is the client machine's file system is getting clogged up by an unsatisfied samba request, so any other request to the file system layer are put into the que, but are never processed because of the samba request.

Has anyone ever had this problem? Is there a way to fix it, so if the Samba server goes down, the samba client will just timeout on the share, rather than waiting for eternity?

Thanks
Tim
 
Old 08-22-2005, 10:29 PM   #2
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
this happens because you have mounted the samba share onto the client by using the default values or settings. try mounting the share onto the client by using the "soft,intr" option with the "-o" switch. this enables the client to disable the mounting process after a few tries.
 
  


Reply



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
FC3 Samba Server + Windows ME Client DoubleOTeC Linux - Networking 4 07-25-2005 11:46 AM
Linux client accessing Samba Server waljure Linux - Networking 4 06-25-2005 07:20 PM
Cannot connect to Samba server from Win2k client buddhahat Linux - Networking 11 06-20-2005 03:01 PM
SAMBA server & client babyface Linux - Networking 1 03-20-2005 08:56 AM
Samba--Do I use client or server?? proton666 Linux - Networking 1 12-25-2004 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 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