Hi,

do placeholders really work in 1.9.18.2 after building binary from source?
(In stable 1.9.20 also not work for me).

It's not working with placeholder %(app_name) - instead of /tmp/app.sock
will be created /tmp/%(app_name).sock

uwsgi --ini conf/server.ini
[uWSGI] getting INI configuration from conf/server.ini

;uWSGI instance configuration
[uwsgi]
ini = conf/server.ini
master = true
strict = true
http-socket = :2660
workers = 3
wsgi = server
show-config = 1
set-placeholder = app_name = app
#socket = /tmp/app.sock
socket=/tmp/%(app_name).sock
chdir = /home/tom/app/server
;end of configuration

*** Starting uWSGI 1.9.18.2 (64bit) on [Thu Dec  5 11:40:05 2013] ***
compiled with version: 4.7.2 on 28 October 2013 12:13:22
os: Linux-3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10)
nodename: pc
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /home/tom
detected binary path: /usr/bin/uwsgi
your processes number limit is 62910
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :2660 fd 3
*uwsgi socket 1 bound to UNIX address /tmp/%(app_name).sock fd 4*
Python version: 2.7.3 (default, Jan  2 2013, 14:09:21)  [GCC 4.7.2]
*** Python threads support is disabled. You can enable it with
--enable-threads ***
Python main interpreter initialized at 0x17084c0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 291200 bytes (284 KB) for 3 cores
*** Operational MODE: preforking ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x17084c0 pid:
8762 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 8762)
spawned uWSGI worker 1 (pid: 8763, cores: 1)
spawned uWSGI worker 2 (pid: 8764, cores: 1)
spawned uWSGI worker 3 (pid: 8765, cores: 1)


Any idea pls how to make it work?

Thanks.

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

Reply via email to