Provide all the mod_wsgi related configuration from Apache configuration files.

Provide output of running:

  ldd mod_wsgi.so

on mod_wsgi.so module file where ever it is installed.

Indicate whether Apache is being run as you or out of standard root
init startup. If as you, supply result of doing:

  env | grep PYTHON

Graham

On 9 April 2010 14:46, tmdk <[email protected]> wrote:
> I have a Django app running that *appears* to work fine (from a user's
> perspective).  But the error_log is constantly filled with these
> threading KeyErrors (see below).
>
> My environment:
>  CentOS 5.4 64bit on Intel
>  Stock Apache 2.2.3
>  Python 2.6.5 built from source with --enable_shared
>  mod_wsgi 2.8
>
> I removed Django from the equation and set up the basic hello world
> WSGI app from http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
> .
>
> I tried to eliminate multithreading issues by going to single threaded
> processes in the WSGI daemon:
> WSGIDaemonProcess myapp processes=10 threads=1 display-name=%{GROUP}
>
> But still, all I have to do is start apache and stop apache.  And I
> get ~15 of these errors in the error_log, even without a single
> request being processed.  And when requests are being processed, they
> come more often (but not predictably).
>
> What is this?  I can't find any reference to this error.  My setup is
> so basic, I don't understand what could be going wrong.
>
>
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
> [Fri Apr 09 04:34:54 2010] [error] Exception KeyError:
> KeyError(47125770724704,) in <module 'threading' from '/usr/local/lib/
> python2.6/threading.pyc'> ignored
>
> Any help is greatly appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to