XFileSharing Pro - Random slow storage server

Message
Author
karvaly
Posts: 8
Joined: Apr 02, 2012 3:12 pm

Random slow storage server

#1 Postby karvaly » May 24, 2012 6:17 pm

Dear users,

I have a storage server with nginx and sometime the upload speed is very low. Usually the upload speed (for me) 650kb/s and then something will be wrong and my upload speed is 250kb/s

Please add me a good advice how can I solve this problem.

Thank you very much!

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#2 Postby chrda » May 24, 2012 8:26 pm

There can be so many reason for that.
Maxed linkspeed 100 or 1000Mbit kills the upload speed.
Maxed disk IO kills the upload speed
Bad Datacenter routing / oversale of the link kills the upload in peak.

You need to post info related to:
Your port speed on the server
Your datacenter you have the server in
What disk setup do you have.

karvaly
Posts: 8
Joined: Apr 02, 2012 3:12 pm

#3 Postby karvaly » May 24, 2012 9:10 pm

Thank you for your answer.

- 1Gbs port speed
- 100Tb.com where my storage server in
- I don't know the disk setup :S

Unfortunetly I'm not an IT expert. :( I know I'm dumb, but I have a very small sharing site and I try to make with low budget.

At the moment this server is working perfectly. Upload speed is 650Kb/s.

So....this is very interesting.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#4 Postby ankurs » May 25, 2012 6:20 am

karvaly wrote:Unfortunetly I'm not an IT expert. :( I know I'm dumb

get a server administrator, he will figure it out

without server access we can only speculate what is the cause

karvaly
Posts: 8
Joined: Apr 02, 2012 3:12 pm

#5 Postby karvaly » Jun 01, 2012 6:04 pm

Thanks ankurs your advice.

So....here is my atop results. I guess the 16Gb RAM is the problem. Someone agree with me?

Code: Select all

PRC | sys    0.02s | user   0.02s |               |              | #proc    192 | #zombie    0 | clones     0 |               |              | #exit      0 |
CPU | sys       0% | user      0% | irq       1%  |              | idle    799% |              | wait      0% |               | steal     0% | guest     0% |
cpu | sys       0% | user      0% | irq       1%  |              | idle     99% |              | cpu007 w  0% |               | steal     0% | guest     0% |
cpu | sys       0% | user      0% | irq       0%  |              | idle    100% |              | cpu003 w  0% |               | steal     0% | guest     0% |
cpu | sys       0% | user      0% | irq       0%  |              | idle    100% |              | cpu006 w  0% |               | steal     0% | guest     0% |
CPL | avg1    0.00 | avg5    0.00 |               | avg15   0.00 |              | csw    12768 | intr   26333 |               |              | numcpu     8 |
MEM | tot    15.7G | free   84.0M | cache  15.2G  | dirty   0.4M | buff   79.1M | slab  140.5M |              |               |              |              |
SWP | tot    17.6G | free   17.6G |               |              |              |              |              |               | vmcom 336.7M | vmlim  25.4G |
PAG | scan    1536 |              | stall      0  |              |              |              |              | swin       0  |              | swout      0 |
LVM |      vg-root | busy      3% | read      65  | write     91 | KiB/r    126 | KiB/w      4 | MBr/s   0.80 | MBw/s   0.04  | avq     1.03 | avio 1.87 ms |
DSK |          sda | busy      3% | read      65  | write      4 | KiB/r    126 | KiB/w     91 | MBr/s   0.80 | MBw/s   0.04  | avq     1.03 | avio 4.23 ms |
NET | transport    | tcpi    9787 | tcpo    7001  | udpi       0 | udpo       0 | tcpao      0 | tcppo      0 | tcprs    339  | tcpie      0 | udpip      0 |
NET | network      | ipi     9787 | ipo     7340  | ipfrw      0 | deliv   9787 |              |              |               | icmpi      0 | icmpo      0 |
NET | eth1      2% | pcki    9792 | pcko   17891  | si  485 Kbps | so   21 Mbps | coll       0 | erri       0 | erro       0  | drpi       0 | drpo       0 |

  PID    RUID        EUID         THR      SYSCPU     USRCPU     VGROW      RGROW     RDDSK     WRDSK     ST    EXC    S     CPUNR     CPU    CMD         1/1
28391    root        root           1       0.02s      0.01s        0K         0K        0K        0K     --      -    R         6      0%    atop
29493    nobody      nobody         1       0.00s      0.01s        0K         0K     5376K        0K     --      -    S         7      0%    nginx
29494    nobody      nobody         1       0.00s      0.00s        0K         0K     2816K        0K     --      -    S         7      0%    nginx
 3651    haldaemo    haldaemo       1       0.00s      0.00s        0K         0K        0K        0K     --      -    S         4      0%    hald
 3675    root        root           1       0.00s      0.00s        0K         0K        0K        0K     --      -    S         4      0%    hald-addon-sto
 3496    root        root           1       0.00s      0.00s        0K         0K        0K        0K     --      -    S         0      0%    irqbalance
  822    root        root           1       0.00s      0.00s        0K         0K        0K      180K     --      -    S         1      0%    kjournald
 3476    root        root           1       0.00s      0.00s        0K         0K        0K        0K     --      -    S         4      0%    kondemand/4


ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#6 Postby ankurs » Jun 01, 2012 6:07 pm

Disk load is only 3%, don't see that as a issue.

Increasing ram will be a overkill.

karvaly
Posts: 8
Joined: Apr 02, 2012 3:12 pm

#7 Postby karvaly » Jun 01, 2012 6:23 pm

ankurs wrote:Disk load is only 3%, don't see that as a issue.

Increasing ram will be a overkill.


Thank for your answer. If the RAM is enough and the disk load is not much, why slow the premium download speed?

I give for every premium member 1024kb/s per slot download speed, they can download only 100-125Kb/s. :(

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#8 Postby ankurs » Jun 01, 2012 6:40 pm

karvaly wrote:
ankurs wrote:Disk load is only 3%, don't see that as a issue.

Increasing ram will be a overkill.


Thank for your answer. If the RAM is enough and the disk load is not much, why slow the premium download speed?

I give for every premium member 1024kb/s per slot download speed, they can download only 100-125Kb/s. :(

Ram is ok, in this condition.

Speed will vary from location to location, it all depends on routing. Are the down loaders from same country/continent ? As the server.

karvaly
Posts: 8
Joined: Apr 02, 2012 3:12 pm

#9 Postby karvaly » Jun 01, 2012 7:05 pm

I have only one file server in UK (100tb.com)

My downloaders are all around the world. For example I'm in Hungary and my download speed 150Kb/s (at evening CET). Why I download at morning the download speed is much better (1Mb/s)

Maybe there is a possibility to limit premium download slot?

::Roy::
Posts: 4
Joined: Apr 07, 2012 8:28 am

#10 Postby ::Roy:: » Jun 02, 2012 6:36 pm

i am also going to buy server.
i want to take 8 gb ram.

it will work good or will give problems

its my full spec

HP DL120G7
Intel E3-1230
8GB RAM
4x1000GB HDD
100TB traffic on GigE port

one my friend said that 16 gb ram is must :(

tell me your openion

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#11 Postby ankurs » Jun 04, 2012 7:04 am

karvaly wrote:For example I'm in Hungary and my download speed 150Kb/s (at evening CET). Why I download at morning the download speed is much better (1Mb/s)

this could be a issue with your isp, try it from various locations and see

if there isnt much disk load, then its your datacentre or isp issue


Return to “XFileSharing Pro”