Git Product home page Git Product logo

nubis-dpaste's People

Contributors

bhourigan avatar floatingatoll avatar gozer avatar limed avatar tinnightcap avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nubis-dpaste's Issues

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Tag v2.0.4 release

Tag a release of the nubis-dpaste repository for the v2.0.4 release of the Nubis project.

Tag v1.0.1 release

Tag a release of the nubis-dpaste repository for the v1.0.1 release of the Nubis project.

Tag v1.4.2 release

Tag a release of the nubis-dpaste repository for the v1.4.2 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Tag v2.3.1 release

Tag a release of the nubis-dpaste repository for the v2.3.1 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Tag v1.2.0 release

Tag a release of the nubis-dpaste repository for the v1.2.0 release of the Nubis project.

Tag v2.0.3 release

Tag a release of the nubis-dpaste repository for the v2.0.3 release of the Nubis project.

Tag v1.4.1 release

Tag a release of the nubis-dpaste repository for the v1.4.1 release of the Nubis project.

Tag v1.3.0 release

Tag a release of the nubis-dpaste repository for the v1.3.0 release of the Nubis project.

Tag release

Tag a release of the nubis-dpaste repository for the release of the Nubis project.

Tag v2.1.0 release

Tag a release of the nubis-dpaste repository for the v2.1.0 release of the Nubis project.

Tag v1.2.3 release

Tag a release of the nubis-dpaste repository for the v1.2.3 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

DB migrations sometimes fail

When booting an ami if confd is not up when the migrate.sh script is triggered the database tables never get created. This leads to the site being unable to store the pastebins.

Tag v1.4.0 release

Tag a release of the nubis-dpaste repository for the v1.4.0 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Tag v2.4.0 release

Tag a release of the nubis-dpaste repository for the v2.4.0 release of the Nubis project.

Tag v1.2.2 release

Tag a release of the nubis-dpaste repository for the v1.2.2 release of the Nubis project.

Something fishy about apache restarts

Not sure what is causing, but I've just seen 2 different dpaste instances
come up with this problem, apache isn't running on them.

Looking at /var/log/apache/error_log shows me:

[Mon Aug 31 05:04:36.813982 2015] [mpm_worker:notice] [pid 9524:tid 140161872398208] AH00295: caught SIGTERM, shutting down
[Thu Sep 03 02:49:38.519883 2015] [mpm_worker:notice] [pid 2034:tid 140498801653632] AH00292: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Thu Sep 03 02:49:38.520392 2015] [core:notice] [pid 2034:tid 140498801653632] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 03 02:49:41.005092 2015] [mpm_worker:notice] [pid 2034:tid 140498801653632] AH00297: SIGUSR1 received.  Doing graceful restart
[Thu Sep 03 02:49:41.334528 2015] [core:notice] [pid 2034] AH00060: seg fault or similar nasty error detected in the parent process

Core dump isnt' very helpful

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fc868867bf0 in ?? ()
(gdb) bt
#0  0x00007fc868867bf0 in ?? ()
#1  <signal handler called>
#2  0x00007fc86c26cd83 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:81
#3  0x00007fc86c783c45 in apr_sleep () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#4  0x00007fc86c777d7e in ?? () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#5  0x00007fc86c778c70 in apr_pool_clear () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#6  0x00007fc86d04febb in main ()

Feels to me like the apachectl graceful in confd might be the culprit

Other theory, the migrate script doesn't restart apache when it's done and it was already running, maybe
dpaste doesn't like it's settings changing from under it

So it would seem to me that mod_wsgi experiences something not fun and crashes

Oh, and from all this, I also notice we use the worker MPM by default instead of the much safer/simpler
prefork MPM

Tag v2.4.0 release

Tag a release of the nubis-dpaste repository for the v2.4.0 release of the Nubis project.

Tag v1.5.0 release

Tag a release of the nubis-dpaste repository for the v1.5.0 release of the Nubis project.

Tag v2.2.0 release

Tag a release of the nubis-dpaste repository for the v2.2.0 release of the Nubis project.

Tag v2.1.0 release

Tag a release of the nubis-dpaste repository for the v2.1.0 release of the Nubis project.

Tag v2.0.2 release

Tag a release of the nubis-dpaste repository for the v2.0.2 release of the Nubis project.

Tag v1.2.1 release

Tag a release of the nubis-dpaste repository for the v1.2.1 release of the Nubis project.

Tag v1.1.0 release

Tag a release of the nubis-dpaste repository for the v1.1.0 release of the Nubis project.

Tag v1.5.1 release

Tag a release of the nubis-dpaste repository for the v1.5.1 release of the Nubis project.

Tag v2.3.1 release

Tag a release of the nubis-dpaste repository for the v2.3.1 release of the Nubis project.

Tag v1.4.2 release

Tag a release of the nubis-dpaste repository for the v1.4.2 release of the Nubis project.

Tag v2.0.1 release

Tag a release of the nubis-dpaste repository for the v2.0.1 release of the Nubis project.

Tag v2.0.0 release

Tag a release of the nubis-dpaste repository for the v2.0.0 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Tag v2.3.0 release

Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.