KeyboardInterrupt on production

57 views
Skip to first unread message

Rok Jaklič

unread,
Sep 5, 2014, 4:03:35 AM9/5/14
to django...@googlegroups.com
Hi,

on our production environment we get random KeyboardInterrupt exceptions being thrown (Bad gateway in browser), but we do not know where to even start to look.

We went through our raised exceptions but everything seems to be ok there...

Usually we get this if we click on links fast on page.

Any ideas?

Kind reagards,

Rok

Collin Anderson

unread,
Sep 5, 2014, 1:28:52 PM9/5/14
to django...@googlegroups.com
Usually KeyboardInterrupt comes from ctrl+c being pressed in the terminal, if that helps.

François Schiettecatte

unread,
Sep 5, 2014, 1:33:07 PM9/5/14
to django...@googlegroups.com
What is probably happening lower down in the stack that the browser is closing a connection to the server before all the content is sent back causing a broken pipe error which is being reported as a KeyboardInterrupt exception by django.

Cheers

François
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@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/83958041-0e17-4f3c-b4ba-1a079982e76a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Rok Jaklič

unread,
Sep 6, 2014, 7:18:58 AM9/6/14
to django...@googlegroups.com
Thanks for explanation. 
Reply all
Reply to author
Forward
0 new messages