What does this offer over and above the existing display-name option
to WSGIDaemonProcess directive which does the same thing?

  
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess

Graham

On 5 February 2012 10:44, Daniele Varrazzo <[email protected]> wrote:
> Hello,
>
> I've released setproctitle 1.1.4 beta 1. The library allows to change
> the unix title of a process from Python, for easy identification in
> the ps output and any other tool. The news is that it now works with
> embedded Python too (formerly it required Py_Main to set a couple of
> global variables).
>
> I've tested it in mod_wsgi, and it seems working fine:
>
>    $ ps afx
>    [...]
>     1274 ?        Ss     0:00 /usr/sbin/apache2 -k start
>     1277 ?        S      0:00  \_ /usr/sbin/apache2 -k start
>     1279 ?        Sl     0:00  \_ hello, wsgi
>     1280 ?        Sl     0:00  \_ /usr/sbin/apache2 -k start
>     1281 ?        Sl     0:00  \_ /usr/sbin/apache2 -k start
>
> It would be great if you could test it with some less basic setup than
> mine. If the library doesn't work (e.g. calling the setproctitle()
> function doesn't produce the expected result), it may be interesting
> to compile the module with the env variable SPT_DEBUG set: it will
> produce some hopefully helpful debugging log on stderr (mostly at
> import time, not when the function is called).
>
> The source package can be downloaded from <http://code.google.com/p/py-
> setproctitle/>, where a bug tracker is available too.
>
> Any feedback would be appreciated, thanks.
>
> -- Daniele
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to