Skip to content

Instantly share code, notes, and snippets.

@co-dh co-dh/uwsgi crash
Created Sep 25, 2013

What would you like to do?
wsgi-file =
processes = 8
#threads = 2 Using thread will breaks the server for now.
pidfile = /tmp/
cache2 = name=test,items=2,blocksize=10,keysize=5
cache2 = name=users,items=40000,blocksize=16384,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=applications,items=20000,blocksize=51200,keysize=40,bitmap=1
cache2 = name=merchants,items=20000,blocksize=51200,keysize=40,bitmap=1
cache2 = name=tasks,items=20000,blocksize=51200,keysize=40,bitmap=1
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
You can’t perform that action at this time.