/srv/irclogs.ubuntu.com/2020/08/09/#ubuntu-server.txt

=== kedar is now known as kedar_apte
locknet Hi everyone!, for some reason my apache2 server is limiting the upload speed. I have a vps with 500Mbps upload speed, but for some reason when I download a file located in /var/www/html/ it's only gives me 6Mbps19:54
locknetwhy is this happening?19:54
Woetlocknet: that won't happen on a default install20:11
Woetcheck 1) that you're actually getting that upload speed 2) you don't have some speed limiting firewall rule/apache module20:12
Woetbut 1) is much more likely.20:12
locknetWoet, it's a default install, I test the upload speed with Ookla's speedtest CLI20:13
locknetand it gives me 500Mbps20:13
Woetlocknet: that doesn't benchmark the speed to your ISP.20:13
Woetlocknet: check using something like SFTP.20:13
locknetWoet, rsync could works?20:14
Woetsure.20:14
locknetOK, I'll be back in a sec20:14
locknet991Woet, nop, my normal download speed is 20Mbps, but if I try to download from the index of file it gives me 5Mbps20:22
Woetlocknet991: what about with rsync/sftp?20:22
locknet991Woet, the test was done with rsync20:23
Woetlocknet991: okay, so then your connection to the server is throttled to 5 Mbps, maybe due to bad peering, under capacity, stingy ISP, etc20:23
Woetlocknet991: whats the latency?20:24
locknet991I'm really far away from the server so the normal latency is 220ms20:24
locknet991I'll read about bad peering, another user told me the same20:26
Woetlocknet119: then it's quite normal you don't get your full download speed.20:48
locknet119Woet, but just get less than th half of speed?20:49
Woetlocknet119: that's quite normal.20:49
locknet119hmmm, i didn't know it20:49
locknet119Thanks you dude20:49
Woetlocknet119: do a speedtest on your computer and change the location to where your server is.20:49
locknet991Woet, yes, as you say I connected to my vpn in there and get 5Mbps. So that is bad peering, right?20:55
Woetlocknet991: https://networkengineering.stackexchange.com/questions/13079/why-are-downloads-slower-if-the-server-is-far-away20:56
locknetWoet, thank you man, you save me a lot of research time20:59
CuChulaindHello. I have installed elasticsearch. I have logstash running and i don't want it to. systemctl stop logstash doesn't do anything, and I show that the service is enabled even after I run systemctl disable logstash. How do I get this java program to stop and NOT be enabled?23:28
CuChulaindusing killl and PID it just pops back up23:28
CuChulaindCan I simply remove the file in /etc/systemd/system to at least disable it?23:29
=== dm2912_ is now known as dm2912

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!