[Mono-dev] FW: gmcs : compiling website periodically 3-4 minutes
hribeiro at janeladigital.com
Mon Mar 28 06:15:25 EDT 2011
Sorry Robert for not specifying all the steps i did. I didnt know if was a
compile or a runtime and did both at the time.
Resuming what I did this time:
- >export MONO_MANAGED_WATCHER
- "launch fastcgi-mono-server2"
- >/usr/bin/mono /usr/lib/mono/2.0/fastcgi-mono-server2.exe /socket=tcp:9000
- >inotifywatch -v -e access -e modify -t 900 -r
Setting up watch(es) on /home/jdservice/websites/www.mysite.com
OK, /home/jdservice/websites/www.mysite.com is now being watched.
Setting up watch(es) on /tmp/root-temp-aspnet-0/4614088e/
OK, /tmp/root-temp-aspnet-0/4614088e/ is now being watched.
Total of 251 watches.
Finished establishing watches, now collecting statistics.
Will listen for events for 900 seconds.
total access modify filename
23924 1821 22103 /tmp/root-temp-aspnet-0/4614088e/
756 756 0 /home/jdservice/websites/www.mysite.com/
271 271 0 /home/jdservice/websites/www.
264 264 0 /home/jdservice/websites/www. mysite.com/bin/
219 219 0 /home/jdservice/websites/www.
82 82 0 /home/jdservice/websites/www. mysite.com/WebControls/
20 20 0 /home/jdservice/websites/www.
Launch the stress tool 300 requests per second.
Have set ulimit -n to 8192 also if any could be messing with it.
Any more ideias to continue to persue this?
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Oskar
Sent: sexta-feira, 25 de Março de 2011 19:04
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] FW: gmcs : compiling website periodically 3-4
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
>> 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:
> export MONO_MANAGED_WATCHER
> exec /usr/bin/mono ...
>> Any other insights?
>> -----Original Message-----
>> From: mono-devel-list-bounces at lists.ximian.com
>> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert
>> 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.
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list