pixelated / puppet-pixelated

Puppet Module to setup the Pixelated User Agent
GNU Affero General Public License v3.0
13 stars 4 forks source link

Couchdb went down in Dev... AGAIN #25

Closed ayoyoness closed 8 years ago

ayoyoness commented 8 years ago

The couchdb instance on dev went down... the whole leap plattform throws 503... status says it exited but start doesn't work... until you actually stop it first then start again... NEED to investigate the source of the bug and possibly come up with a fix. See picture below for more

screen shot 2016-03-03 at 10 34 52 am

varac commented 8 years ago

and absolutely no signs of a cause in the logs (neither in syslog):

[Thu, 03 Mar 2016 05:31:50 GMT] [info] [<0.18409.47>] 127.0.0.1 - - GET / 200
[Thu, 03 Mar 2016 09:33:37 GMT] [info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/
cz8s commented 8 years ago

and it never happens on wazokazi, right?

varac commented 8 years ago

@cz8s yes, i saw this only on dev.pix

aaaand again today on dev.pix, last log entry:

[Tue, 08 Mar 2016 09:54:35 GMT] [info] [<0.522.0>] 127.0.0.1 - - GET / 200
varac commented 8 years ago

first of all, i configured dev1 to use a native systemd unit file for couchdb:

[Unit]
Description=CouchDB Server
After=network.target

[Service]
User=couchdb
Type=forking
EnvironmentFile=/etc/default/couchdb
PIDFile=/run/couchdb/couchdb.pid
ExecStart=/usr/bin/couchdb -r 0 -e /dev/null -o /dev/null -b

[Install]
WantedBy=multi-user.target

lets wait and see if and when couchdb goes now the next time

varac commented 8 years ago

i asked micah to include it in the couchdb debian package.