[Mono-list] mod_mono and swapping out web application
Wed, 14 Jul 2004 08:28:02 +0200
Jim Erwin wrote:
> works is to run "killall mono" from a root prompt. At this point, the=
> server processes are restarted and on the next page hit, the JIT
> compilation takes place. All is well. The down side of this as I see =
> is that this will kill ALL mono applications on the box. So if I'm
> running multiple web applications, or other non-web mono applications=
> the server, all of them get killed at this point.
ps -G apache | grep mono <- use that in a script
I wrote a little shell script at home that kills all mono instances run=
as children of apache.
This allows other mono processes to continue working and also allows ht=
to carry on serving
other non-asp.net websites. (Unfortunately this will still kill all ASP=
apps, but it's better than
doing killall mono and monodevelop vanishes :-))
If you want it just drop me a mail and I'll send it to you tonight.
Any views expressed in this message are those of the individual sender,=
Sanlam accepts no liability for such views, except where the sender
specifically states them to be those of Sanlam.
Enige sienswyses of stellings wat in hierdie boodskap uitgedruk word is=
van die individuele afsender, en Sanlam aanvaar geen aanspreeklikheid
daarvoor nie, behalwe waar die afsender uitdruklik vermeld dat dit di=E9=