#musicbrainz-devel

/

      • adhawkins
        All done, catching up on replication packets since the dump now.
      • spork985 joined the channel
      • ianmcorvidae
        alright folks, schema change UI testing sandbox is up: http://schema.mbsandbox.org/
      • right now it's somewhat limited
      • most notably, perhaps, https://bitbucket.org/metabrainz/musicbrainz-se... is not merged due to my comment there
      • and the tag upvoting stuff isn't done, because I've been working on the schema upgrade script testing itself. so the primary things there to be tested are jessew's collections stuff, medium titles longer than 255 characters, and release/RG/recording aliases
      • napper joined the channel
      • kepstin
        hmm, looks like ruoak's not around atm
      • kepstin has been really busy the last few days :/
      • ianmcorvidae
        I can relay, the thing he emailed you about is via me anyway
      • kepstin
        sounds like you think some of the issues might be related to the rate limiting, possibly the incoming direction?
      • ianmcorvidae
        yes
      • I'm not sure why there's ingress filtering at all, since that amounts to dropping inbound packets by way of redirecting them (since tc doesn't have support for it in the first place since it's not a terribly reasonable idea...)
      • but on top of that I'm not sure why it's set to 1/4th of our actual limit
      • kepstin
        well, it's redirecting them into a traffic shaper
      • and i put the limit at that because that's what rob said to use
      • ianmcorvidae
        when it's maxing out suddenly we have packet loss (because we told it to drop packets) and everything internally starts getting broken responses because it drops
      • right. so the limit part is just rob being unaware, which I guess is nothing new
      • kepstin
        if you don't want the incoming limit at all, it's just a matter of commenting out a chunk of the ingress section of the script and re-running it.
      • ianmcorvidae
        I guess I just wonder what the logic is for the ingress filtering
      • kepstin
        hmm. on https://gist.github.com/kepstin/901b5a7e523e496... you'd comment out lines 58-59, 62-63, and 68-end
      • and rerun, and it would clear out the ingress stuff
      • ianmcorvidae
        the way the redirect works is putting it into a fake interface and then restricting what comes out of that interface, IIRC, since there's no thing to do except reduce output rate, right?
      • kepstin
        yeah
      • ianmcorvidae
        the related issue is that the server has been, in these same situations, reporting too many TCP orphans
      • kepstin
        has the incoming data rate on the server been hitting 5mbit at those times?
      • ianmcorvidae
        yes
      • especially right at the start of the month, but also the small spike yesterday is part of that
      • kepstin
        hmm. do you know if the data center's limiting it to your nominal ingress rate outside of your stuff?
      • ianmcorvidae
        and chunks of today, where it's been near that, same sorts of errors -- incomplete responses from wikipedia and the blog, ping warnings from nagios, etc.
      • they don't limit it, they just charge us if we go over
      • but the way it's calculated is just the max of ingress/egress, 95th-percentile
      • kepstin
        that's pretty weird, the link muse be highly oversaturated to do that.
      • hmm. so yeah, I'd probably do it first by trying to set the incoming limit at the same as outgoing then, see if that helps
      • ianmcorvidae
        alright.
      • kepstin
        which basically means just changing everywhere it says '5000kbit' in the script to '20000kbit' and rerunning it.
      • ianmcorvidae
        so, other question, why pfifo_fast instead of staying with sfq like the old setup?
      • kepstin
        why fq_codel you mean?
      • ianmcorvidae
        oh, misread
      • kepstin
        in theory, better behaviour under heavy load conditions by limiting queue lengths.
      • ianmcorvidae
        I thought the one on the server itself said pfifo
      • ianmcorvidae checks that again
      • kepstin
        pfifo_fast is the kernel default, effectively nothing running
      • ianmcorvidae
        yeah
      • kepstin
        it's a simple tail-drop queue
      • ianmcorvidae
        but not in a hierarchy :)
      • anyway, seems reasonable
      • the first result being the bufferbloat people speaks well of the algorithm
      • kepstin
        it's not really designed for big infra routers, but 20mbit should be well within the range it can handle properly
      • ianmcorvidae
        yeah, certainly
      • kepstin
        but the idea is that it's a 'fair queue', so no particular stream is preferred over another when selecting which packets to drop - it tries to keep all streams with about the same b/w
      • when you might actually want it to be somewhat unfair in your favour
      • hmm.
      • well, try giving it the full 20mbit first then.
      • ianmcorvidae
        well, we're not even hitting the outbound
      • and the outbound is a lot higher than the inbound, always has been
      • just typically more unbalanced than lately :)
      • kepstin
        if you're charged by max of in/out when it goes over 20mbit, there's no reason to limit incoming to less.
      • ianmcorvidae
        yeah
      • kepstin
        but yeah, the script's designed so that re-running it will do a fairly clean update. It basically removes all the qdiscs and the traffic redirect for incoming, and then puts them back with the new settings.
      • ianmcorvidae
        yeah
      • kepstin had a fun time at work today prodding the poorly documented linux ipsec tools into connecting a couple of subnets via a vpn tunnel :/
      • kepstin
        (it had to be ipsec, because I don't control the other end...)
      • ianmcorvidae
        heh
      • sounds like "fun"
      • pretty sure our (openvpn) vpn doesn't even work properly any more, I've just been using ssh tunners instead
      • kepstin
        in the end, it turned out that I had it working halfway through the day before I took it apart again - my problem was that I had the mtu set wrong.
      • if you can ever ping a machine but ssh hangs, that's usually the issue :/
      • (also, apparently amazon vpc machines have a default mtu of 9001, which is hilarious.)
      • ianmcorvidae
        (schema mbsandbox now has AC credits patch as well, for those watching at home)
      • napper joined the channel
      • napper joined the channel
      • napper joined the channel
      • napper joined the channel
      • Junior joined the channel
      • bitmap
        o_O so the pgtap failures are related to LC_CTYPE/LC_COLLATE settings...if I harcode them to 'en_US.UTF-8' in InitDb.pl, and rerun create_test_db, the tests pass. but I can't think of anything that changed in this regard
      • diana_olhovik joined the channel
      • dropping the test database, switching to beta code, and running create_test_db does not help, so something outside must've changed
      • reosarevok joined the channel
      • ianmcorvidae|alt joined the channel
      • Junior_ joined the channel
      • napper joined the channel
      • ruaok joined the channel
      • ruaok
        waking up, reading gentlecat PR. \ø/
      • :)
      • Gentlecat
        just like old times
      • ruaok
        I was *about* to say *exactly* that. :)
      • napper joined the channel
      • ijabz2 joined the channel
      • ijabz2
        Just have to express my frustration, uk is soooooo fucked
      • ariscop joined the channel
      • ruaok
        ijabz2: I hear that. it is exactly this BS that made me leave the US.
      • seems like the UK is trying to copy the US as fast as it can.
      • and not any of the best parts. only the worst. :(
      • seems a lot of my friends are in the same boat as you. asking where next?
      • ijabz2
        Yep, the tories ran a classic scaremongering campaign (esp Scotland) that has worked
      • reosarevok shrugs. The Scottish people I know weren't particularly scared, just tired of Labour being Tories v.2 where Scotland is concerned
      • reosarevok
        As one friend of a friend said, "Even if Scotland returned all 59 seats as labour, based on exit poll, it would not influence the outcome. But, it would appear, we've all gone yellow. Lovely, bright, fuck you yellow."
      • ianmcorvidae wonders if ijabz meant fearmongering within england, *about* scotland, more than fearmongering in scotland itself?
      • ianmcorvidae
        (that's what I've seen happening, at least, in my obviously not very comprehensive view on the thing)
      • ijabz2
        ianmcorvidae yep
      • people voted ukip/tory instead of labour because of Scotland thing
      • and libdems voters couldnt bring themselves to vote libdems again - handling seats to the tories
      • reosarevok
        The way your voting works is insane, also
      • ianmcorvidae
        speaking of being like the US :P
      • reosarevok
        UKIP was the party with a biggest growth in voting, yet they actually lost a seat?
      • (not that I'm complaining, but)
      • ijabz2
        well yeah the voting system is insane
      • zarlino joined the channel
      • adhawkins
        Morning all. Updated my Debian last night from Wheezy to Jessie. As a result I had to blow away my local perl directory.
      • zarlino
        hi all, I’m using the XML ws. I can get the “composer” relation for a work. Is there a way to distinguish classical composers from pop song authors?
      • adhawkins
        Just trying the server this mrorning, and I'm getting 'plugin error - JSON.Escape: plugin not found'
      • Is this a perl module I'm missing?
      • ruaok knows neither answer
      • reosarevok
        zarlino: nope
      • zarlino
        reosarevok: too bad. This makes the data much less useful
      • adhawkins
        Template::Plugin::JSON::Escape looks possible.
      • I'll install that.
      • ianmcorvidae
        adhawkins: yeah, it's that module
      • reosarevok shrugs. You can maybe compare track artists and composers, since classical style mandates composer as track artist
      • zarlino: if you can distinguish classical from non-classical you're ahead of us as far as the weirder edge-cases :) that's sort of the core problem
      • adhawkins
        Seems to have done the trick.
      • I had a number of modules that I had to install manually. Not sure why. I also had to downgrade a postgres module because it was failing to import.
      • Seems to be up and running again now.
      • reosarevok
        Not even that much of an edge case, I mean, Gershwin? :)
      • Lotheric joined the channel
      • adhawkins
        Also, rather bizarrely, I'm getting occasional 'no space left on device' messages.
      • All disks have loads of free space and inodes too...
      • ianmcorvidae
        are you using a tmpdir setup that makes a ramdisk?
      • adhawkins
        Yes, memory exhausted?
      • ianmcorvidae
        or some other limit of that sort
      • but yeah
      • adhawkins
        According to df and free I have plenty...
      • ianmcorvidae
        definitely at least for database imports you'll want an alternate temporary directory, possibly also for replication (which ends up using that as well)
      • zarlino
        reosarevok: so if the track artist is the same as the composer that would be classical? What about solo artists (say, lou reed)?
      • ianmcorvidae
        where precisely are you seeing the no space left on device errors?
      • reosarevok
        zarlino: not saying it's always the case :)
      • adhawkins
        When I type 'reboot'!
      • ianmcorvidae
        weird
      • adhawkins
        Very :)
      • reosarevok
        But basically, there's no clear way of distinguishing the two. You can check for a "classical" tag, I guess?
      • zarlino
        reosarevok: of course, I’m just trying to understand what you said. I’m not a MB expert.
      • adhawkins
      • ianmcorvidae
        hm, /tmp itself isn't a tmpfs so harder to say
      • adhawkins
        Yep, just tried another reboot and it did it again.
      • reosarevok
        But yeah, basically nobody has come with a way of saying "what is classical" that isn't "you'll know when you see it"
      • And nowadays even classical composers have non-classical albums too sometimes :)
      • So the difference is kinda artificial
      • zarlino
        reosarevok: yes, you’re right.