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?
Skip Montanaro
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

    Jon> I just do:

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

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

I realize I might have problems, but I also had problems just HUPing the
main pid, though that seems to be working at the moment.  I'll fiddle around
some more.

Thx,

Skip

reply