I have an app that started segfaulting yesterday. In trying to find
what's the problem is I've simplified it to this config file, and I
still get segfaults. I did recompile uwsgi, still the same. Any idea
what could be this?

[uwsgi]
master = true
daemonize = %d/log/uwsgi.log
touch-reload = %p
threads = 2
harakiri = 30
socket = 127.0.0.1:4001

plugin = python
chdir = %d
module = werkzeug.testapp:test_app


*** Starting uWSGI 1.4.3 (32bit) on [Wed Dec 19 14:49:27 2012] ***
compiled with version: 4.4.5 on 19 December 2012 13:58:47
os: Linux-2.6.32-5-686-bigmem #1 SMP Sun May 6 04:39:05 UTC 2012
nodename: mytraveldoc-vm
machine: i686
clock source: unix
detected number of CPU cores: 1
current working directory: /home/oncall/apps/doctorservice
detected binary path: /usr/local/bin/uwsgi
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow
upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
uwsgi socket 0 bound to TCP address 127.0.0.1:4001 fd 3
Python version: 2.6.6 (r266:84292, Dec 27 2010, 00:18:12)  [GCC 4.4.5]
Python main interpreter initialized at 0x93dc3b8
python threads support enabled
your server socket listen backlog is limited to 100 connections
mapped 142016 bytes (138 KB) for 2 cores
*** Operational MODE: threaded ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x93dc3b8
pid: 23694 (default app)
*** uWSGI is running in multiple interpreter mode ***
gracefully (RE)spawned uWSGI master process (pid: 23694)
spawned uWSGI worker 1 (pid: 3096, cores: 2)
*** Stats server enabled on 127.0.0.1:14001 fd: 33 ***
spawned uWSGI mule 1 (pid: 3097)
spawned uWSGI mule 2 (pid: 3098)
spawned uWSGI mule 3 (pid: 3099)
spawned uWSGI mule 4 (pid: 3100)
spawned uWSGI mule 5 (pid: 3101)
!!! uWSGI process 3096 got Segmentation Fault !!!
*** backtrace of 3096 ***
/usr/local/bin/uwsgi(uwsgi_backtrace+0x29) [0x8082059]
/usr/local/bin/uwsgi(uwsgi_segfault+0x2c) [0x808215c]
[0xb77cf400]
/usr/local/lib/uwsgi/python_plugin.so(uwsgi_request_wsgi+0x149) [0xb73a35a9]
/usr/local/bin/uwsgi(wsgi_req_recv+0xae) [0x805ce7e]
/usr/local/bin/uwsgi(simple_loop_run+0xc6) [0x807db96]
/usr/local/bin/uwsgi(simple_loop+0x12) [0x807dcb2]
/usr/local/bin/uwsgi(uwsgi_ignition+0x195) [0x8080335]
/usr/local/bin/uwsgi(uwsgi_start+0x1428) [0x8081788]
/usr/local/bin/uwsgi(main+0xa5f) [0x808486f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb740dca6]
/usr/local/bin/uwsgi() [0x80548d1]
*** end of backtrace ***
DAMN ! worker 1 (pid: 3096) died :( trying respawn ...
Respawned uWSGI worker 1 (new pid: 3104)

-- 
damjan
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to