Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3189

Samba problem (1 reply)

$
0
0
I didn't know where to post this (in Debian or in off topic), so I'm posting this here.

I'm having a particular problem with samba installed on my pogo plug v2 after it got updated in debian.
In the old version (don't know the version number), I could copy files off it @ 14MBps constantly to my windows pc. Pasting to the shared pogoplug got me only max 4MBps. The drive attached to the pogo plug is a usb3 drive connected to the usb2 port on the back.

After updating samba, I get around 15-20MBps copy speeds from the plug. But if I try to transfer any large files (> 250MB) I see this abnormal behaviour. The copy speed starts from 6-7MBps and after 30-40% has been copied, it starts falling down to 100Kbps within a few seconds and then stops at 0Kbps and stays there for minutes. After some time, windows gives an error that the connection got lost or something. I open the samba shared folders in windows and I can open it. The shared folders have full read/write access in samba.

I tried troubleshooting on my own. Some of the things I tried were:
I removed any testing source in the sources list and updated apt-get.
I purged samba and reinstalled it. I redid the smb.conf file from start.
I changed the usb port. Was using top most port and then switched to bottom port.

I tried network stack tuning following an article (http://www.cyberciti.biz/faq/linux-tcp-tuning/) but it didnt seem to work. Even with new values in sysctl, if i try commands for send/recieve memory they still show old values even after loading sysctl and restarting the plug.
In the end I just commented out everything i added to the sysctl file and kept it at default.

Is there anything I can do to trouble shoot this?

Viewing all articles
Browse latest Browse all 3189

Trending Articles