[Mono-list] mod_mono and swapping out web application

Willem.Smit@sanlam.co.za Willem.Smit@sanlam.co.za
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 =
it
> 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=
 on
> 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=
ning
as children of apache.
This allows other mono processes to continue working and also allows ht=
tpd
to carry on serving
other non-asp.net websites. (Unfortunately this will still kill all ASP=
.NET
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.

Willem Smit
SL IT

***************
Any views expressed in this message are those of the individual sender,=
 and
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=
 di=E9
van die individuele afsender, en Sanlam aanvaar geen aanspreeklikheid
daarvoor nie, behalwe waar die afsender uitdruklik vermeld dat dit di=E9=
 van
Sanlam is.
=