Ubuntu :: Samba Slow Writes To Server But Fast Reads
Jul 1, 2010
I have a fileserver running 10.04 server 64bit and samba. I connect it to my desktop which is 10.04 desktop 64bit.I have the server mounted on my desktop in fstab as://10.0.0.2/share /media/share cifs guest, uid= 1000.Up until 30 June 2010 it was all fine. Now when I write the server it is very slow e.g. 2Mbps though when I read I get >100Mbps so I think my network is still ok. If i use nautilus smb://10.0.0.2/share I can write at >100Mbps and also read at >100Mbps...So any ideas why the write speed via the fstab mount samba has started to go really slowly in the last couple of days?
View 6 Replies
ADVERTISEMENT
Feb 28, 2011
I have a 6 disk mdadm RAID 10 array of Western Digital RE3 drives. IOZone and all the other tools I have tried are showing pretty lackluster reads for a six drive RAID 10 array, in the area of 200MB/s. Writes are closer to what I'd expect in that area, around 340MB/s. These drives fly with an Adaptec RAID controller, but as soon as I stick them in an mdadm array, the reads just aren't what I'd expect.
I am using what I believe to be optimal settings:
-C /dev/md2 --chunk=1024 -n 6 -l 10 -p f2 /dev/sda5 /dev/sdb5 /dev/sdc5 /dev/sdd5 /dev/sde5 /dev/sdf5
-b 4096 -E stride=256,stripe-width=768
View 14 Replies
View Related
Jan 12, 2010
I have changed my home network a bit, and everything works extremely fast, except for my apache server, which seems to serve webpages so slowly, it is abnormal. Even simple directroy pages are served in around 5 sec, and this is not a joke! It used to work pretty fast. What I have changed is that i replaced a hub with a switch, and that I linked my personal PC with my server together through a hub. I also installed Gnome desktop on the webserver machine. My network now looks like follows:
Internet
/
||
[code]....
View 5 Replies
View Related
Jul 2, 2010
We are graphing various system parameters using Cacti. One of our graphs shows hard drive reads and writes. A question came up: why do we need this graph?
View 3 Replies
View Related
May 7, 2010
My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....
View 2 Replies
View Related
Nov 19, 2009
Is there a way to determine the IO size that is being used for reads and writes to an attached storage device? I am trying to pattern the IO sequences to storage. I have seen mentions to max_sectors_kb but the notes indicated that changing this value did not change the IO size to the storage.
View 1 Replies
View Related
Feb 23, 2011
Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".
View 1 Replies
View Related
Apr 13, 2010
When I'm trying to login to the ftp server with appropriate username and password its taking almost 10-15 seconds to authenticate making the login process slow, even when I'm uploading files its again hanging for 10-15 seconds before completing the job successfully.
Its not like its happening every time, but 7 times out of 10.
Any idea how can make the authentication fast?
View 5 Replies
View Related
Oct 23, 2010
Read/writes are slow on NFS.How can we diagnosing the issue, what commands are used for the error finding
View 8 Replies
View Related
Aug 30, 2010
I have two ntfs partitions I use to store music and data. I've been using them in all my linux boxes without any problems. Simply use Ntfs-3g with noatime and everything works great.
However, since the update to OpenSuse 11.3 writing to my NTFS partitions takes FOREVER. I've specified noatime, relatime and norelatime successively without success. The partitions have plenty of space and are defragmented.
When copying large files, It starts fast at first, but in the last hundred MB it slows down to about 1.5MB/s. Even after the transfer is supposedly done, the HD led remains on and all other read/write activity involving the partition is completely halted.
This can take between 5 minutes to 10 or more depending on the size of the file. When copying several small files, (100 MB or less) it starts at about 1.5MB/s from the beginning.
I have the latest versions of fuse and ntfs-3g installed
View 8 Replies
View Related
Jul 13, 2011
I was analyzing the Disk read using hdparm utility. This is what i got as a result.
Code:
# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec
Code:
# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec I m not sure what does Cache read and buffered disk read mean.
View 1 Replies
View Related
May 22, 2010
I'm trying to set up a fileserver on my 10.04 machine, and access the files from Windows 7 via wifi. I can see everything alright, but the transfer speed to Windows never gets higher than 70KBps. Both computers can access the web at 800+KBps. I've also checked with an OS X machine on the same network, which was also extremely slow, so I'm fairly sure that the problem is on the server's side.
View 2 Replies
View Related
Mar 23, 2010
Like the title, that is my problem. I'm using cable modem with 3mbps. It is Linksys Docsis, wired networking. When I download a file using ubuntu 9.10, my latency time (ping time) sky rocketed to 2000ms average, while in XP none of this happens; I tried to download the same file from the same website. In ubuntu 9.10 my network setup will be, well... nothing. I'm using DHCP automatic detection. Same thing in XP.
I don't want to go back and forward using XP for the internet. Funny thing though, none of this happens while I first started ubuntu 9.10. I didn't configure anything with networking. It is the way it is from the beginning. The only thing I tried was ubuntuone. But that like months ago, and the problem I have with slow internet connection only appear this March.
View 9 Replies
View Related
Aug 4, 2011
I had a F14 samba server working flawlessly now for a quite time. Unexpectedly about a month ago the write speed slowed down around 64kbit/s and that's really slow. I haven't changed any configs, only updated the server. I've troubleshooted this from many angles:
-It is not a network issue because sftp writes are good.
-It is not a RAID1 issue because write speed from another directory (locally) are good.
So basically samba is the only thing left.
Here's example from smb.conf:
[MyShare]
comment = My share
path = /mnt/RAID_share
writeable = yes
browseable = yes
writelist = +smbuser
Here's a snip from logs today:
[2011/08/04 09:04:27.509273, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:04:47.526336, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2011/08/04 09:17:57.634660, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:18:17.635196, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown .....
There's a restart that is not software related.
View 3 Replies
View Related
Feb 12, 2010
I'm using wlan and I'm behind a NAT firewall. Downloading with BitTorrent can reach speeds of 1,5MB/s, but browsing is incredibly slow. Chromium/Firefox seems to hang forever on "connecting.." or "waiting for". Sometimes pressing the reload button will speed it up. I have two Ubuntu boxes and they are the same way.
I don't get it, if downloading is so fast, how can browsing be so slow. Yes I have disabled ipv6 in grub and in Firefox, don't know how to do it in Chromium. Have 64-bit Ubuntu. Cnet wlan card using rt61pci module.
View 9 Replies
View Related
May 14, 2010
I have two Ubuntus installed. A 10.04 and a 9.04. In 9.04 if I watch a video in Firefox, it works very smoothly and nicely. Using the "top" command, totem-plugin-vi is using the most cpu time at about 16%, and xorg is using about 5%. But in 10.04, totem is using 72% and xorg is using 26%, and it looks really choppy. I think watching DVDs is the same way. I checked "Hardware Drivers" in the System->Administration menu (in 10.04) and it said "No proprietary drivers are in use on this system." I'm guessing maybe I'm using different video drivers on each system, but I don't even know how to check. and here is an excerpt from lspci:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
View 3 Replies
View Related
Aug 29, 2010
The local files copy speed from one disk to another is satisfyingly 60+MB/s, but this cause problem to other application, windows gray out, firefox freez, basically i have to wait for the copy to end to return to the computer.
View 3 Replies
View Related
Mar 6, 2010
I have set up a file server (Ubuntu Server Edition) for our lab. People can connect to common Samba file shares from their personal laptops/desktops, which run either Windows Vista or Mac OSX. The guys with OSX have upload/download speeds of ~2 MB/s, while the Vista machines are slogging away at ~200kb/s for downloads and ~400kb/s for uploads. In both cases, the connection are through wired ethernet ports which should function identically. Since the Macs work fine on the same network, I assume this is a Vista issue.
I have tried troubleshooting one of the Vista machines by:
1. Turning off the Remove Differential Compression feature
2. Disabling autotuning following these instructions
3. Adding a registry key following the same link above.
But nothing has improved. Anybody have any advice on addition tweaks to the Vista machine? Is there a chance that this is actually a server-side/samba issue?
View 3 Replies
View Related
Sep 26, 2010
I have a fast server running Debian 5 (I tried to upgrade and everything broke.
So I'll stay with Lenny):
Core 2 Duo
4Gb RAM
RAID 0
100mbit
When I use the -X command and try and run applications to my desktop, it is VERY slow. Firefox takes 20 seconds+ just for a right-click menu to appear. It is completely unusable because of this speed. And this is after a clean install of Debian 5.
I've tried on multiple clients (Windows and OS X) and it is always slow! Even though both computers and connections are fast. My home connection is 100mbit too....
So the problem is not bandwidth or resources, the problem must be with the server/software? Any ideas why tunneling X11 applications are so slow? Is there an alternative X11 software I could use on the server?
1 thread in FTP to this server gives 10MB/s (100mbit). So X11 should be fast? And btw, I'm tunneling through SSH.
Can figure out why it is so slow?
View 4 Replies
View Related
Jul 16, 2011
I'm using Vuze clients and torrents are very slow while in uTorrent under Windows 7 they're very fast. How can I fix it?
View 1 Replies
View Related
Feb 24, 2010
When i try to copy files from my samba server (Ubuntu 9.10) to my windows seven media center, the speed is extremely slow. So slow that is better to download 100mb file from the internet, than from my lan. And on my lan, every card and switch is at 1000 mbps speeds on cat5 cables. And from XP or other linux machine
View 1 Replies
View Related
Jan 22, 2011
I have a strange problem that I cannot diagnose -- slow wifi. About two or three weeks ago, I noticed that my wifi began to slow down dramatically. The problem is the same on my ubuntu laptop and my ipad. But when I connect directly to the router with a network cable, my connection is fine. So it is definitely a problem with the wifi signal itself.
What I have done so far:
(1) I checked all of the MAC addresses connected to my wifi. I identified my tivo box, laptop, and ipad. Nothing else.
(2) I used [I]wifi analyzer[I] on my android phone and selected an unused wifi channel (channel 8).
(3) I changed the username/password on my wifi signal. I also changed the password for my router's admin privileges.
(4) I restarted my router and computer.
None of this helped.
I am using a Netgear WGR614 wireless router.
View 3 Replies
View Related
Oct 6, 2010
I'm running 11.2 on a Dell Latitude D630. Everything has been great other than issues with Suspend and hibernate not working correctly. However after about a month of use browsing the web has really slowed down bad. It doesn't seem to matter if it's in Firefox or Chrome either. I am using a wireless connection that is getting the signal at 85-95%. Even though I still tried using a direct cat-5 connection to the router and it was still slow as well. I have the fastest broadband connection my cable offers and my windows boxes on the same network are still flying.
View 2 Replies
View Related
Feb 14, 2010
Does Linux have a way to trace writes to a file?
For each write, I would like to know the time, date, process id, user, file position, byte count, and the data written.
I could use this with a script to replay the writes to a backup of the original file, and reproduce the file contents as they were at a point in time.
View 4 Replies
View Related
Jul 24, 2011
I run a website that a very steady flow of traffic and Im seeing recent issues that I just dont like. Server is 10.04.2 on a supermicro i7-950/6gb RAM with two 500gb Samsung F3 drives in a software RAID1 (1x5400, 1x7200) and for several weeks, its been running very well. Recently, Im seeing the server hang for 5-20 seconds. IOwait goes through the roof, nothing can write to the disk. Apache logs stop, redis fails to rebuild caches, mysql errors and then it continues and moves back to normal operation
/ is ext4, the kernel was 2.6.32-server-x64 but since updating to 2.6.38-server-x64, the issue has dropped from maybe once per 10 minutes to once per 15 minutes. 3 IOstat copy/pastes show this when it hangs.
Code:
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
[code]...
No smart errors or smart diags show any issues with any of the disks and kernel.log shows near nothing other than a process hang, 120 seconds about 5 days ago.
View 9 Replies
View Related
Sep 18, 2009
I have a Centos 5.3 server with Samba file shares and a shared Samba printer. I am not running a domain.
I recently changed my windows desktop pc from an XP machine to a vista 64 machine... It has a different user name. Everything went pretty smoothly - and the and the vista machine found the smba printer - and even downloaded the driver from the samba server. he printer works OK - and the file shares are fine.
The only thing which is quite odd - is that the Printer Properties dialogue takes more than 30 seconds to come up - and every action you attempt with the dialogue takes a similar amount of time.
I will include below the essence of my smb.conf:
View 3 Replies
View Related
Aug 3, 2009
Someone at work has requested if i can find out anything on the above.Been googling around as well as i have only been using Linux for 2 months now.
basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.
I know i have to do a count statement on the sybase table from ISQL.But how can i create the action "service website stop" once the count value reaches 4000 ?
View 2 Replies
View Related
Jun 2, 2011
I'm having an issue where a server in CA (1000/full) and in VA (100/full) have very lopsided data transfer.
CA -> VA with iperf shows ~20Mbps
VA -> CA with iperf shows ~93Mbps
If we change the CA server to 100/FULL, transfer speed is 93Mbps both ways.
Some tuning was done to TCP window scaling parameters, but it won't correct the issue, just improve the CA -> VA numbers to what is listed above. I will say, turning TCP window scaling OFF will lower the transfer speed both ways to < 20Mbps.
The only clue I have when looking at wireshark dumps is that the window scale going OUT would never go past 10240 (scale is 8, so 2^8 x 40bytes). In the opposite direction, the window size will go above 3MB (scaled).
It is not a bandwidth problem as iperf with UDP shows 93Mbps both ways. Local transfers (CA 1000/full to CA 100/full) show full speed both ways, so I feel it is strictly related to TCP window scaling.
RedHat 5 64-bit on both sides. Any ideas why it won't scale above 10240?
View 7 Replies
View Related
Feb 8, 2010
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
View 1 Replies
View Related
Jun 4, 2010
Slower than dial-up even. Fstab below code...
View 4 Replies
View Related