[Mono-devel-list] mod-mono-server has constant cpu activity
Eduardo Arizcuren
thetenax at teleline.es
Sat May 28 15:09:07 EDT 2005
> On Tue, 2005-05-24 at 01:40 +0200, Eduardo Arizcuren wrote:
>> First of all I want to salute everybody: I have just joined this list.
>>
>> I have a RH9 web server with kernel-2.4 + Apache-2.0.47 + mono-1.1.7 +
>> xsp-1.0.9 + mod_mono-1.0.9.
>>
>> I have a web application running on an apache VirtualHost.
>>
>> Everything goes apparently fine; pages are generated perfectly and
>> data from a mysql server is shown without problem.
>>
>> But there is somethig strange:
>>
>> while running my application, I have realized that the mod-mono-server
>> process has a constant activity, with a %cpu of 4.0 to 10.0.
>> Therefore, the process cpu time grows more and more.
> Do you have fam installed in your system? If not, the problem you're
> experiencing might be the default FileSystemWatcher that polls the
> filesystem every 750ms.
> -Gonzalo
Hi Gonzalo,
you are right; I had 'portmap' service down, so 'fam' did not work.
With 'fam' working, the 'mod-mono-server' process have 0.0 of %CPU
when there is no request. cool! ;)
Nevertheless there still something wrong: when the process has
activity (there is a request) if I do an 'strace' to the process I
get the following lines:
--- SIGPWR (Power failure) @ 0 (0) ---
write(6, "#\0\0\0\4\0\0\0\200{\33\10\200\37\0\0\0\0\0\0\0\0\0\0\0"..., 148) = 148
rt_sigsuspend(~[INT QUIT ABRT BUS SEGV TERM XCPU] <unfinished ...>
--- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now ~[INT QUIT ABRT BUS KILL SEGV TERM STOP])
sigreturn() = ? (mask now [RTMIN])
rt_sigsuspend([] <unfinished ...>
Do you have any idea about the problem on it?
salutes,
Eduardo
More information about the Mono-devel-list
mailing list