http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
Graham
> --
> You received this message because you are subscribed to the Google Groups "modwsgi" group.
> 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.
>
Yes, can only be set once. That value though can be automatically
derived from the daemon process group name by using %{GROUP}.
Am not sure of the value of dynamically changing it, plus that could
be problematic in a multithreaded application.
Graham
> setproctitle doesn't even have the argv0 limitation mentioned in the
> directive docs: the process can happily clobber both the whole argv
> and environ. The latter is relocated and I've tested it keeps on
> working fine (e.g. modifying env, then forking etc). Clobbering
> environ can be avoided by setting an env variable (in order to have /
> proc/PID/environ untouched, requested by a munin user).
>
> -- Daniele
>