Are you using embedded mode or daemon mode?
Are you trying to restart or shutdown Apache when you get the error?
Graham
On 5 September 2012 22:17, Qitong Hu <
huqi...@videosemantics.com> wrote:
> Hi all,
> I am trying to use wsgi with django.
> Now, when I use django's python manage.py runserver, it works fine.
> But when I use apache directly, there is an error [error] child process
> 11571 still did not exit, sending a SIGKILL and Error opening file for
> reading: Permission denied
> [Wed Sep 05 12:07:36 2012] [error] [client ****] Premature end of script
> headers: django.wsgi
>
> In the python code, I think it is caused by gensim and nltk module loading,
> since if I comment that, the apache works fine.
> Does any one have experienced similar situation and could help me here to
> solve this problem?
> Thanks a lot
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/modwsgi/-/esNfoCEdx4QJ.
> To post to this group, send email to
mod...@googlegroups.com.
> To unsubscribe from this group, send email to
>
modwsgi+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/modwsgi?hl=en.