Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Upload speeds to one particular server of mine are drastically slower than expected, or tolerable.

I am moving a site to a new host; part of the functionality of the site is the upload of several large (>50Mb) files daily. The current upload speeds are unacceptably slow on the new server.

I am new to linux and apache server configuration; are there any settings which should be changed, or checked / tweaked, to allow for maximum file transfer speeds?

share|improve this question
add comment

4 Answers

You need to check some things :

  • Check the network speed of the server in the network with a benchmark tool like ttcp
  • Check if a transfer file of a 50 mb file to the server with for example sftp or netcat is slow as web trasnfer file through apache
  • Check if the new Server is slow when write to disk
  • Check with top how much the consuption of CPU increase when the transfer file happen
share|improve this answer
add comment

The answer was: An expired SSL certificate. Renewing the certificate solved the problems.

thank you all for your help; i learned a great deal from following your leads.

share|improve this answer
add comment

There's all sorts of possible reasons for slowness...

My best guess: mismatch between server and ethernet switch or bad cable:

Try:

ifconfig

If the errors, dropped, overruns, frame or carrier on RX or TX are anything other than "0" you could have a problem...

If you see collisions try:

ethtool eth0

(replace eth0 with whatever the network card being used to copy the data in question is)

If it's showing up as half duplex or simply doesn't match what the switch is showing for that port, that could easily be your problem.

Is it possible that you just have a slow server? Very slow hard drive? Very slow CPU? Very slow memory?

share|improve this answer
add comment

You could try a "wget ftp://ftp.xs4all.nl/pub/test/100mb.bin" on the server or just try to download another big file. Is that file downloading fast? Then the problem can be a number of things: maybe the bottleneck is the DSL connection you're uploading with, or apache is set up with an upload cap. Some hosting providers host different VPS's on a server with slow sata hard-disks, write-speeds are extremely slow then.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.