[Mono-list] Heavy loaded web-site on Mono

makska makska at yandex.ru
Sat May 19 12:09:19 EDT 2007


Hello!

Now I'm trying to launch big web-site consists of about 100.000 dynamic web-pages (about 100kb each without images) which has about 50.000 hits per day.

I've got some difficulties launching this web-site on FreeBSD with Mono 1.2.3:

1. Uncontrolled grow of used memory. After about hour or two mono process grows up to 2-3Gb and goes down (visitors get "Service temporary unavailable" error). Web-application didn't contain any big object in memory, just 100-200 entries in Cache object with sliding expiration. Web-pages are simple too: 5 aspx pages with several user controls.
Is the reason of this situation in non-compactiong GC in Mono or in possible programmers errors?

2. Behavior of Cache object. Value of Cache.Count variable is in about 2 times higher than number of Keys available via Cache.GetEnumerator(). Even when I didn't add any object to Cache, Cache.Count indicates 20-30 entries which are unavailable via enumerator.

Could anyone explain this situations or give any advises?


Thanks a lot!!


Max Karavaev


More information about the Mono-list mailing list