durusmail: quixote-users: Unicode? scgi restart?
Unicode? scgi restart?
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
Re: Unicode?
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
Unicode? scgi restart?
Jonathan Corbet
2003-11-14
> On a related note, restarting the scgi server is a little bit of a pain.  Is
> this the best I can do
>
>     ps auxww | egrep 'python main' | egrep -v egrep \
>     | awk '{print $2}' | sort -n | xargs kill -1

I just do:

        kill -HUP `cat /var/tmp/quixote-scgi.pid`

The "sort -n" approach can fail as soon as your system has been up long
enough for PIDs to wrap.

jon

reply