[uwsgi]

virtualenv = <%= node['geoevents']['virtualenv']['location'] %>

logto = <%= File.join(node['geoevents']['logging']['location'] , 'geoevents.log') %>
log-maxsize = 20971520

#uid = www-data
#gid = www-data

# master
master                  = true
#master-as-root          = true

# maximum number of processes
processes               = 10

# the socket (use the full path to be safe)
socket          = /tmp/uwsgi.sock

# with appropriate permissions - *may* be needed
#chmod-socket    = 644

chown-socket    = www-data

# the base directory
chdir           = <%= node['geoevents']['location'] %>

# Django's wsgi file
module          = geoevents.wsgi

# the virtualenv
home            = <%= node['geoevents']['virtualenv']['location'] %>

# clear environment on exit
vacuum          = true
[uwsgi]

virtualenv = <%= node['geoevents']['virtualenv']['location'] %>

logto = <%= File.join(node['geoevents']['logging']['location'] , 'geoevents.log') %>
log-maxsize = 20971520

buffer-size=32768

#uid = www-data
#gid = www-data

# master
master                  = true
#master-as-root          = true

# maximum number of processes
processes               = 10

# the socket (use the full path to be safe)
socket          = /tmp/uwsgi.sock

# with appropriate permissions - *may* be needed
#chmod-socket    = 644

chown-socket    = www-data

# the base directory
chdir           = <%= node['geoevents']['location'] %>

# Django's wsgi file
module          = geoevents.wsgi

# the virtualenv
home            = <%= node['geoevents']['virtualenv']['location'] %>

# clear environment on exit
vacuum          = true
Update to add more memory to nginx process
Update to add more memory to nginx process
