LinuxQuestions.org
Help answer threads with 0 replies.
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 07-01-2010, 09:20 AM   #1
florenceit
LQ Newbie
 
Registered: Jul 2010
Location: MA
Distribution: was buggy ubuntu 10.04 LTS, now happy with MINT
Posts: 14

Rep: Reputation: 0
samba locks up copying files under ubuntu 10.4 LTS


Hi folks.
have an odd samba issue (at least im pretty sure its samba). I posted the following on the ubuntu forums with no responses yet. It's driving me nuts so i thought i'd try here too.
Quote:
I'm trying to restore all my files to my new ubuntu server (a netbook actually) and can't! after copying for a few moments the samba shares stop working. in synaptic it says samba 2:3.4.7

as im typing this i realized I was able to copy a few large files when i was starting out so there may be some software added since thats the issue.

In my scenario i found that the server does recover after about 2 minutes. but when copying large files it causes ALL networking to stop. funny that if i go to the server screen it is fine, only network ing is down, the machine isnt locked up. Ive experienced this connecting with a windows 7 pc and a mac. the server will start responding again in a couple of minutes. when it locks up it locks up ALL networking: cant connect to the webserver, or ssh either when this happens. Just starts working again after 2 minutes. I am unable to sync this with my backup drive unfortunately.

I did some experimenting today and found that I was able to stay connected via ssh for well over an hour with no problems. as soon as I start copying files over a samba share is when it happens. I use this as a server in a home office so I need to resolve this. for now going to share a drive off my router i guess.

have been poring through the logs and reading everything i can on this the last few days.. I switched from network manager to WICD after reading about it online somewhere. that actually did help to apparently reduce the frequency of the issue.

does anyone have any tips? this is a new machine/install of Ubuntu 10.4 LTS desktop version (its just easier than the server version for me even though using as a server). its a new MSI X Slim X320. I bought it as it has the X530 Atom processor which is super efficient and I run this as a solar powered web/file/torrent/app server. In that regard im very pleased with it.

any help appreciated.. been struggling with this for hours and hours over a few days.

thanks!

1 Day Ago #2
nixscripter
Has an Ubuntu Drip




Join Date: Feb 2008
Location: Minnesota, USA
Beans: 751
Ubuntu 8.10 Intrepid Ibex
Re: copying files via samba kills all networking to server
The NFS filesystem will "lock things up" because the VFS (file system layer) will block all disk access to the volume while waiting on a request.

Perhaps there is a similar effect, locking the whole volume during the file transfer. Ssh could perhaps be trying to use the mounted volume in some way? The lsof utility can examine this (as well as socket and pipe statistics).
__________________
Hate fighting with Linux? Buy Preinstalled!
Love fighting with Linux? Try Gentoo!
__________________________________________________
Unanswered Posts Team || Connection problems?

18 Hours Ago #3
florenceit
First Cup of Ubuntu


Join Date: Jun 2008
Beans: 4
Re: copying files via samba kills all networking to server
thanks. I narrowed down the problem further. I use allway sync to make backups to my linux server from a windows 7 machine. it turns out that first i tried copying 2gb from server to local and it worked fine, now i'm copying 50gb TO the server and its going fine,

soooo the problem only happens when running allway sync! go figure... it does multiple copies at once... can you think of any samba settings that may affect that? ive been meaning to setup rsync for windows so maybe ill just do that if i get nowhere with this, although i did pay for it and would like to see it work.

in my samba logs for this computers connection is the only errors and it hard to know what they mean. are they a result of the lost connection or do they indicate the source of the freeze up (?)

[2010/06/30 14:20:46, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2010/06/30 14:20:46, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection timed out.
[2010/06/30 14:20:46, 1] smbd/service.c:1240(close_cnum)
mattl-vaio (192.168.168.10) closed connection to service webroot
[2010/06/30 14:20:46, 0] lib/util_sock.c:738(write_data)
[2010/06/30 14:20:46, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
[2010/06/30 14:20:46, 0] smbd/process.c:62(srv_send_smb)
Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
[2010/06/30 14:20:46, 1] smbd/service.c:1240(close_cnum)
mattl-vaio (192.168.168.10) closed connection to service mattl


thanks!

16 Hours Ago #4
florenceit
First Cup of Ubuntu


Join Date: Jun 2008
Beans: 4
Re: copying files via samba kills all networking to server
nope.. i was wrong... locks up copying files with terracopy too, just seems to go longer before losing the connection to the drive.


darn...
thanks if you can give me any tips on where to look. I keep trying various samba settings but so far haven't made a difference.
 
Old 07-11-2010, 04:58 PM   #2
florenceit
LQ Newbie
 
Registered: Jul 2010
Location: MA
Distribution: was buggy ubuntu 10.04 LTS, now happy with MINT
Posts: 14

Original Poster
Rep: Reputation: 0
Smile SOLVED : copying files via samba kills all networking to server

Hi
I didn't really RESOLVED this error but I just TODAY found a workaround by using the wireless connection instead. i finally got the msi x320's wireless network card working with wicd (another problem in itself) and can connect wireless , and the problem went away. able to consistently copy large files to and from the server. This is actually one of my other goals with this system anyhow as I could use the extra freed up wired connection elsewhere. This leaves me thinking there's a driver issue with the wired lan. at some point ill look into updating it. but for now i'd call this solved
 
  


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
No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts flik shen Ubuntu 5 06-15-2010 12:44 PM
Help on associating .java files onto jGrasp in Ubuntu 8.04 LTS ussr_1991 Programming 8 07-27-2009 03:59 PM
Machine locks up when copying lots of files AboveTheLogic Linux - General 11 05-03-2009 11:26 AM
LXer: I update Ubuntu 6.06 LTS and 8.04 LTS ... one has SSH issues, one does not LXer Syndicated Linux News 0 05-20-2008 07:30 AM
Samba + Copying files akarako Linux - Networking 0 03-19-2004 09:15 AM

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

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

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