mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   MISFIT (https://www.mersenneforum.org/forumdisplay.php?f=103)
-   -   (archive)mfaktXapp 1.4 (https://www.mersenneforum.org/showthread.php?t=17241)

swl551 2012-10-29 00:17

Stalled Process detection now available
 
1.6 proto.3 is now available.

New in this build
1. Detection of stalled processes and emailing of condition
2. Minmize to System Tray



Stalled process detection works by tracking the newest checkpoint file created by mfaktO/C. If a .ckp file is detected as unchanged for 3 update cycles it is considered stalled and email is sent.

How to test. Stop one of your mfaktO/C instances an click the "Update Stats" button 3 times and you will get the email. (test emailer configuration first!)

"Auto Update" interval controls how quickly detection occurs. I recommend 15 minute interval.


Please send me any comments or bug reports. I really speed coded today due to the upcoming storm at my current location. Expecting NO power tomorrow and coastal flooding..... This could be my last.........

Get from SkyDrive [URL]http://sdrv.ms/QsaP9Y[/URL]

flashjh 2012-10-29 00:54

Thanks for working this.

kracker 2012-10-29 01:33

Thanks! Just so you know, the system icon is there, but doesn't minimize to it:smile:

swl551 2012-10-29 01:44

[QUOTE=kracker;316315]Thanks! Just so you know, the system icon is there, but doesn't minimize to it:smile:[/QUOTE]

I don't understand. Please clarify.

kracker 2012-10-29 02:40

[QUOTE=swl551;316316]I don't understand. Please clarify.[/QUOTE]

Ok, what I mean is, the only thing different is that there is a icon, minimizing doesn't make it "dissapear to system tray" so etc when I do alt+tab it's still there in the task bar.

swl551 2012-10-29 03:12

[QUOTE=kracker;316318]Ok, what I mean is, the only thing different is that there is a icon, minimizing doesn't make it "dissapear to system tray" so etc when I do alt+tab it's still there in the task bar.[/QUOTE]


Did you enable minimize to system tray in the MISC settings?

kracker 2012-10-29 03:26

[QUOTE=swl551;316321]Did you enable minimize to system tray in the MISC settings?[/QUOTE]
:bangheadonwall::bangheadonwall::bangheadonwall:

I didn't.

:missingteeth:

Works, thanks

swl551 2012-10-29 03:40

[QUOTE=kracker;316322]:bangheadonwall::bangheadonwall::bangheadonwall:

I didn't.

:missingteeth:

Works, thanks[/QUOTE]


Well, at least it was an easy fix!!!!:geek:

swl551 2012-10-29 16:02

1.6.5 (beta) now available. (contains bug fix)
 
Fixes bug where false "stalled process" alarm is sent after a rebalance occurs.

I improved the determiniation of "stalled process" to include testing of the age of the .ckp file. It must be at least 5 minutes stale and unchanged after 3 test cycles. Using the age of the file will prevent false alarms regardless of how rapidly the "update stats" event occurs.


Get from SkyDrive [URL]http://sdrv.ms/QsaP9Y[/URL]

flashjh 2012-10-30 03:57

[QUOTE=swl551;316352]Fixes bug where false "stalled process" alarm is sent after a rebalance occurs.

I improved the determiniation of "stalled process" to include testing of the age of the .ckp file. It must be at least 5 minutes stale and unchanged after 3 test cycles. Using the age of the file will prevent false alarms regardless of how rapidly the "update stats" event occurs.


Get from SkyDrive [URL]http://sdrv.ms/QsaP9Y[/URL][/QUOTE]
Testing is going well. Everything is working.

swl551 2012-10-30 09:06

More stalled detection tweaks.
 
I moved stalled process detection to its own timer and it executes at a fixed 10 minute interval. Decoupling from the Update Stats button makes it more reliable since the button can be clicked at irregular intervals causing [SIZE=3][FONT=Calibri]unnecessary process checking.[/FONT][/SIZE]
[FONT=Calibri][SIZE=3][/SIZE][/FONT]
[FONT=Calibri][SIZE=3]So if you want to test the stalled process detection you have to stop an instance of mfaktO/C and let mfaktXapp run for about 30 mins while it performs 3 tests at 10 mins apart. No more clicking "Update Stats" to force the test.[/SIZE][/FONT]


All times are UTC. The time now is 08:27.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.