[Mono-dev] FW: gmcs : compiling website periodically 3-4 minutes

Oskar Berggren oskar.berggren at gmail.com
Fri Mar 25 15:04:04 EDT 2011


Try inotifywatch.

2011/3/25 Robert Jordan <robertj at gmx.net>:
> On 25.03.2011 19:25, Hugo Ribeiro wrote:
>> No luck so far in discovering the problem.
>>
>> http://img855.imageshack.us/i/36409593.jpg/ (300 clicks per second,
>> exporadic timeout errors)
>>
>> I have set the environment key to disable, recompiled mono and xsp and still
>> he is recompiling every 3-4m through gmcs.
>
> But this is a run-time setting. It has no effect at compile time.
> A quick test: modify the fastcgi-mono-server2 script to look
> like this:
>
> ...
> MONO_MANAGED_WATCHER=disabled
> export MONO_MANAGED_WATCHER
> exec /usr/bin/mono ...
>
> Robert
>
>>
>> Any other insights?
>>
>> Ribeiro
>>
>> -----Original Message-----
>> From: mono-devel-list-bounces at lists.ximian.com
>> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert Jordan
>> Sent: quarta-feira, 23 de Março de 2011 17:43
>> To: mono-devel-list at lists.ximian.com
>> Subject: Re: [Mono-dev] gmcs : compiling website periodically 3-4 minutes
>>
>> On 23.03.2011 18:19, Hugo Ribeiro wrote:
>>> all was good, the problem arises passing 3-4minutes he does this again
>>> without any changes. This is being done periodically in intervals of 3-4
>>> minutes. Any reason for him keep getting compiled on the temporary?
>>
>> Try to disable Mono's file system watcher by setting the environment
>> variable MONO_MANAGED_WATCHER=disabled in the context of the
>> fastcgi-mono-server2 process.
>>
>> If the periodic compilation was stopped by this setting, then your
>> system is probably touching some vital files periodically.
>>
>> Robert
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


More information about the Mono-devel-list mailing list