2012/10/16 Samuel <[email protected]>:
> max-requests = 3000

3000 seems low, if You have high request rate than workers might be
reloading too often (and You don't want constant reload during busy
hours), set it to 100000 for example. Best value would be the one that
will reload workers every 30 minutes (or something like that) at most.
Keep in mind that max-requests is there to protect You from memory
leaks, --reload-on-rss might be better alternative here.

> #set socket listen queue to <n> (default 100, maximum is system dependent)
> listen = 4000
> socket = :8081
> socket = :8082
> socket = :8084
> socket = :8083
> socket = :8085
>
> map-socket = 0:1,2,3,4,5
> map-socket = 1:6,7,8,9,10
> map-socket = 2:11,12,13,14,15
> map-socket = 3:16,17,18,19,20
> map-socket = 4:21,22,23,24,25

Does this socket magic offers real performance gains?
-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to