Hi Roberto Thanks for your reply. Yes, that branch does fix the segfault. However, the same issue appears to be there. As below:
Mar 6 16:44:07 localhost uwsgi: *** Starting uWSGI 1.4.8 (64bit) on [Wed Mar 6 16:44:07 2013] *** Mar 6 16:44:07 localhost uwsgi: compiled with version: 4.6.3 on 06 March 2013 16:43:32 Mar 6 16:44:07 localhost uwsgi: os: Linux-3.4.2-x86_64-linode25 #2 SMP Tue Jun 26 16:10:49 EDT 2012 Mar 6 16:44:07 localhost uwsgi: nodename: lo-web-1 Mar 6 16:44:07 localhost uwsgi: machine: x86_64 Mar 6 16:44:07 localhost uwsgi: clock source: unix Mar 6 16:44:07 localhost uwsgi: pcre jit disabled Mar 6 16:44:07 localhost uwsgi: detected number of CPU cores: 4 Mar 6 16:44:07 localhost uwsgi: current working directory: / Mar 6 16:44:07 localhost uwsgi: detected binary path: /usr/local/bin/uwsgi Mar 6 16:44:07 localhost uwsgi: your processes number limit is 31469 Mar 6 16:44:07 localhost uwsgi: your memory page size is 4096 bytes Mar 6 16:44:07 localhost uwsgi: *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** Mar 6 16:44:07 localhost uwsgi: detected max file descriptor number: 1024 Mar 6 16:44:07 localhost uwsgi: lock engine: pthread robust mutexes Mar 6 16:44:07 localhost uwsgi: *** starting uWSGI Emperor *** Mar 6 16:44:07 localhost uwsgi: *** Emperor stats server enabled on :1717 fd: 7 *** Mar 6 16:44:07 localhost uwsgi: Python version: 2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3] Mar 6 16:44:07 localhost uwsgi: *** has_emperor mode detected (fd: 10) *** Mar 6 16:44:07 localhost uwsgi: [uWSGI] getting INI configuration from keepcalm.ini Mar 6 16:44:07 localhost uwsgi: *** Python threads support is disabled. You can enable it with --enable-threads *** Mar 6 16:44:07 localhost uwsgi: Python main interpreter initialized at 0x1cfe6a0 Mar 6 16:44:07 localhost uwsgi: mapped 72424 bytes (70 KB) for 0 cores Mar 6 16:44:07 localhost uwsgi: *** Operational MODE: no-workers *** Mar 6 16:44:07 localhost uwsgi: spawned uWSGI master process (pid: 29885) Mar 6 16:44:07 localhost uwsgi-keepcalm: *** Starting uWSGI 1.4.8 (64bit) on [Wed Mar 6 16:44:07 2013] *** Mar 6 16:44:07 localhost uwsgi-keepcalm: compiled with version: 4.6.3 on 06 March 2013 16:43:32 Mar 6 16:44:07 localhost uwsgi-keepcalm: os: Linux-3.4.2-x86_64-linode25 #2 SMP Tue Jun 26 16:10:49 EDT 2012 Mar 6 16:44:07 localhost uwsgi-keepcalm: nodename: lo-web-1 Mar 6 16:44:07 localhost uwsgi-keepcalm: machine: x86_64 Mar 6 16:44:07 localhost uwsgi-keepcalm: clock source: unix Mar 6 16:44:07 localhost uwsgi-keepcalm: pcre jit disabled Mar 6 16:44:07 localhost uwsgi-keepcalm: detected number of CPU cores: 4 Mar 6 16:44:07 localhost uwsgi-keepcalm: current working directory: /etc/uwsgi/vassals Mar 6 16:44:07 localhost uwsgi-keepcalm: detected binary path: /usr/local/bin/uwsgi Mar 6 16:44:07 localhost uwsgi-keepcalm: your processes number limit is 31469 Mar 6 16:44:07 localhost uwsgi-keepcalm: your memory page size is 4096 bytes Mar 6 16:44:07 localhost uwsgi-keepcalm: *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** Mar 6 16:44:07 localhost uwsgi-keepcalm: detected max file descriptor number: 1024 Mar 6 16:44:07 localhost uwsgi-keepcalm: lock engine: pthread robust mutexes Mar 6 16:44:07 localhost uwsgi-keepcalm: uwsgi socket 0 bound to TCP address :3031 fd 6 Mar 6 16:44:07 localhost uwsgi-keepcalm: Python version: 2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3] Mar 6 16:44:07 localhost uwsgi-keepcalm: Python main interpreter initialized at 0x110db60 Mar 6 16:44:07 localhost uwsgi-keepcalm: threads stack size set to 512k Mar 6 16:44:07 localhost uwsgi-keepcalm: python threads support enabled Mar 6 16:44:07 localhost uwsgi-keepcalm: your server socket listen backlog is limited to 100 connections Mar 6 16:44:07 localhost uwsgi-keepcalm: mapped 217272 bytes (212 KB) for 2 cores Mar 6 16:44:07 localhost uwsgi-keepcalm: *** Operational MODE: preforking *** Mar 6 16:44:07 localhost uwsgi-keepcalm: added /var/www-hosts/keepcalm/ to pythonpath. Mar 6 16:44:07 localhost uwsgi-keepcalm: WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x110db60 pid: 29887 (default app) Mar 6 16:44:07 localhost uwsgi-keepcalm: *** uWSGI is running in multiple interpreter mode *** Mar 6 16:44:07 localhost uwsgi-keepcalm: spawned uWSGI master process (pid: 29887) Mar 6 16:44:07 localhost uwsgi-keepcalm: spawned uWSGI worker 1 (pid: 29892, cores: 1) Mar 6 16:44:07 localhost uwsgi-keepcalm: spawned uWSGI worker 2 (pid: 29893, cores: 1) Mar 6 16:44:07 localhost uwsgi-keepcalm: *** Zerg server enabled on /var/www-hosts/keepcalm/restricted/broodlord.sock *** Mar 6 16:44:07 localhost uwsgi-keepcalm: announcing my loyalty to the Emperor... Mar 6 16:44:07 localhost uwsgi: [emperor] vassal keepcalm.ini is now loyal Mar 6 16:44:08 localhost uwsgi-keepcalm: announcing my loyalty to the Emperor... Mar 6 16:44:08 localhost uwsgi: [emperor] vassal keepcalm.ini is now loyal Mar 6 16:44:09 localhost uwsgi-keepcalm: asking emperor for reinforcements (backlog: 7)... Mar 6 16:44:09 localhost uwsgi: [emperor] going in broodlord mode: launching zergs for keepcalm.ini Mar 6 16:44:09 localhost uwsgi: [emperor] stop the uwsgi instance keepcalm.ini:zerg Mar 6 16:44:09 localhost uwsgi: [emperor] removed uwsgi instance keepcalm.ini:zerg Mar 6 16:44:09 localhost uwsgi: *** has_emperor mode detected (fd: 10) *** Mar 6 16:44:09 localhost uwsgi: [uWSGI] getting INI configuration from keepcalm.ini Mar 6 16:44:09 localhost uwsgi-keepcalm-zerg: *** Starting uWSGI 1.4.8 (64bit) on [Wed Mar 6 16:44:09 2013] *** Mar 6 16:44:09 localhost uwsgi-keepcalm-zerg: compiled with version: 4.6.3 on 06 March 2013 16:43:32 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: os: Linux-3.4.2-x86_64-linode25 #2 SMP Tue Jun 26 16:10:49 EDT 2012 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: nodename: lo-web-1 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: machine: x86_64 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: clock source: unix Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: pcre jit disabled Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: detected number of CPU cores: 4 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: current working directory: /etc/uwsgi/vassals Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: detected binary path: /usr/local/bin/uwsgi Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: your processes number limit is 31469 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: your memory page size is 4096 bytes Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: detected max file descriptor number: 1024 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: lock engine: pthread robust mutexes Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: uwsgi zerg socket 0 attached to INET address :3031 fd 7 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: zerg sockets attached Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: Python version: 2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3] Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: Python main interpreter initialized at 0x217fd00 Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: threads stack size set to 512k Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: python threads support enabled Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: your server socket listen backlog is limited to 100 connections Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: mapped 144848 bytes (141 KB) for 1 cores Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: *** Operational MODE: single process *** Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: added /var/www-hosts/keepcalm/ to pythonpath. Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x217fd00 pid: 29900 (default app) Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: *** uWSGI is running in multiple interpreter mode *** Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: spawned uWSGI master process (pid: 29900) Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: spawned uWSGI worker 1 (pid: 29905, cores: 1) Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: Wed Mar 6 16:44:09 2013 - received message 0 from emperor Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: SIGINT/SIGQUIT received...killing workers... Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: lost connection with my emperor !!! Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: announcing my loyalty to the Emperor... Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) !!! Mar 6 16:44:11 localhost uwsgi-keepcalm-zerg: write(): Broken pipe [core/utils.c line 752] Best Aidan On 6 March 2013 15:08, Roberto De Ioris <[email protected]> wrote: > > > Hi > > > > We have been using uwsgi 1.2.5 in production. It's fantastic. We want to > > upgrade. We can get to 1.3 without problems, but all 1.4.x builds fail > for > > us. We use emperor mode and zergs. In the process of debugging this I've > > simplified the config a little, but it looks like this: > > > You can try the 1.4 github branch: > > https://github.com/unbit/uwsgi/commits/uwsgi-1.4 > > (the second patch from the top solve your segfault) > > the segfault is caused by the new carbon plugin added in 1.4.7 > > Regarding broodlord/zerg mess i would like to have a new log reports > without the segfault ;) > > > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
