On Feb 24, 9:37 pm, cropr <[email protected]> wrote:
> I am trying to setup mod_wsgi + Pylons on my deployment server (a
> CentOS 5.2 machine), but I get this error message in the apache log
> files
>
> [Tue Feb 24 11:24:32 2009] [notice] child pid 12226 exit signal
> Segmentation fault (11)
>
> a standard wsgi test programs works fine.
>
> The myapp.wsgi script is:
>
> import os, sys
> eggcache = '/var/www/vhosts/eggcache'
> sys.path.append('/home/ruben/myapp')
> os.environ['PYTHON_EGG_CACHE'] = eggcache
> from paste.deploy import loadapp
> application = loadapp('config:/home/ruben/myapp/development.ini')
>
> The apache process has write access in the eggcache directory
> If set debug = false in the development .ini
>
> The setup works perfectly on my development machine
>
> Any help how to debug
Have you read the documentation, in particular the sections which talk
about circumstances where crashes can occur.
http://code.google.com/p/modwsgi/wiki/InstallationIssues
http://code.google.com/p/modwsgi/wiki/ApplicationIssues
Because you do not say which version of Python you are using, harder
to make a guess at what the issue may be.
Normally the problem is going to be a mismatch in shared library
versions used by Apache, PHP or some other Apache module and what a
Python module uses. In some cases the problem can be because of third
party Python modules not designed to run in sub interpreters. Not
knowing what your application does and what major Python modules/
packages it uses, again makes it harder to guess.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---