When Breadcrumbs are reset?

Hi,

Thanks for a great service.

In a Django app sometime we get “IOError: write error” right after “Sending message of length 6259 to https://app.getsentry.com/api/85625/store/

There are no stack traces or component name associate with this error so we are not sure were is is coming from?

Is the error related to the previous line in the breadcrumb? is a breadcrumbs array kept for each user sessions or one for the server?

Any insight would be appreciated.

Thanks
David

raven.contrib.django.client.DjangoClient
Sending message of length 6259 to https://app.getsentry.com/api/85625/store/
09:49:14
exception
IOError: write error

Are you running uwsgi by any chance?

Yes. Good guess.

Nginx in front and uwsgi in the back.

> # Django sentry settings
> RAVEN_CONFIG = {
>     'dsn': SENTARY_DNS,
>     # If you are using git, you can also automatically configure the
>     # release based on the git info.
>     'release': website.__VERSION__,
> }


> LOGGING = {
>     'version': 1,
>     'disable_existing_loggers': False,

>     'handlers': {
>         'console': {
>             'class': 'logging.StreamHandler',
>         },
>         'sentry': {
>             'level': 'INFO',
>             'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
>             'dsn': SENTARY_DNS,
>         },
>     },

>     'loggers': {
>         'website': {
>             'handlers': ['console', 'sentry'],
>             'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
>             'propagate': True,
>         }
>     }
> }


> #uwsgi settings

> [uwsgi]

> master = true
> threads = 10
> vacuum = true

> base = /var/www/app
> module = myproject.wsgi

> socket = /tmp/uwsgi.sock
> socket-timeout = 60
> harakiri = 60

> chown-socket = www-data:www-data
> chmod-socket = 664
> cheaper = 2
> processes = 3
> workers = 10

> #Log directory
> ;logto = /data/log/uwsgi/app.log

> chdir = /var/www/app/

> uid = www-data
> gid = www-data

> # Required by newrelic agent code  https://docs.newrelic.com/docs/agents/python-agent/hosting-mechanisms/python-agent-uwsgi
> enable-threads = true
> single-interpreter = true