> With my config, uwsgi-2.0 crashes just after startup (1.9.21.1 is doing > well). > > Start options: --auto-procname --log-reopen --logfile-chown --ini > path/to/uwsgi.ini > > ini-file: > [uwsgi] > buffer-size = 65535 > chdir = /some/path > env = PYTHONPATH=/opt/lib/python > cheaper = 8 > cheaper-algo = busyness > cheaper-busyness-multiplier = 12 > cheaper-initial = 16 > cheaper-overload = 5 > cheaper-step = 4 > master = true > max-requests = 10000 > module = frontend.wsgi > no-orphans = true > processes = 16 > touch-reload = /opt/conf/cache.link > vacuum = true > > > Log: > > *** Starting uWSGI 2.0 (64bit) on [Thu Jan 9 16:29:35 2014] *** > compiled with version: 4.2.1 20070831 patched [FreeBSD] on 09 January 2014 > 16:10 > :53 > os: FreeBSD-9.2-STABLE FreeBSD 9.2-STABLE #1 r256817M: Sun Dec 29 19:49:31 > MSK 2 > 013 root@hostname:/usr/obj/opt/WRK/src/sys/CAVIA > nodename: NODENAME > machine: amd64 > clock source: unix > detected number of CPU cores: 16 > current working directory: /opt/work > writing pidfile to /var/run/uwsgi.pid > detected binary path: /usr/local/bin/uwsgi > !!! no internal routing support, rebuild with pcre support !!! > uWSGI running as root, you can use --uid/--gid/--chroot options > setgid() to 80 > set additional group 181 (nagios) > setuid() to 80 > your processes number limit is 49064 > your memory page size is 4096 bytes > detected max file descriptor number: 140000 > lock engine: POSIX semaphores > thunder lock: disabled (you can enable it with --thunder-lock) > [busyness] settings: min=25%, max=50%, overload=5, multiplier=12, respawn > penalt > y=2 > uwsgi socket 0 bound to TCP address 127.0.0.1:3038 fd 3 > Python version: 3.3.3 (default, Jan 9 2014, 16:09:09) [GCC 4.2.1 > 20070831 patched [FreeBSD]] > *** Python threads support is disabled. You can enable it with > --enable-threads *** > Python main interpreter initialized at 0x80218a0c0 > your server socket listen backlog is limited to 100 connections > your mercy for graceful operations on workers is 60 seconds > mapped 2281111 bytes (2227 KB) for 16 cores > *** Operational MODE: preforking *** > WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x80218a0c0 > pid: 38038 (default app) > *** uWSGI is running in multiple interpreter mode *** > spawned uWSGI master process (pid: 38038) > spawned uWSGI worker 1 (pid: 38039, cores: 1) > spawned uWSGI worker 2 (pid: 38040, cores: 1) > spawned uWSGI worker 3 (pid: 38041, cores: 1) > spawned uWSGI worker 4 (pid: 38042, cores: 1) > spawned uWSGI worker 5 (pid: 38043, cores: 1) > spawned uWSGI worker 6 (pid: 38044, cores: 1) > spawned uWSGI worker 7 (pid: 38045, cores: 1) > spawned uWSGI worker 8 (pid: 38046, cores: 1) > spawned uWSGI worker 9 (pid: 38047, cores: 1) > spawned uWSGI worker 10 (pid: 38048, cores: 1) > spawned uWSGI worker 11 (pid: 38049, cores: 1) > spawned uWSGI worker 12 (pid: 38050, cores: 1) > spawned uWSGI worker 13 (pid: 38051, cores: 1) > spawned uWSGI worker 14 (pid: 38052, cores: 1) > spawned uWSGI worker 15 (pid: 38053, cores: 1) > spawned uWSGI worker 16 (pid: 38054, cores: 1) > !!! uWSGI process 38038 got Segmentation Fault !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 3 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 7 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 9 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 11 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 2 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 14 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 12 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 16 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 10 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 5 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 8 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 1 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 6 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 13 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 15 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > Thu Jan 9 16:29:40 2014 - uWSGI worker 4 screams: UAAAAAAH my master > disconnected: i will kill myself !!! > > >
it is a bug in the busyness plugin, add enable-metrics = true to avoid it. The fix will be in 2.0.1 -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
