#musicbrainz

/

      • catgroove
        like a kommune
      • 2006-06-07 15850, 2006

      • Russss
        it's still the government
      • 2006-06-07 15819, 2006

      • nikki_
        I know what I mean :/
      • 2006-06-07 15800, 2006

      • Muz
      • 2006-06-07 15801, 2006

      • Muz
      • 2006-06-07 15809, 2006

      • catgroove
        |
      • 2006-06-07 15817, 2006

      • catgroove
        |
      • 2006-06-07 15819, 2006

      • catgroove
        |
      • 2006-06-07 15837, 2006

      • catgroove
        yay whateverhisnameis dust
      • 2006-06-07 15843, 2006

      • catgroove
        hmm
      • 2006-06-07 15857, 2006

      • catgroove
        like cocks snowfalke and pertinskies triangle
      • 2006-06-07 15808, 2006

      • nikki_
        ??
      • 2006-06-07 15822, 2006

      • catgroove
        nevermind ---
      • 2006-06-07 15825, 2006

      • catgroove
        -_-
      • 2006-06-07 15842, 2006

      • ruaok
        I wrote a blog post about the pesky 502 errors, if anyone wants to understand WTF:
      • 2006-06-07 15843, 2006

      • ruaok
      • 2006-06-07 15858, 2006

      • catgroove never got any
      • 2006-06-07 15808, 2006

      • ruaok
        Benoit Mandelbrot?
      • 2006-06-07 15813, 2006

      • catgroove
        but alot of people mased about it
      • 2006-06-07 15815, 2006

      • ruaok
        or Koch? or Sirpinsky?
      • 2006-06-07 15817, 2006

      • catgroove
        yes ruaok!
      • 2006-06-07 15824, 2006

      • catgroove
        all of them!
      • 2006-06-07 15828, 2006

      • catgroove
        fractals!
      • 2006-06-07 15831, 2006

      • Shepard
        :o
      • 2006-06-07 15835, 2006

      • Shepard
        Mandelbrot :o
      • 2006-06-07 15845, 2006

      • catgroove
        mandelbrot :o~
      • 2006-06-07 15803, 2006

      • ruaok
        the snowflake and sirpinsky weren't his work.
      • 2006-06-07 15815, 2006

      • ruaok
        they were koch;s and sirpinsky.
      • 2006-06-07 15816, 2006

      • catgroove
        I know this
      • 2006-06-07 15827, 2006

      • catgroove
        that's what I meant with my illiterate attempts at cocks and pertinksy
      • 2006-06-07 15827, 2006

      • ruaok
        got link to the mandelbrot being toast?
      • 2006-06-07 15845, 2006

      • catgroove
        ehh. no?
      • 2006-06-07 15855, 2006

      • Shepard is happy he did at list one of the points in this "what can you do" list in the blog post :o
      • 2006-06-07 15804, 2006

      • ruaok
        _> yay whateverhisnameis dust
      • 2006-06-07 15807, 2006

      • ruaok
        what did that mean?
      • 2006-06-07 15837, 2006

      • catgroove
        Kock's snowflacke and sirpinksie's trianle and whatever his name is's dust
      • 2006-06-07 15855, 2006

      • catgroove
        english dust, not norwegian dust
      • 2006-06-07 15815, 2006

      • ruaok
        dust == dead? dust == specs of crap in your house?
      • 2006-06-07 15832, 2006

      • catgroove
        dust = dust i n the wind specks of dirt
      • 2006-06-07 15845, 2006

      • catgroove
        its annoying i was reading it just yesterday at wikipedia, and before that we had about it at school
      • 2006-06-07 15813, 2006

      • nikki_
        ruaok: thank you for the post!
      • 2006-06-07 15822, 2006

      • catgroove
        and his set and the sponge
      • 2006-06-07 15852, 2006

      • Russss
        ruaok: I'd be happy to cast an eye over your db server if you want
      • 2006-06-07 15858, 2006

      • Russss
        also: memcache, memcache, memcache.
      • 2006-06-07 15801, 2006

      • Shepard
        ruaok: will a beefy server look like this? http://www.cocktailsprinter.de/cgi-bin/produkte/6… isn't the hanuta enough? ;)
      • 2006-06-07 15805, 2006

      • ruaok
        nikki_: NP
      • 2006-06-07 15815, 2006

      • ruaok
        Russss: on that topic...
      • 2006-06-07 15848, 2006

      • ruaok
        at one point you suggested that shared_segments should be set to 10240 and that higher values made no sense.
      • 2006-06-07 15808, 2006

      • ruaok
        I beg to differ. At that value the server was at 800MB free.
      • 2006-06-07 15818, 2006

      • Russss
        hmm
      • 2006-06-07 15826, 2006

      • Russss
        bear in mind that postgres relies on the kernel disk cache
      • 2006-06-07 15827, 2006

      • ruaok
        when I bumped it to 16384, it dropped to 115MB free and the load dropped below 2.
      • 2006-06-07 15847, 2006

      • Russss
        so the amount of free RAM is sometimes misleading
      • 2006-06-07 15802, 2006

      • ruaok
        how so?
      • 2006-06-07 15824, 2006

      • ruaok fusses in the general direction of Shepard
      • 2006-06-07 15858, 2006

      • Shepard
        you shouldn't or I'll revert the typo changes I made to the blog post :P
      • 2006-06-07 15802, 2006

      • BrianG
        what's a fair way to use the release dates fields on untitled live bootlegs?
      • 2006-06-07 15804, 2006

      • catgroove
        shep: wtf is that?
      • 2006-06-07 15807, 2006

      • catgroove
      • 2006-06-07 15809, 2006

      • ruaok
        interestingly enough, when I increaesed it by another 1024, the free memory went back up to 800MB and the load rose again.
      • 2006-06-07 15815, 2006

      • Shepard
        mo: bifi!
      • 2006-06-07 15816, 2006

      • Russss
        hold on a sec, I'm trying to do my online shopping and cook a pizza at the same time
      • 2006-06-07 15820, 2006

      • catgroove
        bigi?
      • 2006-06-07 15824, 2006

      • catgroove
        bifi
      • 2006-06-07 15836, 2006

      • ruaok holds and dreams of bifi.
      • 2006-06-07 15839, 2006

      • nikki_
        it looks like pepperami
      • 2006-06-07 15841, 2006

      • catgroove
        WTF is bifi?
      • 2006-06-07 15853, 2006

      • catgroove
        it looks lie ka weaner
      • 2006-06-07 15856, 2006

      • ruaok
        catgroove: its a small salami that you eat as a snack.
      • 2006-06-07 15800, 2006

      • catgroove
        oh
      • 2006-06-07 15805, 2006

      • ruaok
        its hella greasy, but pretty tasty.
      • 2006-06-07 15806, 2006

      • catgroove
        this is german, yes?
      • 2006-06-07 15810, 2006

      • ruaok nos
      • 2006-06-07 15812, 2006

      • ruaok
        nods
      • 2006-06-07 15816, 2006

      • catgroove
        hmm
      • 2006-06-07 15830, 2006

      • catgroove
        who do I have to blow to get them to send one to me?
      • 2006-06-07 15840, 2006

      • catgroove is curious
      • 2006-06-07 15853, 2006

      • ruaok
        me!
      • 2006-06-07 15858, 2006

      • catgroove
        erh
      • 2006-06-07 15807, 2006

      • nikki_
        how are you going to send mo one?
      • 2006-06-07 15812, 2006

      • catgroove
        no, you're already sending me some fruity pebbles, remember
      • 2006-06-07 15817, 2006

      • ruaok
        Shepard: what feature do you me to fix to send a bifi to mo?
      • 2006-06-07 15826, 2006

      • ruaok grins evilly
      • 2006-06-07 15829, 2006

      • catgroove
        \o/
      • 2006-06-07 15843, 2006

      • ruaok
        and mo, they really aren;t THAT good.
      • 2006-06-07 15845, 2006

      • catgroove looks like pussinbooths for mshrek2 at shep
      • 2006-06-07 15855, 2006

      • catgroove
        but now I'm curious
      • 2006-06-07 15824, 2006

      • catgroove
        shep. you cant refuse the big wet eyes od d00m!
      • 2006-06-07 15851, 2006

      • Shepard
        I guess I would ask mo to do something for me instead but I will *NOT* ask him to "blow me"...
      • 2006-06-07 15857, 2006

      • catgroove
        lol
      • 2006-06-07 15800, 2006

      • catgroove
        what you want shep
      • 2006-06-07 15802, 2006

      • Russss
      • 2006-06-07 15809, 2006

      • catgroove
        an instrument? we fix ya up good
      • 2006-06-07 15809, 2006

      • Russss
        bear in mind that things have changed in 8.1
      • 2006-06-07 15816, 2006

      • catgroove
        choco?
      • 2006-06-07 15819, 2006

      • catgroove
        we send
      • 2006-06-07 15826, 2006

      • Russss
        which means that shared_buffers can be increased more without performence loss
      • 2006-06-07 15835, 2006

      • nikki_
        gaaah. I have maths coming out of my ears.
      • 2006-06-07 15845, 2006

      • catgroove
        dakar nikki1
      • 2006-06-07 15847, 2006

      • Shepard
        you already added some instruments for me. you should have said that earlier :)
      • 2006-06-07 15852, 2006

      • catgroove
        damn
      • 2006-06-07 15800, 2006

      • catgroove
        ok send me as payement then
      • 2006-06-07 15813, 2006

      • catgroove
        that was sorta an intended typo
      • 2006-06-07 15824, 2006

      • catgroove
        dunno wtf a paye is though
      • 2006-06-07 15848, 2006

      • ruaok reads
      • 2006-06-07 15832, 2006

      • Russss
        ruaok: also you should look into pgpool if you're not using it - it's a fairly shitty bit of software but it does the job.
      • 2006-06-07 15815, 2006

      • Russss
        although I don't know how much pooling perl does. Maybe it's not that necessary
      • 2006-06-07 15815, 2006

      • ruaok
        how does that compare to DBI ?
      • 2006-06-07 15828, 2006

      • ruaok
        we're already reusing connections via DBI.
      • 2006-06-07 15846, 2006

      • Russss
        in retrospect, there's probably very little difference with few web servers using their own pooling
      • 2006-06-07 15813, 2006

      • Russss
        when you have 15 web servers it's inefficient to have each of them keep a pool of 20 connections each. So centralised pooling is better.
      • 2006-06-07 15822, 2006

      • ruaok
        I grok that and will keep that in mind.
      • 2006-06-07 15828, 2006

      • ruaok
        we still have only one web server machine.
      • 2006-06-07 15837, 2006

      • Russss
        yeah so no difference
      • 2006-06-07 15839, 2006

      • Russss
        ok
      • 2006-06-07 15841, 2006

      • catgroove
        I dig the word grok
      • 2006-06-07 15807, 2006

      • BrianG
        i grok the word dig
      • 2006-06-07 15823, 2006

      • ruaok
        Russss: have you played with tweaking the work_mem setting?
      • 2006-06-07 15849, 2006

      • Russss
        yes, it's very application-specific though
      • 2006-06-07 15806, 2006

      • Russss
        if you know you're only doing simple sorting you can crank it up quite a bit
      • 2006-06-07 15814, 2006

      • Russss
        but beware it's per-sort, per-query
      • 2006-06-07 15834, 2006

      • ruaok
        under what conditions do I not want to crank it up.
      • 2006-06-07 15841, 2006

      • ruaok
        what value are you using?
      • 2006-06-07 15849, 2006

      • catgroove is away: catgroove macht die Wäsche
      • 2006-06-07 15818, 2006

      • Russss
        when you have n queries doing a sort, it'll use n*work_mem
      • 2006-06-07 15825, 2006

      • Russss
        we have it at 8192
      • 2006-06-07 15851, 2006

      • Russss
        maybe that's slightly conservative for a 16GB machine though
      • 2006-06-07 15858, 2006

      • ruaok
        LOL.
      • 2006-06-07 15806, 2006

      • ruaok
        we're half that for a 4GB machine.
      • 2006-06-07 15818, 2006

      • ruaok
        next time things go to shit, I will try upping that a little.
      • 2006-06-07 15828, 2006

      • ruaok covets Russss 16GB machine
      • 2006-06-07 15844, 2006

      • Russss
        I would recommend looking into more memcaching though
      • 2006-06-07 15817, 2006

      • Russss
        that's how we can do 200 requests per second on a single db server
      • 2006-06-07 15830, 2006

      • keschte joined the channel
      • 2006-06-07 15845, 2006

      • Russss
        actually it's closer to 300 if you count submissions
      • 2006-06-07 15827, 2006

      • SoothingR has quit
      • 2006-06-07 15832, 2006

      • dsp
        last.fm?
      • 2006-06-07 15839, 2006

      • Russss
        yes
      • 2006-06-07 15858, 2006

      • dsp
        nice service you have :)
      • 2006-06-07 15802, 2006

      • ruaok
        Russss: that is certainly the case.
      • 2006-06-07 15852, 2006

      • Russss
        check the hit rate on your memcache servers, if it's lower than 95%, get more RAM :)
      • 2006-06-07 15816, 2006

      • ruaok
        how do you check that?
      • 2006-06-07 15831, 2006

      • ruaok
        our mrtg graph for memcached isn't hooked up yet.
      • 2006-06-07 15849, 2006

      • Russss
        telnet into the memcache server and type stats
      • 2006-06-07 15806, 2006

      • ruaok
        and, I know we need to do more caching and there are dozen of places I could think of. but when it comes to opimization, I have a shitty instint. I want hard numbers before I write code.
      • 2006-06-07 15810, 2006

      • Russss
        it gives you a load of stats including hit ratio
      • 2006-06-07 15816, 2006

      • ruaok
        cool, thanks.
      • 2006-06-07 15831, 2006

      • ruaok
        how do you suggest we go about quantifying what things need caching the most?
      • 2006-06-07 15834, 2006

      • Russss
        well, hits and misses numbers
      • 2006-06-07 15804, 2006

      • Russss
        turn postgres query logging on for a while, then use something like this: http://pgfouine.projects.postgresql.org/