Hello. Is custom build configs allowed?
uwsgi-1.1rc3
I experience segfault when doing:
uwsgi --signal=/var/run/uwsgi_hypernova.sock,10
Backtrace:
!!! uWSGI process 6736 got Segmentation Fault !!!
*** backtrace of 6736 ***
uwsgi(uwsgi_backtrace+0x25) [0x42eae5]
uwsgi(uwsgi_segfault+0x21) [0x42ebc1]
/lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f41956be420]
uwsgi(uwsgi_close_request+0x11a) [0x410a5a]
uwsgi(simple_loop+0x13d) [0x42a58d]
uwsgi(uwsgi_ignition+0x174) [0x42eff4]
uwsgi(uwsgi_start+0x230a) [0x431c0a]
uwsgi(main+0xf7b) [0x40f7db]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f41956a930d]
uwsgi() [0x40f901]
*** end of backtrace ***
rotate daily logs!!
rotate daily logs!!
DAMN ! worker 3 (pid: 6736) died :( trying respawn ...
Respawned uWSGI worker 3 (new pid: 6738)
rotate daily logs!!
Build conf: (only python+xml+signal)
[uwsgi]
xml = true
ini = false
yaml = false
json = false
sqlite3 = false
zeromq = false
snmp = false
sctp = false
spooler = false
embedded = true
udp = false
multicast = false
threading = true
sendfile = true
minterpreters = false
async = false
ldap = false
pcre = false
routing = false
debug = false
unbit = false
xml_implementation = libxml2
yaml_implementation = auto
malloc_implementation = libc
extras =
plugins =
bin_name = uwsgi
append_version =
plugin_dir = .
embedded_plugins = python, cache, signal
as_shared_library = false
locking = auto
event = auto
timer = auto
filemonitor = auto
blacklist =
whitelist =
embed_files =
embed_config =
[python]
paste = false
web3 = false
Start cmd
uwsgi --uid=nobody --gid=nogroup -s /var/run/uwsgi_hypernova.sock -M
-p 3 -w app -C 777 --chown-socket=nobody:nogroup -O 0
--pyargv="--modules-path=../data/modules --mode=debug"
wsgi app:
import uwsgi
def rotate_daily_logs(*args):
print "rotate daily logs!!"
uwsgi.register_signal(10, "workers", rotate_daily_logs)
def application(environ, start_response):
start_response('200 OK', [('Content-type', 'text/plain')])
for x in range(10):
yield 'Hello World'
--
--------------------------------------------
Турнаев Евгений Викторович
+7 906 875 09 43
--------------------------------------------
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi