> On 19 Sep 2019, at 5:52 pm, Sudheer Tati <[email protected]> > wrote: > > Hello , > In docs i seen that the when i hit the 1st request that the loading of all > modules has been taken place . Then in my case why every time loading all > modules in my all rest api calls
Have a read of: https://modwsgi.readthedocs.io/en/develop/user-guides/processes-and-threading.html <https://modwsgi.readthedocs.io/en/develop/user-guides/processes-and-threading.html> There are different configurations mod_wsgi can be run as. In some (especially embedded mode), subsequent requests can be handled by different processes, and so until all processes have been primed with code, it will appear that it is being loaded very time. You should ideally be using the recommended daemon mode configuration. This way it is set number of processes that persist, and so once loaded into the processes you are good to go. What mode of mod_wsgi are you using? Can you show the mod_wsgi configuration? Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/8FBE29E5-0195-4C12-BC0C-4A47B756EA6F%40gmail.com.
