I would be interested to hear what changes you have made, as I am not
sure how you would halt the whole of Apache.
This is because the WSGIImportScript is only done in the forked Apache
child server process or daemon process and not the parent process.
Thus there isn't really a way to cause the parent process to fail as
that code execution doesn't happen in the parent process.
Further, that code execution happens more than once. That is, in all
child server and daemon processes separately. What do you do if one
one out of many processes fails for some reason?
Overall startup failure like that isn't an easy problem to solve. I
have been trying with my New Relic performance monitoring work to come
up with a way of tracking those preloading imports, both for
timing/performance and errors, but that in itself is tricky. This is
because they happen so early that the New Relic agent wouldn't even
have registered and got its configuration at that point. So, you don't
have the configuration to know what you need to collect.
Either way, I am trying to make mod_wsgi more friendly to monitoring
and also improving configuration ability so can be tuned better based
on monitoring being done, so as I said, interested to know what the
changes are that you made.
Graham
> --
> 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/-/5pOc-UGtSnAJ.
> 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.