[00:32] <styol> 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] <jkitchen> styol: tcpdump should help out a lot
[00:35] <styol> 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] <jkitchen> I would argue that it's well within your DUTIES :)
[00:37] <jkitchen> tcpdump is magic.
[00:37] <styol> -duties haha
[00:37] <styol> i suspect sorcery
[00:37] <jkitchen> tcpdump's syntax is a bit weird but you can get some pretty basic things
[00:37] <jkitchen> http://danielmiessler.com/study/tcpdump/
[00:38] <jkitchen> Show me all RESET (RST) packets...
[00:38] <jkitchen> # tcpdump 'tcp[13] & 4!=0'
[00:38] <styol> jkitchen: <3 is this output each RST?
[00:38] <jkitchen> yes
[00:39] <styol> this seems to be more than the benchmarks are reporting which is interesting
[00:39] <styol> guessing just a sample might do? its quite a bit
[00:39] <jkitchen> you can also filter it further
[00:39] <jkitchen> yea
[00:39] <jkitchen> you can take the output of tcpdump and feed it through something like wireshark too to do offline analysis
[00:40] <styol> jkitchen: http://pastie.org/private/zmznqsftxeouqrgavpg0g i will keep reading the url you provided also, much appreciated
[00:43] <styol> 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] <dissected> hello
[00:50] <styol> 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] <styol> and it actually seems to output a bit more than 5 servers x 3 second intervals
[00:50] <styol> the http-alt's are the servers being load balanced
[00:52] <styol> i suppose the 3 second interval specification isn't applicable to this haproxy configuration option
[01:06] <axisys> how to remove all the desktop packages from the server ?
[01:06] <axisys> two servers 12.04 LTS 64bit .. one has 480 pkgs and the other one (+desktop) has ~1600 pkgs
[01:07] <axisys> I see lots of graphics there too
[01:07] <axisys> I wish there were a aptitude remove ubuntu-desktop
[01:08] <sarnold> 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] <sarnold> 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] <axisys> sarnold: yep, that might be riskier..
[01:09] <axisys> removing lots of manually
[01:11] <axisys> 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] <sarnold> axisys: deborphan can be helpful to find and cleanup remnants..
[01:11] <axisys> new to me
[01:12] <sarnold> it'll be more useful once you've removed a few hundred packages :)
[01:17] <axisys> unity compiz.. wow!
[01:23] <dissected> question for the routing/firewall gurus
[01:26] <dissected> 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] <dissected> out eth3 that is to the internet
[01:28] <dissected> 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] <dissected> hopefully that is a coherent explanation
[01:28] <sarnold> dissected: how's /proc/sys/net/ipv4/conf/*/forwarding look?
[01:29] <sarnold> does everything have a '1'?
[01:29] <dissected> sarnold, hold on
[01:29] <dissected> sarnold, I'll check
[01:32] <dissected> 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] <sarnold> dissected: oooh. you might also need to fiddle with the accept_local file in the same directories..
[01:33] <dissected> sarnold, might I need to somehow isolate wlan0, br0, eth0 better?
[01:33] <sarnold> dissected: hrm, dunno :/
[01:34] <sarnold> I've never run a system quite that complicated before :)
[01:34] <dissected> sarnold, there's not a lot of documentation/postings online for this sorta problem
[01:34] <styol> 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] <dissected> sarnold, that's why I'm in here
[01:34] <sarnold> dissected: indeed, no :)
[01:35] <dissected> sarnold, Once I get it to work I might write something up and post it on a wiki somewhere, or something
[01:35] <sarnold> dissected: please do :)
[01:36] <dissected> 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] <dissected> sarnold, you may have pointed me in the right direction though
[01:37] <sarnold> dissected: oh? find something intersting?
[01:39] <dissected> sarnold, it's probably a simple switch somewhere
[01:39] <sarnold> 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] <dissected> sarnold, yeah
[01:41] <dissected> 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] <dissected> 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] <axisys> sarnold: got rid of 400.. still 1238 total
[01:42] <sarnold> dissected: cool, sounds like a fun project :)
[01:42] <sarnold> axisys: oof. :) well, a bit every day...
[01:42] <dissected> sarnold, I've had some extra time on my hands lately
[01:43] <axisys> sarnold: how does deborphan work? I should check it out
[01:46] <axisys> hmm .. some package remove says it will remove ubuntu-minimal as well.. oops
[01:47] <axisys> found it debconf-i18n.. odd
[01:48] <sarnold> axisys: deborphan suggests packages that were installed to satisfy a dependency, but are no longer needed
[01:48] <sarnold> it isn't always right :)
[01:49] <sarnold> sometimes you do still want the package; but it's helpful.
[01:49] <sarnold> axisys: the 'orphaner' front-end is nice
[01:49] <sarnold> you select some, hit 'simulate', and then it presents a new list to you for you to add more packages
[02:01] <thurstylark> 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] <sarnold> thurstylark: probably install 10.04 and use do-release-upgrade
[02:02] <sarnold> 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] <thurstylark> 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] <thurstylark> sarnold: i just might do that :/
[02:04] <sarnold> 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] <sarnold> it seems needlessly awkward to not just install the specific distribution you want in the first place. something seems fishy. :)
[02:06] <thurstylark> once i install (and then run updates ofc) the dist-upgrade option has nothing else to offer me.
[02:06] <thurstylark> Also, I agree.
[02:07] <sarnold> 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] <sarnold> (worth a shot if the alternative is throw the whole thing away and move elsewhere, but more work than it could be..)
[02:14] <thurstylark> 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] <sarnold> thurstylark: oh, nice.
[02:35] <hallyn_> 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] <hallyn_> ?
[02:37] <zul> hallyn_:  actually i just create an hvm domain in virt-mangaer and let it be done with it
[02:37] <hallyn_> zul: hm, i can't connect from a remote host from virt-manager
[02:37] <hallyn_> i can list with virsh,
[02:37] <hallyn_> but virt-manager hangs.  (from saucy to saucy)
[02:37] <zul> hallyn_:  hmm..
[02:37] <zul> weird
[02:37] <zul> ill have a look monday...going to disapear for tonight
[02:38] <hallyn_> well i guess i should back out smb's ppa.  it *could* be cuaing trouble
[02:38] <hallyn_> zul: have a good weekend
[02:53] <axisys> 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] <axisys> if I add the path in foo.pl it solves.. is there a better way to fix the PATH issue?
[02:54] <axisys> I was hoping system would find stuff in /usr/local/bin by default
[02:55] <axisys> 12.04 LTS server
[02:57] <axisys> where do I add comment like this? I want to see my process started OK
[02:57] <axisys>  * Starting OpenSSH server                                               [ OK ]
[04:07] <kasad> guys can I get some assistamce.  have to install ubuntu 8.04 LTS from a flashdrive
[04:08] <kasad> setup starts, but then it says that installation cd-rom couldn't be mounted
[04:08] <kasad> I found somewhere that there is workaround, that I could mount proper flash drive partition as /cdrom and setup would continue
[04:09] <kasad> but I don't know how to figure out which is correct flashdrive partition
[10:11] <Senor>  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] <Senor> who is farmiliar with ubuntu `precise version ?
[17:00] <MraMra> 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] <MraMra> 'sudo aptitude install --without-recommends...' i mean
[19:16] <Orfeous> 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] <Patrickdk> orfeous, only if you have a way to plug in physical harddrive and a way to power it
[23:58] <LargePrime> hey all.  my server is telling me that / is 85% full
[23:58] <LargePrime> but /home has 100 GB free
[23:58] <LargePrime> what can be taking up space in /