[02:44] hi [02:44] I have a problem... [02:45] there is this ubuntu server, and it's relatively fast considering that I am the only user on this server [02:45] however, there is a person sitting in Asia, claiming that this server would be extraordinary slow for him [02:45] I ran speedtest-cli and the results are OK [02:45] what could be the reason? [03:02] LisaL latency [03:03] ddellav, what is that? [03:03] do a trace route from the server to his IP address and you'll see what the issue is [03:03] ddellav, okay! [03:03] doing this now [03:03] LisaL it's the time it takes a packet to travel from your server to his computer [03:03] okay testing it - 1 moment please [03:03] thank you for the tip! [03:03] np [03:05] ddellav, can I please show you the output in a private message? It would feel bad to me to share the person's IP address (and my server's IP address) in a maybe logged channel publicly [03:05] LisaL sure [03:05] LisaL: depending on where the server is located, asia or europe or america, the latency issues can be rather bad. if you're using SMB, it can be pretty horrible [03:05] RoyK, the server stands in Central Europe [03:05] LisaL: just secure the server - the bots will find it anyway ;) [03:05] the person in question lives in Cambodia [03:06] I could blank out the IP's [03:06] one moment please [03:06] LisaL: what sort of ping times do you get there? [03:07] LisaL: what sort of traffic or protocol is this? [03:07] pasting now... [03:07] 1 moment pls [03:08] https://dpaste.de/Qe71/raw [03:08] 200ms is quite a bit [03:08] why are there not more points in between? [03:08] again, what protocol? [03:08] I don't know?! [03:08] what sort of service? web? [03:09] yes [03:09] oh [03:09] http then [03:09] http is rather resilint to latency, so it shouldn't matter too much [03:09] he is downloading huge files (200 MB+) [03:09] and also uploading [03:09] and he needs 2 hours for a 200 MB upload / download [03:10] that shouldn't matter either in terms of latency [03:10] but when he up/downloads files to google drive, this takes 2 minutes [03:10] so his connection is good [03:10] LisaL: what sort of internet connection do you have? [03:10] it's not me, it's a server [03:11] hosted at a local provider [03:11] I guess that's a normal ethernet cable they plug in? [03:11] not idea how they connect their servers [03:11] I ran a speedtest-cli [03:11] what did it say? [03:11] Testing download speed........................................ [03:11] Download: 600.37 Mbit/s [03:11] Testing upload speed.................................................. [03:11] Upload: 282.13 Mbit/s [03:12] and what are the speed you client is getting? [03:12] I only know that he needs an average of 2 hours to transfer 200 MB [03:13] it's a freelancer to be exact [03:13] webdav or something? [03:13] yes [03:13] nextcloud [03:13] ok [03:13] do you monitor your server's cpu use? and i/o? [03:14] no [03:14] when I download / upload files myself, my server is very fast [03:14] well, do so - start by installing sysstat, it's an old, but rock solid thing, you need to enable it in /etc/default/sysstat after installing it [03:15] just monitor everything you can [03:15] okay [03:15] thank you RoyK [03:16] btw, is your client using a linux machine? if so, you could use iperf to check the network performance between the two, your machine and the client's [03:16] he uses windows [03:16] I am the client [03:16] he is the freelancer [03:16] LisaL: I'd recommend using something like munin on top, but that takes a wee bit of configuration compared to sysstat [03:17] I will read on this [03:17] there's iperf for windows as well https://iperf.fr/iperf-download.php [03:17] oh that's good! [03:17] and using this, he could see why it's so slow? [03:17] keep in mind that iperf2 and iperf3 are not compatible [03:18] iperf will only monitor network speed - it may be nextcloud is the bottleneck [03:18] perhaps some php tuning needed somewhere [03:18] I could try to upload a 200 MB testfile into /var/www and ask him to download from there [03:18] start with the basics [03:18] measure network - iperf [03:19] okay [03:19] I need time to read about it [03:19] make sure you have the same version on both sides, and that the server side is open for connection on the port in the firewall [03:19] it won't take long ;) [03:21] thank you RoyK [03:21] usually I only work with graphics / pictures [03:21] maybe I should have rented a static webspace rather than a vserver [03:21] I see [03:21] well, it doesn't take too long to get used to things [03:22] and you'll learn a lot from it :D [03:22] * RoyK setup his first linux machine in 1994 and has been using linux (and a lot of other OSes) ever since [03:23] I am also using linux as my desktop [03:23] since Suse, and later Debian Potato times [03:23] but I never got into server administration too much [03:24] potato <3 [03:24] I believe that was the codename [03:24] the one before woody [03:24] yeah - I remember it - from 2002 [03:24] no - 2000 [03:24] omg time passes by [03:25] I used to be young, sexy and beautiful [03:25] now I am the potato [03:25] lol [03:25] and Debian is sexy [03:25] aren't we all? ;) [03:25] (the former) [03:25] :)) [03:25] lol [03:25] anyway - any luck with iperf? [03:26] and btw, which version of nextcloud and php? [03:26] I installed it [03:26] the client needs it as well [03:26] I believe iperf3 -s would be the right command [03:26] should do - just make sure the firewall is open for that port [03:26] yep, it was :) [03:26] ----------------------------------------------------------- [03:26] Server listening on 5201 [03:26] ----------------------------------------------------------- [03:27] ufw or iptables or something in the way, it won't work [03:27] nah the server is not secured [03:27] ^.^ [03:27] LisaL: pm me the ip address, so I can test [03:27] yeah, now that you know it's not secured ;) [03:27] :)) [03:28] I am installing iperf3 on my local ubuntu machine as well [03:28] and try it [03:28] I know *your* ip address already ;) [03:29] LisaL: just secure your machines - giving away ip addresses is safe as long as the machine is safe - not giving away ip addresses won't stop the bots from finding it [03:30] well I am connected to IRC, sure you get my IP :) [03:30] iperf3 has successfully been installed on my local machine [03:30] ok, try iperf -c x.x.x.x [03:31] there's a bunch of magpies feasting on something on my balcony [03:31] looks similar to a ping [03:32] except it measures bandwidth as well [03:32] ping usually just sends a 56 byte package - not a megabyte or two [03:33] wee difference [03:35] I guess that is 'Elster' to you ;) [03:37] I don't know Elster? [03:38] LisaL: where are you from? [03:38] Austria [03:38] Vienna [03:39] guessed so - by the whois of your ip ;) [03:39] ^.^ [03:39] I was talking about birds https://de.wikipedia.org/wiki/Elster [03:41] seems a möwe (if that is what you call it) is taking over the party http://smilla.karlsbakk.net:8081/ [03:42] there are birds named that way [03:42] but there are no "Möwen" around in Vienna [03:42] and Elster is a bird I've seen twice in my whole life [03:43] my freelancers keep messaging me all the time, I must go back to work [03:43] I am sorry [03:43] thank you for the nice chat :) [03:43] hehe [03:43] hope I could help out a bit [03:43] sure you could [03:43] thank you :) === Kamilion is now known as |{amilion === |{amilion is now known as Kamilion [11:16] does system76 still sell ubuntu machines? [11:25] can you wakeup from a jackal [11:32] or is a jackal permenant comotose [11:54] android: why do you need to buy an "ubuntu machine"? [15:53] how can I enable networking in recovery mode? There is an option in the menu to enable networking, but that mounts filesystems which I don't want to do. [16:00] Generally, you dont want networking in recovery, in my experiance anyway [16:05] I need to get some data off a zfs pool. it won't mount in multi-user mode. [16:10] rbasak: is there any chance we can get upstream interested in maintaining percona-server-5.6 (or moving the ubuntu packages to percona-server-5.7)? Or can we just drop the package? [16:11] Because the publishing history is kind of dire https://launchpad.net/ubuntu/+source/percona-server-5.6/+changelog when compared with the open cves for the package http://people.canonical.com/~ubuntu-security/cve/pkg/percona-server-5.6.html [16:19] dpb1, jamespage: ^ [16:22] rbasak, sbeattie, dpb1: good question - tbh I don't know [16:23] I've made some effort to tend percona-xtradb-cluster-5.6 as that's part of our openstack deployment architecture === JanC is now known as Guest39739 === JanC_ is now known as JanC [16:35] * ddellav waves to jamespage [16:35] o/ [20:50] Hmm, on one of my VMs I had to LSB-ize an old init script to get it to run on 16.04+systemd, but a customer support rep for the program in question has said she didn't have to. Is there some sort of compatibility package *other* than systemd-sysv that my instance could be lacking? Or some other wrinkle that could create this result? === hehehe is now known as linuxman === linuxman is now known as hehehe [22:27] am I missing something or there's no way to get an apt-listchanges like output in terminal before installation? [22:28] I can do it manually with apt list --upgradable and then looking at the versions and finally apt changelog and look at it for that delta [22:28] but it kind of sucks [22:29] I guess I have to download the pkg first and then it will work with apt-listchanges [22:33] drab: you can have apt-listchanges prompt whether or not to continue with package installation. if you answer no, the packages dont get installed. https://askubuntu.com/questions/272215/seeing-apt-get-changelogs-for-to-be-upgraded-packages [23:19] My ubuntu server install failed at the "Selecting and installing software" stage. What should I do? [23:19] it was an amazingly unhelpful error screen in that it did not communicate anything about any reason for the failure. just said it failed. [23:20] Since I'm just trying to setup a stupid minecraft server in my house, maybe i should just use regular ubuntu ? [23:23] tomreyn: yeah, what I meant was a manual review before install, meaning before the time I actually run the install (which is unattended) [23:24] I have a test box/vm that gets upgraded before anything else and I wanted to review at once all the changes the upgrade would introduce [23:25] which is pretty much what apt-listchanges will send you via email. I just wanted that to be printed (and possible stored somewhere as part of documented the increment of the image) [23:26] on a different note, I'm amazed about how hard it turned out to be to do transparent proxying with another box than the gw [23:26] it seems actually almost impossible without some "heavy" tradeoffs [23:27] like putting the box on a diff network that would route to clients through the same gw or lose the source ip (in case on nat'ing), which isn't really an option [23:28] BenMcLean: if you've got a video card and monitor on it, then the desktopversion should probably be fine. the desktop version comes with network manager, and X11, and libreoffice and the like, but the server version doesn't. you can basically get a desktop on the server via 'apt-get install ubuntu-desktop' [23:28] I don't understand how people do this "professionally", it seems a common need/practice, but I couldn't find a blueprint of any sort [23:28] sarnold, ok i am going with the regular ubuntu i guess [23:29] still, failing the install is pretty bad [23:29] in #iptables they assured me it was all NAT, but most proxies will do auth or change restrictions based on src ip so NAT seems a no go [23:29] BenMcLean: was there any more information on any of the other virtual consoles? [23:30] drab: certainly when I did it 20 years back I put the squid proxy right on the NAT box .. [23:30] sarnold: yeah, that's what 99% of the tutorials/docs explain, but how is that scalable if you are a school/largish campus or company? [23:30] sarnold "other virtual consoles"? sorry I haven't messed with ubuntu server before. Most of my exposure to linux is from screwing around with RetroPie, the debian-based gaming OS for Raspberry PI [23:30] sarnold: it seems you'd want to run a few of those and on their own machine [23:31] BenMcLean: control alt f1, control alt f2, etc [23:31] sarnold: but maybe they just have multiple gateways behind "the real" gw [23:31] drab: the -big- sites I've seen all force users to customize a proxy in their browser [23:31] oh [23:31] fair enough [23:31] sarnold oh well i already shut down and am most of the way through downloading regular Ubuntu. think i'll go with that at that point, but thanks for the info cause if this install fails as well, then I can try those key combos to see what's going on [23:32] BenMcLean: try f1 through f7 or f8, they might not all have stuff on them but others may [23:34] sarnold ok, will try that if it happens again