There may not be only a single object because of how you have configured Apache/mod_wsgi.
Read: * https://modwsgi.readthedocs.io/en/master/user-guides/processes-and-threading.html Then post your configuration so can see whether you are using embedded mode or daemon mode of mod_wsgi, and if the latter how you have the daemon process group configured, plus whether you are correctly delegating requests to even be run in daemon node processes. Graham > On 5 Dec 2023, at 4:33 pm, 王省三 <gusto0...@gmail.com> wrote: > > Dear mod_wsgi community, > > I hope this message finds you well. I am encountering an issue in my project > setup, which involves ApacheServer, mod_wsgi, and Django. Specifically, when > accessing the project from both the company's internal network and external > network, it appears that different global objects are being obtained, > seemingly from different memory locations. This discrepancy in global objects > results in an increasing time difference between internal and external > networks. > > In theory, there should only be one global object, and when using runserver > or employing Nginx or Waitress as reverse proxies, this issue does not occur. > Despite disabling cache-related settings in ApacheServer, the problem > persists. > > I would like to inquire whether mod_wsgi has any caching mechanisms or if > there might be an underlying issue causing this behavior. Your insights and > guidance on how to address or troubleshoot this matter would be greatly > appreciated. > > Thank you for your time and assistance. > > Best regards, Arthur > > -- > 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 modwsgi+unsubscr...@googlegroups.com > <mailto:modwsgi+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/bc088c4d-9859-40aa-bd7a-41b1b95b445bn%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/bc088c4d-9859-40aa-bd7a-41b1b95b445bn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 modwsgi+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/2C296D9D-FE14-4D10-AAB5-C389B46AA7DF%40gmail.com.