> After reading lots and lots of Uwsgi docs I Still don't think I understand > exactly what memory space is shared between uwsgi workers running the web > server. I have some memory based shared config (and configurable from the > outside) everything running Django should have access to. > Are uswgi worker processes a **real** process? if so what memory space is > shared between them?
The only two ways (well at least on modern unices) to share memory mappings between processes is explicitely via mmap() and the MAP_SHARED flag or using the old sysv shared memory. uWSGI uses the first approach (mmap) for caches, queues and sharedareas (as well as some additional memory structure required by the master but invisible to workers). So there is no memory shared between workers unless you use some of this features. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
