On Wed, Oct 17, 2012 at 12:36 AM, Łukasz Mierzwa <[email protected]>wrote:
> 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. > Thanks I'll change this to check if any performance improvement. > > > #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? > -- > I don't know actually. if not this mapping, any other suggestions? > Łukasz Mierzwa > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- *吴焱红(Samuel)* 博客: blog.shanbay.com 微博: 扇贝网 <http://www.weibo.com/shanbay> 人人网: 一起背单词公共主页 <http://page.renren.com/699128841?ref=lnkprofile>
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
