Mod_wsgi force reload modules?

The mod_wsgi documentation on code reloading is your best bet for an answer.

Because otherwise that page has some code for automatic restart and it works perfectly. – Van Gale Apr 20 '09 at 4:07 Nope, this is on linux. The automatic reloading only applies to the script being accessed, not the modules that the script then calls.

– Ian Apr 22 '09 at 12:30.

The link: code.google.com/p/modwsgi/wiki/Reloading... should be emphasised. It also should be emphaised that on UNIX systems daemon mode of mod_wsgi must be used and you must implement the code monitor described in the documentation. The whole process reloading option will not work for embedded mode of mod_wsgi on UNIX systems.

Even though on Windows systems the only option is embedded mode, it is possible through a bit of trickery to do the same thing by triggering an internal restart of Apache from the code monitoring script. This is also described in the documentation.

I recently hacked something together which checks the modification time of the file containing the modules I am looking at, and reloads when that time changes.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions