I hereby claim:
- I am markhellewell on github.
- I am mch (https://keybase.io/mch) on keybase.
- I have a public key ASC-EYaw0LWJV5-MVaUigkeY5ije5gyilaK4eA8LCjTS5Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Originally: https://raw.githubusercontent.com/khenderick/micropython-drivers/master/ssd1306/ssd1306.py | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Kenneth Henderick | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
[2014-01-08 06:55:55,685: WARNING/Worker-1] Data collector is not contactable. This can be because of a network issue or because of the data collector being restarted. In the event that contact cannot be made after a period of time then please report this problem to New Relic support for further investigation. The error raised was ConnectionError(MaxRetryError("HTTPSConnectionPool(host='collector-3.newrelic.com', port=443): Max retries exceeded with url: /agent_listener/invoke_raw_method?protocol_version=12&license_key=LICENSE_KEY&marshal_format=json&method=get_agent_commands&run_id=600010483 (Caused by <class 'socket.error'>: [Errno 104] Connection reset by peer)",),). |
Dec 8 17:40:45 turmoil uwsgi: [emperor] *** RAGNAROK EVOKED *** | |
Dec 8 17:40:45 turmoil uwsgi: The Emperor has been buried (pid: 2807) | |
Dec 8 17:40:45 turmoil uwsgi: ...brutally killing workers... | |
Dec 8 17:40:45 turmoil uwsgi: binary reloading uWSGI... | |
Dec 8 17:40:45 turmoil uwsgi: chdir() to / | |
Dec 8 17:40:45 turmoil uwsgi: closing all non-uwsgi socket fds > 2 (max_fd = 1024)... | |
Dec 8 17:40:45 turmoil uwsgi: running /usr/local/bin/uwsgi | |
Dec 8 17:40:45 turmoil uwsgi: *** Starting uWSGI 1.9.20 (64bit) on [Sun Dec 8 17:40:45 2013] *** |
Dec 8 17:40:46 turmoil uwsgi: probably another instance of uWSGI is running on the same address (127.0.0.1:9191). | |
Dec 8 17:40:46 turmoil uwsgi: bind(): Address already in use [core/socket.c line 779] | |
Dec 8 17:40:46 turmoil uwsgi: ...brutally killing workers... | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 4 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 2 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 3 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Fatal Python error: PyImport_GetModuleDict: no module dictionary! | |
Dec 8 17:40:46 uwsgi: last message repeated 2 times | |
Dec 8 17:40:46 turmoil uwsgi: [emperor] curse the uwsgi instance app.ini (pid: 3079) | |
Dec 8 17:40:46 turmoil uwsgi: [emperor] removed uwsgi instance app.ini |
Dec 8 17:40:46 turmoil uwsgi: probably another instance of uWSGI is running on the same address (127.0.0.1:9191). | |
Dec 8 17:40:46 turmoil uwsgi: bind(): Address already in use [core/socket.c line 779] | |
Dec 8 17:40:46 turmoil uwsgi: ...brutally killing workers... | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 4 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 2 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 3 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Fatal Python error: PyImport_GetModuleDict: no module dictionary! | |
Dec 8 17:40:46 uwsgi: last message repeated 2 times | |
Dec 8 17:40:46 turmoil uwsgi: [emperor] curse the uwsgi instance app.ini (pid: 3079) |
Dec 8 17:40:46 turmoil uwsgi: probably another instance of uWSGI is running on the same address (127.0.0.1:9191). | |
Dec 8 17:40:46 turmoil uwsgi: bind(): Address already in use [core/socket.c line 779] | |
Dec 8 17:40:46 turmoil uwsgi: ...brutally killing workers... | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 4 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 2 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Sun Dec 8 17:40:46 2013 - uWSGI worker 3 screams: UAAAAAAH my master disconnected: i will kill myself !!! | |
Dec 8 17:40:46 turmoil uwsgi: Fatal Python error: PyImport_GetModuleDict: no module dictionary! | |
Dec 8 17:40:46 uwsgi: last message repeated 2 times | |
Dec 8 17:40:46 turmoil uwsgi: [emperor] curse the uwsgi instance app.ini (pid: 3079) |
# Emperor uWSGI script | |
description "uWSGI Emperor" | |
start on runlevel [2345] | |
stop on runlevel [06] | |
exec uwsgi --emperor /etc/uwsgi --logger syslog |
[uwsgi] | |
socket = /tmp/app.sock | |
chdir = /home/USER/sites/site.com/repo.git | |
env = NEW_RELIC_ENVIRONMENT=production | |
env = NEW_RELIC_CONFIG_FILE=newrelic.ini | |
uid = USER | |
chown-socket = www-data:GROUP | |
chmod-socket = 660 |