Hazards of the Bleeding Edge

I was trying to solve a sorting bug in the RSS feed aggregator that only happens under mono. At first I thought it was in the DataView.Sort method but it turned out to be a difference in DateTime.Parse behaviour under mono than under windows.

Anyway I needed to rule out the mono version so I pulled the latest greatest mono code from svn as I've done about a dozen times in the past to see if it was fixed in svn.

Much to my dismay the latest mono code broke one of my web sites. 

Right now http://www.joeaudette.com is offline though it could just have easily been this site. Whenever I restart apache, whichever site gets a request first works and the others don't. So mojoportal got the first request and joeaudette.com is returning an error. 

I remember this was a bug in a previous version of mono.  I posted to the mono-devel list but so far no reply. Of course it is a beautiful weekend so maybe they're all out playing, I couldn't blame them.

I really don't want to have to try and revert to an older version but I also hate to have my site offline

UPDATE 4/17/2005 2:30PM CST
Big thanks to Atsushi Eno! Whatever was causing the problem is now fixed as of mono revision 41350
Now all my sites are working happily again. Thats what I call fast response from the community, within 24 hours of reporting the problem it is fixed.

Also thanks to Joseph Hill for telling me about a work around to the problem by running each site in its own instance of mono.  Good to know I could do that if it became neccessary but glad I didn't have to.

I guess the moral of the story is it would be good to have a staging server where I could test the latest svn with my sites prior to updating the production server. I do have an extra machine so I may do that soon, though its a wimpy p2 450 so it will be a slow build process working with that machine.

Comments

re: Hazards of the Bleeding Edge

Saturday, April 16, 2005 6:56:12 PM
Hey Joe,

I used to always have this issue with the sites at gotmono, starting around Mono Beta 2. Since then, I've been able to work around it by running each mono application in its own instance. The bug I was working around at the time was #50059, which I see was recently fixed...not sure if that http://bugzilla.ximian.com/show_bug.cgi?id=50049 If you want to try setting up separate instances, you can do so by specifying separate monosock and wapi directories for each virtual host on your server. There's more info on that in Steve Deobald's mod_mono howto:http://www.gotmono.net/documentation/mod-mono-howto.html#multisite
Joe

re: Hazards of the Bleeding Edge

Sunday, April 17, 2005 3:13:26 AM
Thanks Joseph, I'll give that a try and report back

re: Hazards of the Bleeding Edge

Monday, April 18, 2005 12:12:39 PM
Comments are closed on this post.