#musicbrainz-devel

/

      • ruaok
        FWIW, I turned off the recording index generation.
      • 2015-03-12 07152, 2015

      • ruaok
        I may need to go install mbslave on cartman. :(
      • 2015-03-12 07107, 2015

      • ruaok
        I wonder if the flaky carl kept our traffic artificially low.
      • 2015-03-12 07116, 2015

      • ruaok
        and now it works, everything else is under more stress.
      • 2015-03-12 07132, 2015

      • ianmcorvidae
        possible, I guess. not sure how we'd test the hypothesis
      • 2015-03-12 07127, 2015

      • ruaok
        first step: get log analysis running again.
      • 2015-03-12 07124, 2015

      • ruaok
        well, proof positive its not the search indexeing that is causing problem.
      • 2015-03-12 07129, 2015

      • ruaok
        totoro is pissed off again.
      • 2015-03-12 07148, 2015

      • ujjwal joined the channel
      • 2015-03-12 07115, 2015

      • leyyin joined the channel
      • 2015-03-12 07127, 2015

      • ruaok
        ianmcorvidae: still up?
      • 2015-03-12 07118, 2015

      • ruaok
        right then. we may have a bit of a problem.
      • 2015-03-12 07130, 2015

      • ruaok
        Our DB server has 48GB of ram. Our postgres config:
      • 2015-03-12 07131, 2015

      • ruaok
        shared_buffers = 8192MB
      • 2015-03-12 07140, 2015

      • ruaok
        anyone who is not alastairp see a problem?
      • 2015-03-12 07150, 2015

      • alastairp
        ooh, me, me
      • 2015-03-12 07156, 2015

      • Freso
        Just swap it!
      • 2015-03-12 07158, 2015

      • ruaok smacks alastairp
      • 2015-03-12 07158, 2015

      • alastairp
        i know sir
      • 2015-03-12 07116, 2015

      • Freso
        Oh, 48.
      • 2015-03-12 07135, 2015

      • Freso read as 8 first :|
      • 2015-03-12 07150, 2015

      • ruaok
        ok, configuration updated.
      • 2015-03-12 07111, 2015

      • ruaok
        does pg 9.1 need a full restart for this to take?
      • 2015-03-12 07122, 2015

      • ruaok
        our kernel.shmmax allows 27474836480 bytes.
      • 2015-03-12 07103, 2015

      • ruaok
        the docs don't state that we need a restart.
      • 2015-03-12 07107, 2015

      • ruaok
        I'll try hupping.
      • 2015-03-12 07106, 2015

      • ruaok
        ok, time for some lunch.
      • 2015-03-12 07128, 2015

      • leyyin joined the channel
      • 2015-03-12 07115, 2015

      • chirlu` joined the channel
      • 2015-03-12 07125, 2015

      • ohrstrom joined the channel
      • 2015-03-12 07118, 2015

      • ruaok
        oh looky, load 5 now. :)
      • 2015-03-12 07143, 2015

      • leyyin joined the channel
      • 2015-03-12 07106, 2015

      • chirlu`
        ruaok: What did you set it to? http://rhaas.blogspot.de/2012/03/tuning-sharedbuf… recommends max(25% of RAM, 8 GB) unless the whole DB fits into RAM.
      • 2015-03-12 07128, 2015

      • chirlu`
        (I’m not sure how large the whole DB currently is.)
      • 2015-03-12 07110, 2015

      • ruaok
        I went with the docs that suggested 1/4 - 1/3 ram.
      • 2015-03-12 07117, 2015

      • ruaok
        so, I went with 14GB.
      • 2015-03-12 07121, 2015

      • ruaok
        of 48GB
      • 2015-03-12 07135, 2015

      • chirlu`
        It also seems effective_cache_size should be set to something like 40 GB or so.
      • 2015-03-12 07129, 2015

      • ruaok
        currently 20GB
      • 2015-03-12 07138, 2015

      • ruaok
        does that setting need a full restart or reload ok?
      • 2015-03-12 07148, 2015

      • chirlu`
      • 2015-03-12 07121, 2015

      • ruaok
        ok, coming right up.
      • 2015-03-12 07151, 2015

      • ruaok
        server signaled
      • 2015-03-12 07101, 2015

      • chirlu`
        “… if you have more than 1 GB …” :)
      • 2015-03-12 07107, 2015

      • ruaok
        heh
      • 2015-03-12 07137, 2015

      • ruaok
        index builder restarted.
      • 2015-03-12 07105, 2015

      • ruaok
        that seems to have dropped the io load.
      • 2015-03-12 07115, 2015

      • ruaok
        and now the load is spiking.
      • 2015-03-12 07119, 2015

      • ruaok
        surely because of the search indexes.
      • 2015-03-12 07147, 2015

      • dufferzafar joined the channel
      • 2015-03-12 07131, 2015

      • ruaok
        fuck. back into swap.
      • 2015-03-12 07128, 2015

      • chirlu`
        Hm.
      • 2015-03-12 07102, 2015

      • ruaok
        search indexer killed
      • 2015-03-12 07102, 2015

      • chirlu`
        Has anything changed between yesterday and today?
      • 2015-03-12 07108, 2015

      • ruaok
        and the load is drastically dropping.
      • 2015-03-12 07120, 2015

      • ruaok
        not that I am aware of.
      • 2015-03-12 07117, 2015

      • chirlu`
        According to the graph, there were some swap-outs, slowly, over long periods, but never before a quick increase in swap usage.
      • 2015-03-12 07109, 2015

      • ohrstrom joined the channel
      • 2015-03-12 07105, 2015

      • ohrstrom joined the channel
      • 2015-03-12 07115, 2015

      • ujjwal joined the channel
      • 2015-03-12 07107, 2015

      • kepstin-laptop joined the channel
      • 2015-03-12 07144, 2015

      • ruaok
        ok, wasn't seach indexes.
      • 2015-03-12 07152, 2015

      • ruaok
        load spiked again
      • 2015-03-12 07109, 2015

      • JesseW joined the channel
      • 2015-03-12 07122, 2015

      • chirlu`
        Swapping again.
      • 2015-03-12 07105, 2015

      • ruaok
        yep.
      • 2015-03-12 07123, 2015

      • chirlu`
        The only DB-intensive thing that has changed (that I see) is sitemaps, but that should run only during UTC night.
      • 2015-03-12 07147, 2015

      • ruaok
        and it would presumably only be one process. not the whole DB server.
      • 2015-03-12 07120, 2015

      • ruaok
        the last server update was 3 days ago.
      • 2015-03-12 07129, 2015

      • ruaok
        that would not explain why it started happeing some 12 hours ago.
      • 2015-03-12 07141, 2015

      • ruaok
        we've ruled out the search indexer.
      • 2015-03-12 07158, 2015

      • ruaok
        I believe that we have enough indexes.
      • 2015-03-12 07123, 2015

      • ruaok
      • 2015-03-12 07152, 2015

      • ruaok
        just to rule things out, I've build indexes for the redirect tables and edit_url (edit).
      • 2015-03-12 07154, 2015

      • nikki
        sitemaps stuff got included in a hotfix
      • 2015-03-12 07101, 2015

      • ruaok
        no significant changes.
      • 2015-03-12 07109, 2015

      • chirlu`
        A new beta was rolled out around that time.
      • 2015-03-12 07119, 2015

      • chirlu`
        But I see no heavy changes, as I said.
      • 2015-03-12 07129, 2015

      • ruaok
        should I turn off beta for a bit, just to check?
      • 2015-03-12 07112, 2015

      • ruaok
        and now the load magically dropped again.
      • 2015-03-12 07114, 2015

      • ruaok
        back to 8
      • 2015-03-12 07153, 2015

      • D4RK-PH0ENiX joined the channel
      • 2015-03-12 07116, 2015

      • nikki
        looking at https://bitbucket.org/metabrainz/musicbrainz-serv… the hotfix was probably some time after 14 hours ago
      • 2015-03-12 07131, 2015

      • chirlu`
        Regarding the indexes, these should already have had some.
      • 2015-03-12 07139, 2015

      • ruaok
        they didn't.
      • 2015-03-12 07148, 2015

      • chirlu`
        But for edit_url, there is CREATE INDEX edit_url_idx ON edit_url (url) in CreateIndexes.sql
      • 2015-03-12 07107, 2015

      • chirlu`
        and (edit, url) is the PK, so that has an index automatically.#
      • 2015-03-12 07110, 2015

      • chirlu`
        -#
      • 2015-03-12 07138, 2015

      • chirlu`
        The redirect tables, it’s possible that there is/was none for the other direction.
      • 2015-03-12 07147, 2015

      • ruaok
        ah yes.
      • 2015-03-12 07153, 2015

      • ruaok
        the edit_url had two indexes.
      • 2015-03-12 07102, 2015

      • ruaok
        I added one soley on edit, but that also made no diff.
      • 2015-03-12 07147, 2015

      • chirlu`
        (edit, url) can be used for lookups on (edit), too.
      • 2015-03-12 07122, 2015

      • chirlu`
        Though there seems to be/have been no index for the *_redirects on new_id, indeed.
      • 2015-03-12 07138, 2015

      • chirlu`
        Was forgotten when load_gid_redirects was added, apparently.
      • 2015-03-12 07104, 2015

      • chirlu`
        But this went live in v-2015-01-12 already.
      • 2015-03-12 07157, 2015

      • ohrstrom joined the channel
      • 2015-03-12 07154, 2015

      • ruaok_ joined the channel
      • 2015-03-12 07136, 2015

      • ruaok
        ok, here is the next load spike.
      • 2015-03-12 07131, 2015

      • ijabz2 joined the channel
      • 2015-03-12 07115, 2015

      • utsav_ joined the channel
      • 2015-03-12 07133, 2015

      • utsav_
        Hi !
      • 2015-03-12 07138, 2015

      • utsav_
        I am a computer science undergrad from India looking to participate in GSoC 2015. I wish to know more about AcousticBrainz Project. Any info would be of great help
      • 2015-03-12 07102, 2015

      • alastairp
        what do you want to know about?
      • 2015-03-12 07141, 2015

      • utsav_
        I wish to know about the AcousticBrainz project and what are the organizations expectations with regards to the project ideas about it ..
      • 2015-03-12 07131, 2015

      • alastairp
        you can read up some more background at http://chatlogs.musicbrainz.org/musicbrainz-devel…
      • 2015-03-12 07151, 2015

      • alastairp
        it would be great if you could let us know some things that you think might be useful, based on your understanding of the project
      • 2015-03-12 07135, 2015

      • Leo_Verto
        how do people find this channel but not the "about" page of AB?
      • 2015-03-12 07119, 2015

      • alastairp
        to be fair, the proposal stub on the ideas page was very brief, and didn’t explain our specific problem very well
      • 2015-03-12 07135, 2015

      • alastairp
        I’ve edited it a bit to add some more information
      • 2015-03-12 07126, 2015

      • ruaok joined the channel
      • 2015-03-12 07135, 2015

      • lokeshw24 joined the channel
      • 2015-03-12 07158, 2015

      • D4RK-PH0_ joined the channel
      • 2015-03-12 07154, 2015

      • kepstin-laptop joined the channel
      • 2015-03-12 07141, 2015

      • Gentlecat joined the channel
      • 2015-03-12 07123, 2015

      • rvedotrc joined the channel
      • 2015-03-12 07142, 2015

      • yeeeargh joined the channel
      • 2015-03-12 07151, 2015

      • ruaok joined the channel
      • 2015-03-12 07130, 2015

      • Gentlecat
        ruaok: there are several pull requests for CB that need to be reviewed
      • 2015-03-12 07154, 2015

      • ruaok
        I know. more server drama keeping me busy. sorry. :(
      • 2015-03-12 07115, 2015

      • Powlow joined the channel
      • 2015-03-12 07147, 2015

      • aron_kexp joined the channel
      • 2015-03-12 07128, 2015

      • lokeshw24 joined the channel
      • 2015-03-12 07143, 2015

      • ijabz2 joined the channel
      • 2015-03-12 07143, 2015

      • lokeshw24 has left the channel
      • 2015-03-12 07115, 2015

      • diana_olhovik joined the channel
      • 2015-03-12 07146, 2015

      • ijabz2 joined the channel
      • 2015-03-12 07154, 2015

      • MBJenkins
        Project critiquebrainz build #94: SUCCESS in 2 min 0 sec: http://ci.musicbrainz.org/job/critiquebrainz/94/
      • 2015-03-12 07155, 2015

      • MBJenkins
        * priyankbhatt1234: Added title attriubute in anchor tag stating View on AcousticBrainz
      • 2015-03-12 07105, 2015

      • ruaok
        the letter of the law has been satisfied, yes. the spirit remains 404
      • 2015-03-12 07107, 2015

      • ruaok
        pop quiz: explain this curious graph http://stats.musicbrainz.org/mrtg/drraw/drraw.cgi…
      • 2015-03-12 07121, 2015

      • ruaok
        looks more like what I normally do to LEDs
      • 2015-03-12 07134, 2015

      • ruaok
      • 2015-03-12 07151, 2015

      • ruaok
        anyone else worried/amazed/puzzled by this graph?
      • 2015-03-12 07106, 2015

      • ruaok
        only totoro has spikes. everything else is purring and happy. (for once)
      • 2015-03-12 07158, 2015

      • chirlu` joined the channel
      • 2015-03-12 07116, 2015

      • chirlu`
        ruaok: Actually, search requests don’t look OK either: http://stats.musicbrainz.org/webstats/nginx-rrd/d…
      • 2015-03-12 07135, 2015

      • chirlu`
        Now, this might be caused by people having trouble reaching mb.org, hence searching less.
      • 2015-03-12 07158, 2015

      • chirlu`
        But search-public also has some lows.
      • 2015-03-12 07158, 2015

      • ruaok
        yeah, this looks like a knock on effect to me.
      • 2015-03-12 07108, 2015

      • ruaok
        the overall shape of the curve remains the same.
      • 2015-03-12 07144, 2015

      • ruaok
        at least the graph was pretty for 4 days, no?
      • 2015-03-12 07145, 2015

      • chirlu`
        :)
      • 2015-03-12 07141, 2015

      • chirlu`
        Sounds like a tomb inscription … “it worked well for four days”.
      • 2015-03-12 07130, 2015

      • ruaok
        sounds better than what I expect to have on my tombstone: “Dumbass”
      • 2015-03-12 07140, 2015

      • Freso
        I like Pratchett's post-mortem tweets.
      • 2015-03-12 07125, 2015

      • ruaok runs off to celebrate the opening of some cafe or something
      • 2015-03-12 07104, 2015

      • chirlu` has left the channel
      • 2015-03-12 07122, 2015

      • ruaok
        huh, look the search server is wedged.
      • 2015-03-12 07143, 2015

      • ruaok
        interesting that.