[Mono-dev] Mono Service crashs

Chakotey STME chakoteystme at gmail.com
Wed Dec 15 11:05:00 EST 2010


2010/12/14 Robert Jordan <robertj at gmx.net>:
> On 14.12.2010 16:16, Chakotey STME wrote:
>> Hello Community,
>>
>> I have a problem with a mono-service.
>> I have a mono-service in which I host a WCF-Service.
>> I start the software with mono-service2 and it works fine.
>> After a while (I can't say when exactly - sometimes after 1 hour,
>> sometimes after 4 hours) the service crashs.
>> There is no more mono-service-process on the linux-system.
>> The lock-file in the /tmp-Directory still exists.
>> So it have to be a crash as the reason the service isn't there
>> anymore, haven't it?
>>
>> So what can I do to identify the problem?
>> Is it a unhandled exception? How can I find it out? Because in the
>> ServiceHost of the service I catch all Exception (or I believe it).
>> Is there something like a log-file to identify this problem?
>> The service worked in the background, so I had no messages at the console.
>
> Use the "--debug" switch to redirect stdout+err to
> a log file of your choice and put the whole thing
> into background with the trailing "&"
>
> nohup mono-service2 --debug ....  > /tmp/mylogfile 2>&1 &
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>

Hi,

thanks for your answer.
I will try this.
I think it will help.

Thanks
chakoteystme


More information about the Mono-devel-list mailing list