Skip to content

Instantly share code, notes, and snippets.

@co-dh
Created September 23, 2013 15:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save co-dh/6672283 to your computer and use it in GitHub Desktop.
[uwsgi]
wsgi-file = srv.py
master
processes = 8
pidfile = /tmp/uwsgi.pid
cache2 = name=users,items=5000,blocksize=4096,keysize=64,bitmap=1
cache2 = name=general,items=65536,blocksize=16384,keysize=1024,bitmap=1
cache2 = name=volume,items=65536,blocksize=16384,keysize=1024,bitmap=1
cache2 = name=agents,items=60000,blocksize=80960,keysize=128,bitmap=1
cache2 = name=test,items=2,blocksize=10,keysize=5
cache2 = name=applications,items=40000,blocksize=51200,keysize=36
cache2 = name=merchants,items=40000,blocksize=51200,keysize=36
add-header = Connection: Keep-Alive
reload-mercy = 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment