Thanks Roberto,

We are running uwsgi version 2.0.7 so I hope that's ok?

Our config is as follows:

[uwsgi]
logger=syslog:suitopia
chdir=/var/canvas/site/src
home=/home/ubuntu/.virtualenvs/canvas
module=suitopia.wsgi:application
master=True
pidfile=/tmp/canvas.pid
vacuum=True
max-requests=5000
daemonize=/var/canvas/site/logs/uwsgi/uwsgi.log
env DJANGO_SETTINGS_MODEL=suitopia.settings
socket=127.0.0.1:3001
processes=5
uid = ubuntu
gid = ubuntu
ini = /home/ubuntu/.aws.ini
ini = :aws_credentials

The aws.ini file only contains our aws credentials.

Regards,

Andréas

2015-02-03 17:44 GMT+01:00 Roberto De Ioris <robe...@unbit.it>:

>
> > Hi all,
> >
> > We are running our website with nginx and uwsgi at the moment. It is a
> > django 1.7.4 application and it has been running perfectly for a couple
> of
> > months. Now however we are getting some errors that I can't really
> > explain.
> >
> > The errors always appear after uwsgi has done a respawn of a process.
> Then
> > we can get 4-5 errors with very strange behavior. Things like "dict has
> no
> > method 'startswith'". They aren't errors in the code because the code
> will
> > run perfectly before and after these errors. We also used to get these
> > when
> > we deployed a new version of the website and then restarted uwsgi (by
> > sending a kill signal to the main process).
> >
> > Has anyone had the same problems and if so, does anyone know how to
> remedy
> > it? We are getting a lot of false error mails and it's starting to get
> > annoying. Also I don't know how our customers are affected when this
> > happens, but it's probably not good.
> >
> > Regards,
> >
> > Andréas
> >
>
>
> Hi, ensure you are running a stable uWSGI version 1.4.x or 2.x, older
> versions have serious bugs. Eventually paste your uWSGI configuration
>
>
> --
> Roberto De Ioris
> http://unbit.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/acdaac41963c810109952aaf8e18e3c3.squirrel%40manage.unbit.it
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALXYUbmNabgSQ4xN4%3DRwKntu837Yo%2B1Ru%2BDP3io%3DCAqRhVZJ0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to