#musicbrainz-devel

/

      • rvedotrc
        i.e. interface:vlan
      • ruaok
        em2:0 -> eth1.0
      • no. not correct.
      • em2:0 -> eth1.1
      • em2:2 -> eth1.3
      • that all plays with how iptable rules are written.
      • I've having to tweak a lot of things.
      • and yes, I can ping 3.25 from carl
      • the . notation is 1 based. the : notation is 0 based.
      • rvedotrc
        dib config is still wrong.
      • did you change it?
      • ruaok
        nope.
      • rvedotrc
        ah, that's why it's not working then. nor did I :-)
      • ruaok
        oh.
      • rvedotrc
        shall I?
      • ruaok
        please. :)
      • rvedotrc
        damn, my pseudo-ios-fu has left me. forgot how to save config :-(
      • Hmm. github not allowing me access to syswiki (sure that's the right url?), and I've forgotten how to commit switch config changes.
      • and I have to head into town.
      • ruaok
        ok, I'll try and do it via the web interface.
      • if you have some time later, I have a few more questions for you.
      • rvedotrc
        Mayeb it'll all come back later, but right now, ... nada.
      • ruaok
        understood.
      • rvedotrc
        ok, sure I'll be back later.
      • ttfn!
      • ruaok
        bai
      • dufferzafar joined the channel
      • weeksio joined the channel
      • LordSputnik
        reosarevok: sorry for the emails ;)
      • reosarevok
        haha
      • It's not a problem in that way, it's good stuff is happening :)
      • I just don't have time to get involved in BB dev so I'd rather not get those - I could filter them out on my side but I suspect I'm not the only one
      • ruaok
        chirlu`: may I borrow your iptables knowledge?
      • chirlu`
        If you return it …
      • ruaok
        crap. deal is off. :)
      • I'm trying to move our mail related ips to the new gateway.
      • the mail server sits on an internal ip, so we use SNAT routing to forward packets
      • -A POSTROUTING -o em1 -s 10.1.1.242 -j SNAT --to-source 72.29.167.155
      • -A PREROUTING ! -i em2:0 -p tcp -m tcp -d 72.29.167.155 --dport 25 -j DNAT --to-destination 10.1.1.242
      • first issue: any rule that I've tested that used the em2:0 iface did not work. if I use em2 it works.
      • so, I've been changing the interfaces, but in this case, it didn't work.
      • so using em2:0 doesn't work either.
      • I've never used {S|D}NAT rules before, so I have no idea what the issue might be.
      • chirlu`
        The rules are on ernie/bert?
      • ruaok
        yes
      • there are the live rules on carl:
      • -A PREROUTING -d 72.29.167.155/32 ! -i em2:0 -p tcp -m tcp --dport 25 -j DNAT --to-destination 10.1.1.242
      • -A POSTROUTING -s 10.1.1.242/32 -o em1 -j SNAT --to-source 72.29.167.155
      • sorry, wrong window. ignore those.
      • -A POSTROUTING -s 10.1.1.242/32 -o eth0 -j SNAT --to-source 72.29.167.155
      • chirlu`
        What are the various interfaces? em2 internal, em1 external?
      • ruaok
      • that is for ernie
      • chirlu`
        I remember there was some confusion about the different tables yesterday, are those rules in the right section (i.e. “nat”)?
      • ruaok
        yes
      • would you like me to mail you the whole file?
      • chirlu`
        Hm. Problem is I need to leave in five minutes or so, so not really enough time to look into a large file now. :)
      • ruaok
        ok, np. poke me should you have time later.
      • I'm hoping rvedotrc will be back before too long. :)
      • chirlu`
        I won’t be back before midnight, so she has a good chance of being here earlier. :-)
      • ruaok
        likely, yes.
      • I'll try moving the lb1 point over. it shouldn't require iptables changes.
      • chirlu`
        It seems interface aliases behave differently compared to VLANs, in any case.
      • Anyway, I have to go now. Viel Erfolg!
      • chirlu` has left the channel
      • ruaok
        danke
      • Mineo: still around?
      • JesseW joined the channel
      • MBChatLogger_1
        is logging
      • rajaniemi.freenode.net
        Users on #musicbrainz-devel: dom96 surtin Leo_Verto night199uk D4RK-PH0ENiX Leftmost legoktm michiwend adhawkins johtso Sebastinas Guest74450 pprkut kloeri _5moufl Muz mat_ kurros d356_ ocharles_
      • navap1 joined the channel
      • pprkut_ joined the channel
      • CallerNo7 joined the channel
      • kloeri_ joined the channel
      • _5moufl joined the channel
      • adhawkins joined the channel
      • djinni` joined the channel
      • ruaok
        anyone know how to deal with a "TCP: too many orphaned sockets" message in syslog?
      • flamingspinach joined the channel
      • mat__ joined the channel
      • mb-chat-logger joined the channel
      • _5moufl joined the channel
      • MBChatLogger
        is logging
      • kornbluth.freenode.net
        Users on #musicbrainz-devel: D4RK-PH0ENiX Leftmost michiwend johtso ocharles_ d356_ kurros Muz Guest74450 Sebastinas
      • reosarevok
        Gah, 502s like crazy
      • (assuming it's known, but just in case - beta)
      • ruaok knows
      • ruaok
        I tried to flip back to the old gateway, but that didn
      • 't work.
      • zas
      • ruaok
        now trying to figure out what I am getting so much packet loss
      • 91041121388182082
      • chirlu-mobile joined the channel
      • zas
        those values look quite low imho
      • cat /proc/net/sockstat ?
      • ruaok
        sockets: used 17254
      • UDP: inuse 19 mem 9
      • RAW: inuse 0
      • agreed.
      • chirlu-mobile
        So I suspect that the .1 interfaces on carl were VLANs, but the :1 interfaces on ernie are just aliases.
      • And by dropping the suffix from the iptables rule, it becomes too general.
      • zas
        mem 4084 << 182082 , so it isnt the cause (tcp mem is enough), what does cat /proc/sys/net/ipv4/tcp_max_orphans give ?
      • ruaok
        65535
      • kepstin joined the channel
      • chirlu-mobile: sorry, but now we're trying to tweak the TCP stack on ernie to give better performance than the shit we have now. :(
      • legoktm joined the channel
      • chirlu-mobile
        Yeah, I'm just writing for later reference.
      • zas
        ruaok: looks enough according to "orphan 1293", the document recommends x4 to be safe
      • ruaok
        yeah, I increased it and the warnings went away.
      • now I'm not getting much in syslog
      • chirlu-mobile
        The train will soon pass through an area without network anyway. :-)
      • alastairp joined the channel
      • ruaok
        hey alastairp. how is your TCP stack tuning foo?
      • the network to ernie used to be really bad and laggy. its fine now.
      • so, something has improved.
      • chirlu-mobile
        But if I'm right, NAT might be working for traffic coming from the Internet side, just not from internal.
      • ruaok
        huh. I can't ssh from carl to ernie.
      • that's weird.
      • CallerNo6 joined the channel
      • bitmap: you around?
      • mb-chat-logger joined the channel
      • MBJenkins joined the channel
      • JesseW joined the channel
      • kahu joined the channel
      • alastairp
        ruaok: not done it
      • sorry
      • ruaok
        no worries.
      • bitmap
        ruaok: yep
      • ruaok
        kewl. got a minute to help?
      • the main traffic is now running via the new gateway.
      • but we're getting MASSIVE numbers of 502s
      • bitmap
        hm...
      • ruaok
        I'm wondering if restarting the web front ends would help.
      • not sure though.
      • bitmap
        yeah, not sure but we could try
      • ruaok
        :/ws/2/recording/?query=artist:Miley+Cyrus+recording:See+You+Again", host: "www.musicbrainz.org"
      • astro has loads of these.
      • let me know when you want me to take a server out.
      • bitmap
        you can take astro out
      • ruaok
        should be out.
      • bitmap twiddles thumbs...
      • it appears search or search load balance related.
      • how is it going?
      • bitmap
        astro should be good now, it looked like there were a lot of old starman processes lying around
      • ruaok
        astro in, pingu out
      • bitmap
        hm, the provisions all hangs on 'git pull' now
      • I can just restart the service but that seems bad
      • ruaok
        please do a restart.
      • bitmap
        ok, done