[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uwsgi
Subject:    [uWSGI] uwsgi workers dies time by time
From:       roberto () unbit ! it (Roberto De Ioris)
Date:       2013-03-22 12:00:39
Message-ID: 8b3efe9109248fc86d12683182197df2.squirrel () manage ! unbit ! it
[Download RAW message or body]


> Fri Mar 22 07:53:28 2013 - DAMN ! worker 2 (pid: 30109) died :( trying
> respawn ...
> Fri Mar 22 07:54:00 2013 - DAMN ! worker 1 (pid: 30182) died :( trying
> respawn ...
> Fri Mar 22 07:54:00 2013 - Respawned uWSGI worker 1 (new pid: 30241)
> Fri Mar 22 07:54:00 2013 - DAMN ! worker 10 (pid: 30207) died :( trying
> respawn ...
> Fri Mar 22 07:54:00 2013 - mapped socket 0 (127.0.0.1:50021) to worker 1
> Fri Mar 22 07:54:00 2013 - Respawned uWSGI worker 10 (new pid: 30242)
> Fri Mar 22 07:54:00 2013 - mapped socket 4 (127.0.0.1:50025) to worker 10
> Fri Mar 22 07:53:28 2013 - Respawned uWSGI worker 2 (new pid: 30135)
> Fri Mar 22 07:53:28 2013 - mapped socket 0 (127.0.0.1:50021) to worker 2
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> Fri Mar 22 07:53:29 2013 - DAMN ! worker 10 (pid: 29981) died :( trying
> respawn ...
> Fri Mar 22 07:53:29 2013 - Respawned uWSGI worker 10 (new pid: 30154)
> Fri Mar 22 07:53:29 2013 - DAMN ! worker 4 (pid: 30096) died :( trying
> respawn ...
> Fri Mar 22 07:53:29 2013 - mapped socket 4 (127.0.0.1:50025) to worker 10
> Fri Mar 22 07:53:29 2013 - Respawned uWSGI worker 4 (new pid: 30155)
> Fri Mar 22 07:53:29 2013 - DAMN ! worker 5 (pid: 30107) died :( trying
> respawn ...
> Fri Mar 22 07:53:29 2013 - mapped socket 1 (127.0.0.1:50022) to worker 4
> Fri Mar 22 07:53:29 2013 - Respawned uWSGI worker 5 (new pid: 30156)
> Fri Mar 22 07:53:29 2013 - DAMN ! worker 7 (pid: 30110) died :( trying
> respawn ...
> Fri Mar 22 07:53:29 2013 - mapped socket 2 (127.0.0.1:50023) to worker 5
> Fri Mar 22 07:53:29 2013 - Respawned uWSGI worker 7 (new pid: 30157)
> Fri Mar 22 07:53:29 2013 - mapped socket 3 (127.0.0.1:50024) to worker 7
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> Fri Mar 22 07:53:39 2013 - DAMN ! worker 3 (pid: 29912) died :( trying
> respawn ...
> Fri Mar 22 07:53:39 2013 - Respawned uWSGI worker 3 (new pid: 30181)
> Fri Mar 22 07:53:39 2013 - DAMN ! worker 1 (pid: 29983) died :( trying
> respawn ...
> Fri Mar 22 07:53:39 2013 - mapped socket 1 (127.0.0.1:50022) to worker 3
> Fri Mar 22 07:53:39 2013 - Respawned uWSGI worker 1 (new pid: 30182)
> Fri Mar 22 07:53:39 2013 - DAMN ! worker 6 (pid: 30020) died :( trying
> respawn ...
> Fri Mar 22 07:53:39 2013 - mapped socket 0 (127.0.0.1:50021) to worker 1
> Fri Mar 22 07:53:39 2013 - Respawned uWSGI worker 6 (new pid: 30183)
> Fri Mar 22 07:53:39 2013 - DAMN ! worker 9 (pid: 30108) died :( trying
> respawn ...
> Fri Mar 22 07:53:39 2013 - mapped socket 2 (127.0.0.1:50023) to worker 6
> Fri Mar 22 07:53:39 2013 - Respawned uWSGI worker 9 (new pid: 30184)
> Fri Mar 22 07:53:39 2013 - DAMN ! worker 7 (pid: 30157) died :( trying
> respawn ...
> Fri Mar 22 07:53:39 2013 - mapped socket 4 (127.0.0.1:50025) to worker 9
> Fri Mar 22 07:53:39 2013 - Respawned uWSGI worker 7 (new pid: 30185)
> Fri Mar 22 07:53:39 2013 - mapped socket 3 (127.0.0.1:50024) to worker 7
> {address space usage: 190820352 bytes/181MB} {rss usage: 49127424
> bytes/46MB} [pid: 30242|app: 0|req: 14/39]  () {50 vars in 1262 bytes}
> [Fri
> Mar 22 07:54:09 2013] POST /gateway/ => generated 573 bytes in 311 msecs
> (HTTP/1.1 200) 3 headers in 108 bytes (2 switches on core 0)
> {address space usage: 190615552 bytes/181MB} {rss usage: 48992256
> bytes/46MB} [pid: 30208|app: 0|req: 14/40]  () {50 vars in 1262 bytes}
> [Fri
> Mar 22 07:54:21 2013] POST /gateway/ => generated 1198 bytes in 330 msecs
> (HTTP/1.1 200) 3 headers in 109 bytes (2 switches on core 0)

I do not think you have enabled the tracebacker, in addition to this i see
those errors:


libgcc_s.so.1 must be installed for pthread_cancel to work

that point to a wrong build or missing 32bit/64bit libraries in an hybrid
system

I suggest you to start with a test instance (even with an hello world
followed by a sleep() to let the tracebacker catch it) to learn the use of
the tracebacker, as soon as it works you can try combining it with
harakiri.



-- 
Roberto De Ioris
http://unbit.it

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic