=== acrocity_ is now known as acrocity [00:32] Hey there. I am performing some benchmarks against an Ubuntu 12.04 server that is load balancing requests using HAProxy and I'm having trouble identifying the source of connection resets being returned to the client during these high concurrency benchmarks. Any recommendations on where one might be able to start isolating the source of this issue or anything worth examining further? [00:33] styol: tcpdump should help out a lot [00:35] jkitchen: gotcha, is there something specific that should be isolated from the output? This honestly goes a bit past my common duties and abilities in system administration ;) [00:36] I would argue that it's well within your DUTIES :) [00:37] tcpdump is magic. [00:37] -duties haha [00:37] i suspect sorcery [00:37] tcpdump's syntax is a bit weird but you can get some pretty basic things [00:37] http://danielmiessler.com/study/tcpdump/ [00:38] Show me all RESET (RST) packets... [00:38] # tcpdump 'tcp[13] & 4!=0' [00:38] jkitchen: <3 is this output each RST? [00:38] yes [00:39] this seems to be more than the benchmarks are reporting which is interesting [00:39] guessing just a sample might do? its quite a bit [00:39] you can also filter it further [00:39] yea [00:39] you can take the output of tcpdump and feed it through something like wireshark too to do offline analysis [00:40] jkitchen: http://pastie.org/private/zmznqsftxeouqrgavpg0g i will keep reading the url you provided also, much appreciated [00:43] i definitely need to work on my tcp/ip chops. Been doing too much high level programming that hides a lot of this awesomeness from me [00:46] hello [00:50] jkitchen: ok so one kind of interesting thing about this output is port 8097 is actually a health check being performed by haproxy as opposed to the servers being load balanced [00:50] and it actually seems to output a bit more than 5 servers x 3 second intervals [00:50] the http-alt's are the servers being load balanced [00:52] i suppose the 3 second interval specification isn't applicable to this haproxy configuration option [01:06] how to remove all the desktop packages from the server ? [01:06] two servers 12.04 LTS 64bit .. one has 480 pkgs and the other one (+desktop) has ~1600 pkgs [01:07] I see lots of graphics there too [01:07] I wish there were a aptitude remove ubuntu-desktop [01:08] axisys: apt-get purge some of the 'base' graphics packages, like gtk libraries or X libraries -- and copy-and-paste the names of packages that require the candidate package? [01:08] axisys: if you want them identical, you could use dpkg --get-selections and --set-selections, or whatever they are, but that seems riskier to me. [01:09] sarnold: yep, that might be riskier.. [01:09] removing lots of manually [01:11] dpkg --get-selections | awk '/^xserver/ {printf "%s ", $1}' gave me a good list.. I guess I could sudo aptitude purge infront of that output [01:11] axisys: deborphan can be helpful to find and cleanup remnants.. [01:11] new to me [01:12] it'll be more useful once you've removed a few hundred packages :) [01:17] unity compiz.. wow! [01:23] question for the routing/firewall gurus [01:26] running three interfaces on the same box (dedicated router/firewall), bridged wlan0 to eth0 to LAN, eth3 to cable modem and eth2 to LAN, running hostapd and dnsmasq, all devices receive DNS and DHCP replies correctly but only the wired connections on the LAN will get forwarded [01:27] out eth3 that is to the internet [01:28] when I move the cable modem to another machine on the LAN and use that as the router, the wireless devices will get fowarded just fine, just not when everything is in the same machine [01:28] hopefully that is a coherent explanation [01:28] dissected: how's /proc/sys/net/ipv4/conf/*/forwarding look? [01:29] does everything have a '1'? [01:29] sarnold, hold on [01:29] sarnold, I'll check [01:32] sarnold, the machine is starting up I'll ssh in shortly, my goal is to have the wifi card send everything out via the eth0, so it should be coming back in via eth2 and get forwarded along with everything else on the LAN [01:32] dissected: oooh. you might also need to fiddle with the accept_local file in the same directories.. [01:33] sarnold, might I need to somehow isolate wlan0, br0, eth0 better? [01:33] dissected: hrm, dunno :/ [01:34] I've never run a system quite that complicated before :) [01:34] sarnold, there's not a lot of documentation/postings online for this sorta problem [01:34] jkitchen: now i get that you were just pasting the label for that output and not necessarily asking that I "Show [you] all RESET (RST) packets…". That being said, me not entirely sure where to go from here with the resets that are being captured [01:34] sarnold, that's why I'm in here [01:34] dissected: indeed, no :) [01:35] sarnold, Once I get it to work I might write something up and post it on a wiki somewhere, or something [01:35] dissected: please do :) [01:36] sarnold, everything else works like it should, it's just for some reason the wireless devices won't get forwarded if the AP and gateway are the same machine [01:37] sarnold, you may have pointed me in the right direction though [01:37] dissected: oh? find something intersting? [01:39] sarnold, it's probably a simple switch somewhere [01:39] dissected: that's my hope. finding it might be difficult though. I know I've fought both those switches before, which is why I was quick to offer them :) hehe [01:40] sarnold, yeah [01:41] sarnold, I also want to get another wifi card, setup a proxy to another network, because my neighborhood is blanketed with free wifi from a local isp [01:41] sarnold, so I'll set software updates, long downloads, torrents, etc to pull from that one, so they don't interfere with my connection [01:42] sarnold: got rid of 400.. still 1238 total [01:42] dissected: cool, sounds like a fun project :) [01:42] axisys: oof. :) well, a bit every day... [01:42] sarnold, I've had some extra time on my hands lately [01:43] sarnold: how does deborphan work? I should check it out [01:46] hmm .. some package remove says it will remove ubuntu-minimal as well.. oops [01:47] found it debconf-i18n.. odd [01:48] axisys: deborphan suggests packages that were installed to satisfy a dependency, but are no longer needed [01:48] it isn't always right :) [01:49] sometimes you do still want the package; but it's helpful. [01:49] axisys: the 'orphaner' front-end is nice [01:49] you select some, hit 'simulate', and then it presents a new list to you for you to add more packages [02:01] I'm setting up a vps, and my provider only will support clean installs of ubuntu server up to 11.04. What method do you recommend to get me to 12.04? [02:02] thurstylark: probably install 10.04 and use do-release-upgrade [02:02] thurstylark: it might be worth asking them why they are so old.. there might be a good reason why they don't offer newer, and you might be better off choosing a different provider [02:04] sarnold: I tried that, but whatever build they have to image on their vps doesn't have upgrade-manager-core installed already, and when i go ahead and install it and do do-release-upgrade, it fails out on one of the package installs and doesn't continue. [02:04] sarnold: i just might do that :/ [02:04] thurstylark: you could just try a blunt apt-get dist-upgrade, but it may fail for the same reasons, or fun and exciting different reasons.. :) [02:05] it seems needlessly awkward to not just install the specific distribution you want in the first place. something seems fishy. :) [02:06] once i install (and then run updates ofc) the dist-upgrade option has nothing else to offer me. [02:06] Also, I agree. [02:07] thurstylark: you'd replace 'lucid' with 'precise' in your /etc/apt/sources.list file, then apt-get update, then apt-get -u dist-upgrade [02:08] (worth a shot if the alternative is throw the whole thing away and move elsewhere, but more work than it could be..) [02:14] sarnold: I'll file that away in my brain for future use if I need it. For now, it seems that the support group is willing to install a non-listed OS if I ask them to, so, I'm gonna try that. [02:16] thurstylark: oh, nice. [02:35] zul: so you're able to just virsh -c xen:/// define somexen.xml and then start it? do you use pygrub? do you have a sample xml you can pastebin [02:35] ? [02:37] hallyn_: actually i just create an hvm domain in virt-mangaer and let it be done with it [02:37] zul: hm, i can't connect from a remote host from virt-manager [02:37] i can list with virsh, [02:37] but virt-manager hangs. (from saucy to saucy) [02:37] hallyn_: hmm.. [02:37] weird [02:37] ill have a look monday...going to disapear for tonight [02:38] well i guess i should back out smb's ppa. it *could* be cuaing trouble [02:38] zul: have a good weekend [02:53] sudo /etc/init.d/foo.pl start; works fine.. but does not start at reboot since /usr/local/bin/placker is not in PATH [02:53] if I add the path in foo.pl it solves.. is there a better way to fix the PATH issue? [02:54] I was hoping system would find stuff in /usr/local/bin by default [02:55] 12.04 LTS server [02:57] where do I add comment like this? I want to see my process started OK [02:57] * Starting OpenSSH server [ OK ] [04:07] guys can I get some assistamce. have to install ubuntu 8.04 LTS from a flashdrive [04:08] setup starts, but then it says that installation cd-rom couldn't be mounted [04:08] I found somewhere that there is workaround, that I could mount proper flash drive partition as /cdrom and setup would continue [04:09] but I don't know how to figure out which is correct flashdrive partition === Aww is now known as Aww[BWN] === Aww[BWN] is now known as Aww [10:11] I am trying to install systemtap on my ubuntu server ,which is of precise version .as you know systemtap need dbgsym installed ,bu I can not find bdgsym package for precise version anywhere . [10:16] who is farmiliar with ubuntu `precise version ? === [1]Rapid2214 is now known as Rapid2214 === [1]Rapid2214 is now known as Rapid2214 [17:00] hi is this good enough for a minimal working desktop environment with lxde on a fresh _basic ubuntu server_ to be run remotely with xrdp as server and remmina as client? : 'sudo apt-get install --without-recommends lxde-core && sudo mkdir /usr/share/backgrounds && sudo update-alternatives --config x-session-manager' [17:05] 'sudo aptitude install --without-recommends...' i mean === smb` is now known as smb [19:16] hi everyone! is it possible to move the physical harddrive from computer 1 (x86) to computer 2 (x64). harddrive is current running latest ubuntu 12.10 x86 [19:20] orfeous, only if you have a way to plug in physical harddrive and a way to power it [23:58] hey all. my server is telling me that / is 85% full [23:58] but /home has 100 GB free [23:58] what can be taking up space in /