WebFaction
Community site: login faq

I'm deploying a django app that I developed on my local machine and have been tailing the ~/logs/user as I get it going. The application is running (after adding the project path to the httpd.conf file) but I'm getting this error that looks quite bad:

[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [error] Exception KeyError: KeyError(-1208101184,) in <module 'threading'="" from="" '="" usr="" local="" lib="" python2.6="" threading.pyc'=""> ignored
[Sun Nov 14 12:35:23 2010] [notice] caught SIGTERM, shutting down
[Sun Nov 14 12:35:28 2010] [warn] mod_wsgi: Compiled for Python/2.6.
[Sun Nov 14 12:35:28 2010] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Sun Nov 14 12:35:28 2010] [notice] Apache/2.2.15 (Unix) mod_wsgi/3.2 Python/2.6.5 configured -- resuming normal operations

asked 14 Nov '10, 12:44

scottjwill
16126
accept rate: 0%

edited 14 Nov '10, 12:46


Based on this post in the mod_wsgi mailing list, I think the KeyErrors re threading are a bug in mod_wsgi 3.2. You might be able to reduce them somewhat by adding "WSGIRestrictEmbedded On" to your Apache config.

We'll look into adding mod_wsgi 3.3 to our control panel.

Re the SIGTERMs, I'm not sure why your Apache is restarting. I know we're not doing it on our end.

permanent link

answered 14 Nov '10, 13:23

seanf
12.2k41836
accept rate: 37%

edited 14 Nov '10, 13:26

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×225
×2

question asked: 14 Nov '10, 12:44

question was seen: 5,819 times

last updated: 14 Nov '10, 13:26

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM