Il giorno 15/mar/2012, alle ore 14:27, Evgeny Turnaev ha scritto:

> Sorry for the noise. My mistake. I am running uwsgi as "sudo uwsgi
> ..." and sudo seems to fork and actually was sending HUP to sudo
> process (parent of uwsgi master process). And it seems sending hup to
> sudo similar to hup a grocess group.
> Anyway sorry for noise.
> 
> Actually few minutes ago i found another issue:
> i accidentally specifed --cheaper-algo=spare without specifying
> --cheaper and uwsgi started to killing worker one by one.
> 
> sudo uwsgi -s 0.0.0.0:8080 -M -p 5 -w uwsgi_test --cheaper-algo=spare
> *** Starting uWSGI 1.1-rc3 (64bit) on [Thu Mar 15 17:24:51 2012] ***
> compiled with version: 4.5.2 on 15 March 2012 16:25:45
> current working directory: /home/evgeny/box/tests/hup_tests
> detected binary path: /usr/local/bin/uwsgi
> 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
> lock engine: pthread mutexes
> uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3
> Python version: 2.7.1+ (r271:86832, Apr 11 2011, 18:37:12)  [GCC 4.5.2]
> Python main interpreter initialized at 0x1e6ab80
> your server socket listen backlog is limited to 100 connections
> *** Operational MODE: preforking ***
> WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1e6ab80
> pid: 11480 (default app)
> *** uWSGI is running in multiple interpreter mode ***
> spawned uWSGI master process (pid: 11480)
> spawned uWSGI worker 1 (pid: 11481, cores: 1)
> spawned uWSGI worker 2 (pid: 11482, cores: 1)
> spawned uWSGI worker 3 (pid: 11483, cores: 1)
> spawned uWSGI worker 4 (pid: 11484, cores: 1)
> spawned uWSGI worker 5 (pid: 11485, cores: 1)
> uWSGI worker 1 cheaped.
> uWSGI worker 2 cheaped.
> uWSGI worker 3 cheaped.
> uWSGI worker 4 cheaped.



I have two choices:

1) fixing it
2) announcing the CHEAPEST mode :P

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

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

Reply via email to