#metabrainz

/

      • ruaok
        bitmap: check your email. there should be an invite to join google cloud hosting as god.
      • bitmap
        okay
      • the docker container can't connect to the db for some reason
      • FATAL: could not map anonymous shared memory: Cannot allocate memory
      • postgres is dying
      • JonnyJD_ has quit
      • demonimin has quit
      • heh "HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory, swap space, or huge pages. To reduce the request size (currently 8716034048 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections."
      • ruaok
        oh, that
      • bitmap
        8716034048 bytes == 8.716034048 gigabytes
      • ruaok
        yep, sounds right.
      • want me to fix it?
      • bitmap
        yeah, if you know where to
      • ruaok
        yeah.
      • oh meh, I need to adjust that setting for the container. right.
      • hibiscuskazeneko has quit
      • demonimin joined the channel
      • Mineo has quit
      • demonimin has quit
      • ok, the container is up.
      • PG is running with a measely 128MB of shared space.
      • going to run slow, but ok for this test.
      • bitmap
        thanks
      • whoops, these are missing LAST_REPLICATION_SEQUENCE. I'll fix
      • ruaok
        so, if you make another instance from the replication snapshot, you'll need to edit /mnt/pgdata/pgdata/postgresql.conf and update
      • shared_buffers = 128MB
      • after that the container will start.
      • I'm too tired to sort out how to pass the correct shmmax value to the container.
      • bitmap
        np
      • demonimin joined the channel
      • ruaok will slowly crawl towards bed, but will keep an eye on IRC for a while stll.
      • hibiscuskazeneko joined the channel
      • regagain has quit
      • demonimin has quit
      • demonimin joined the channel
      • D4RK-PH0ENiX has quit
      • weird, I recreated the instance and can't ssh into it
      • ssh: connect to host 104.154.201.171 port 22: Operation timed out
      • chirlu
        I can connect. (I can’t log in, but that’s as planned.)
      • bitmap
        wtf
      • bitmap deletes and picks a different zone
      • demonimin has quit
      • zas
        bitmap: can we run prod & beta on same node ? zappa is running only beta atm, load is low
      • bitmap
        yes, that would be fine
      • hmm, wait
      • zas
        i do ;)
      • bitmap
        ports will probably conflict
      • zas
        we'll see that later, i'm off to bed
      • bitmap
        goodnight then :)
      • zas
        about ports, we could just check used ports and select a free one
      • cya later
      • bitmap
        that would be much nicer
      • demonimin joined the channel
      • D4RK-PH0ENiX joined the channel
      • ok, got up to 'Replication packet #99849 not available'
      • I'll try without --base-uri=file:///tmp/new_packets/ now
      • it's going...