> Is it just me or is --cheap always on with 1.3?
> Regardless of what options I use my workers are fully loaded only
> after first request. It doesn't matter if I use "cheap = 0/false" in
> my vassal ini file.
>
> My vassal config:
>
> [uwsgi]
> autoload = true
> plugins-dir = /usr/lib/uwsgi/plugins
> socket = 172.16.200.55:3001
> stats = :4001
> uid = www-data
> gid = www-data
> master = true
> vacuum = true
> no-orphans = true
> reload-mercy = 300
> idle = 600
> post-buffering = 4096
> memory-report = true
> auto-procname = true
> processes = 3
> cheap = false
> max-requests = 1000
> reload-on-rss = 128
> harakiri = 60
> harakiri-verbose = true
> static-offload-to-thread = 64
> namespace = /apps/app1
> chdir = /home/app
> ksm = 20
> env = DJANGO_SETTINGS_MODULE=app.settings
> plugins = python
> module = django.core.handlers.wsgi:WSGIHandler()
> pythonpath = /home
> static-map = /static=/home/app/static
> static-index = index.html
> unsubscribe-on-graceful-reload = true
> subscribe-freq = 3
> subscribe-to = 172.16.200.53:2626:app.com
>
>

I suppose you mean --lazy

By the way, Django is lazy by design, there is some trick to 'preload' it,
but its default behaviour is loading things at the first request.

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

Reply via email to