> Hi,
>
> how should I use fastrouter-processes option? Shared socket doesn't seem
> to
> work. Whatever I try i get "bind(): Address already in use"
>
> shared-socket = /var/run/uwsgi.socket
> fastrouter = =0
> fastrouter-processes = 4
>
> [uWSGI] getting INI configuration from /etc/uwsgi/router.ini
> *** Starting uWSGI 1.1-dev-1981 (64bit) on [Mon Feb 13 10:15:07 2012] ***
> compiled with version: 4.4.3 on 13 February 2012 10:09:43
> current working directory: /root
> detected binary path: /usr/bin/uwsgi
> uwsgi shared socket 0 bound to UNIX address /var/run/uwsgi.socket fd 3
> uWSGI running as root, you can use --uid/--gid/--chroot options
> *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
> your memory page size is 4096 bytes
> detected max file descriptor number: 1024
> uWSGI fastrouter bound on =0 fd 4
> uWSGI fastrouter subscription server bound on :2626 fd 5
> Python version: 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)  [GCC 4.4.3]
> Python main interpreter initialized at 0x931b20
> *** Operational MODE: no-workers ***
> spawned uWSGI master process (pid: 21057)
> spawned uWSGI fastrouter 1 (pid: 21058)
> *** FastRouter stats server enabled on :2580 fd: 16 ***
> spawned uWSGI fastrouter 2 (pid: 21059)
> probably another instance of uWSGI is running on the same address.
> bind(): Address already in use [socket.c line 598]
> spawned uWSGI fastrouter 3 (pid: 21060)
> probably another instance of uWSGI is running on the same address.
> bind(): Address already in use [socket.c line 598]
> spawned uWSGI fastrouter 4 (pid: 21061)
> probably another instance of uWSGI is running on the same address.
> bind(): Address already in use [socket.c line 598]
>

shared sockets are still not supported in new http/fastrouter servers.

You can directly use

[uwsgi]
fastrouter = /var/run/uwsgi.socket
fastrouter-processes = 4

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

Reply via email to