#musicbrainz-devel

/

      • ianmcorvidae
        dmesg talks about possible SYN flooding
      • ocharles
        it always does that
      • ianmcorvidae
        we've just discovered
      • rvedotrc
        well, sorta. it got a lot more chatty about that as of the start of this problem.
      • ruaok
        dmesg on lenny is way more noisy than usual.
      • rvedotrc
        correlation,causation,pinch of salt
      • ruaok
        we need to catch s shuttle now
      • back in a bit...
      • ruaok-dwni joined the channel
      • ruaok-dwni
        Walking and Ircing. Not smart.
      • ruaok
        Oh right. This bus has WiFi.
      • ianmcorvidae|n4 joined the channel
      • ocharles
        heh
      • misterswag joined the channel
      • ruaok_ joined the channel
      • ianmcorvidae
        okay, blocking that UA seems to be helping
      • force-503ing it
      • suddenly ssh is usable
      • rvedotrc
        I got nothing to offer right now other than some not-yet-related observations from graphs.
      • ruaok_bus
        what are those observations, rvedotrc?
      • ianmcorvidae
        "Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" was causing a lot of traffic so I've force-503'd it at nginx
      • we'll see what that improves
      • (for context, since I don't think you were around when I was mentioning it before, rvedotrc)
      • rvedotrc
        high load on the apps servers, slow responses on the search servers, high traffic on the ports already mentioned,
      • and a few IPs hitting fairly hard
      • but, same old same old.
      • ruaok_bus
        how did you determine the IPs that are hitting hard?
      • rvedotrc
        well, for some definition of hard. just the 'top' script on the ratelimit server.
      • ruaok_bus
        rvedotrc: k
      • I think we're going to leave that UA block in place and check in in a little while.
      • but it might just be beer:30 now.
      • rvedotrc
        Very interesting grepping for that UA in yesterday's log.
      • ruaok_bus
        ya?
      • rvedotrc
        one query at 18/Oct/2013:08:15:16
      • then at 18/Oct/2013:09:15:15, boom, the flood starts.
      • nothing in between.
      • no ramp up.
      • rvedotrc counts IPs
      • rvedotrc1 joined the channel
      • ruaok joined the channel
      • rvedotrc1
        gonna bail for today. Maybe I'll check in tomorrow and see how things are.
      • nn
      • ianmcorvidae
        okay
      • oh, they're gone
      • but anyway, hopefully that's a fix for now
      • ruaok
        yeah. lets keep our eye on things for now.
      • I'm going to head to the bar and find a beer.
      • MBJenkins
        Project full-import build #153: STILL FAILING in 6 min 51 sec: http://ci.musicbrainz.org/job/full-import/153/
      • misterswag joined the channel
      • LordSputnik
        http://userscripts.org/scripts/show/180309 <- quite happy I've finally got round to making that
      • :D
      • Dremora joined the channel
      • Mineo joined the channel
      • marcooliveira joined the channel
      • kepstin-laptop joined the channel
      • misterswag joined the channel
      • misterswag joined the channel
      • mrswag joined the channel
      • ianmcorvidae
        heh, almost three million requests from that bad UA
      • (in the log for today, noting that that includes things after we blocked it since those still hit lenny)
      • from a bit more than 300,000 different IP addresses
      • more than half of those IPs only made one request, but
      • and apparently the UA was at least semi-accurate one way, inasmuch as most of the IPs geoiplookup could actually resolve were in russia :P
      • (~124k it couldn't find, ~122k russia, ~22k ukraine, ~13k USA, ~10k kazahkstan, ~7k belarus, ~2k germany, ~1.5k moldova, rest below 1000)
      • Leftmost
        Does kind of sound like a DDoS.
      • ianmcorvidae
        yeah, a bit :P
      • ijabz joined the channel
      • rvedotrc joined the channel
      • andreypopp joined the channel
      • FrederikSOlesen joined the channel
      • marcooliveira joined the channel
      • reodroid joined the channel
      • reodroid2 joined the channel
      • kepstin-laptop joined the channel
      • reodroid joined the channel
      • xlotlu joined the channel
      • xlotlu
      • luks
        hm, long discussion
      • hm, long patch too :)
      • kepstin-laptop
        hmm. I really should finish my patch for picard-259 and submit it
      • mb-chat-logger
      • kepstin-laptop
        just one minor cleanup I wanted to do to it.
      • hmm, actually, no. it's good as-is.
      • xlotlu
        luks: that was fast. :) ... 4 months in the waiting when all I had to do was nudge you
      • luks
        well, ever expect I know about something :)
      • *never
      • I might have been away for a few days when you pinged me via the PR and I missed the mail
      • Dremora joined the channel
      • LordSputnik joined the channel
      • misterswag joined the channel
      • xlotlu
        heh, it wasn't me who did the pinging. I wondered what happened that there was no feedback, but I was afk-ish for 3 months so didn't bother too much about it. until today. :)
      • Dremora joined the channel
      • reodroid2 joined the channel
      • luks
        fyi, this is the project I mentioned yesterday https://bitbucket.org/lalinsky/mbdata
      • if I feel like it can be finished to some usable state, either mbslave will be merged to it, or this to mbslave
      • that was always kind of my ultimate goal with mbslave, but I was never motivated to work on it beoynd the replication stuff
      • voiceinsideyou joined the channel
      • Jozo
        woh, I will use those SQLalchemy models... :) (I have started write SQLaclhemy reflected models... never finished)
      • luks
        the models are the main reason why I started with this :)
      • rvedotrc joined the channel
      • then I started on the api and the website to have an excuse to have a look at angularjs :)
      • fox61 joined the channel
      • fox61 has left the channel
      • reosarevok joined the channel
      • andreypopp joined the channel
      • voiceinsideyou1 joined the channel
      • voiceinsideyou joined the channel
      • rvedotrc joined the channel
      • ruaok joined the channel
      • ruaok joined the channel
      • Mineo
        luks: from the readme: "you can use the mbdata.models module to get " ... get what?:)
      • luks
        Mineo: left to reader's imagination :)
      • sear joined the channel
      • sear
        Hi everyone, I'm working on spinning up a musicbrainz server and I'm almost there, but when I bring up plack, it throws this warning: [warning] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "encoding" config
      • Then reports that it's accepting connections
      • But on each subsequent request to plack, this error is thrown: [error] Couldn't render template "undef error - /home/jhill/musicbrainz/root/static/common.css: Does not exist at lib/MusicBrainz/Server/Data/FileCache.pm line 33.
      • Any idea what might be going on, or if these two issues are related?
      • Freso
        No clue what's going on, but they don't seem related.
      • Can you connect to it, or does it bail out because of that missing .css file?
      • sear
        It bails out, and I get the same error reported in the browser.
      • Freso
        ocharles: Should the CSS files get compiled "manually", or should that happen by itself?
      • sear
        I've brought up an instance before without having to compile manually, but I'll go ahead and compile the less and see what happens
      • Freso
        sear: We recently switched from using CSS to using... some pre-CSS system, which I can't remember the name of. I'm thinking your latter error might be related to that.
      • sear
        Freso: It's less. Makes sense that I didn't get that error before, then
      • Freso
        less, yeah.
      • sear
        I'll compile it myself
      • Freso
        :)
      • sear
        Thanks <3
      • Freso
        sear: Heh. You're welcome. :)
      • ianmcorvidae
        sear: you shouldn't need to compile it if DEVELOPMENT_SERVER is set to 1; the unicode plugin error you can ignore
      • (if that DBDefs option is set, it'll use less.js to do the compilation in the browser instead)
      • sear
        ianmcorvidae: Ahh, that'll do it. I have it set to 0. I compiled it and it worked fine though
      • ianmcorvidae
        yeah, once compiled it'd also work fin
      • but you'll want to ensure you do it each time the .less files change, assuming you care about broken CSS:)
      • andreypopp joined the channel
      • Freso
        ianmcorvidae: Any ETA on when you'll get around to recovering the ModBot deleted places?
      • ianmcorvidae
        Freso: not really, tonight/tomorrow likely
      • nikki
        your time?
      • Freso
        CatQuest: ^
      • ianmcorvidae
        yes, my time
      • once the GSoC mentor summit is over :P
      • luks
        it's kind of nice to see sqlalchemy handling 5+ level deep relationships efficiently
      • I've been wrong about ORMs for so long :/
      • nikki
        oh?
      • luks
        I always advocated using hand written SQL for working with MB
      • MB server could have been much simpler with a good ORM
      • Freso
        CallerNo6: *cough* ^
      • ijabz joined the channel
      • warp
        luks: the "good" part of "good orm" seems significant though.