Re: [Mono-list] Mono C# Console Application dies unexpectedly every ~20 minuts

2016-06-15 Thread akurilo
In addition the app is running as a service (/etc/init.d/), so i'm not
connected to terminal and i don't see the app's output, the only thing i can
do is watch the process using ps axg (or htop) or checkout the logs i write
inside the program.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-C-Console-Application-dies-unexpectedly-every-20-minuts-tp4667992p4668001.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono C# Console Application dies unexpectedly every ~20 minuts

2016-06-15 Thread akurilo
Could you please tell me how can i check it out?

It doesn't go to any of the evenhandlers i set up in my app, so i'm not sure
how can i check it.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-C-Console-Application-dies-unexpectedly-every-20-minuts-tp4667992p4668000.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono C# Console Application dies unexpectedly every ~20 minuts

2016-06-14 Thread Chris Swiedler
What is the exit code of the process? If it's in the 128-150 range then it's 
receiving a signal.

chris

-Original Message-
From: mono-list-boun...@lists.ximian.com 
[mailto:mono-list-boun...@lists.ximian.com] On Behalf Of akurilo
Sent: Tuesday, June 14, 2016 10:23 AM
To: mono-list@lists.ximian.com
Subject: [Mono-list] Mono C# Console Application dies unexpectedly every ~20 
minuts

Hi, i've developed an application for raspberry pi (wheezy) using C# .Net it 
has a lot of code and about 5 active threads all the time, i've set up event 
handlers for ExitProcess, UnhandeledException, whatever events, but every 20 
minutes my app dies with no warning or any message.

I've spent hours trying to find any information about how the app died, but 
haven't found anything in system logs. So i'm wondering if someone knows about 
if mono can kill the process by some reason.

P.S. My process uses 2.5% of memory and ususally no CPU. It has an infinity 
while loop where it does all the mess, but it doesn't seem to be reason why it 
should be killed.

Thanks



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-C-Console-Application-dies-unexpectedly-every-20-minuts-tp4667992.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list