Restart blocked process

Started by debug86, January 18, 2013, 03:02:43 PM

Previous topic - Next topic

debug86

Hi i have discovered process lasso in the last days and it could be very useful for me because i need to restart automatically a blocked process.

So process lasso have this feature and what are configuration to do? i would like to have this info before buy this software.

thank you.

Marco

BenYeeHua

I don't know what is the meaning of "blocked process", but I know where is the function.

As you are using the trial version, you can try it now. ;)

debug86

Hi BenYeeHua, thank you very much for your reply.

I can configure process lasso to restart a process if it is stop for a certain period of time? Because for "blocked process" (in my specific case) i mean a process that is stop and don't start another instance, if it is opened.

PS: sorry for my english, is not very good  ;D

hanemach_gt

Quote from: debug86 on January 19, 2013, 05:13:16 AM
[...]
I can configure process lasso to restart a process if it is stop for a certain period of time? Because for "blocked process" (in my specific case) i mean a process that is stop and don't start another instance, if it is opened.
[...]

It's difficult (at least to my knowledge) to test if a process is "blocked" without looking into its code. I mean, if you can't see that a process has a status of "suspended" then you can't definitely say it's blocked, because you don't know what it is executing. I suppose you mean that a particular process is persisting in memory and doesn't allow more of its instances to be run - correct me if I'm wrong.

I don't know of such a feature in Process Lasso, but you can post your request in the BugTrack forum section, where you can report feature requests, too.
<img src="[url="http://imageshack.com/a/img913/7827/On37F9.gif"]http://imageshack.com/a/img913/7827/On37F9.gif[/url]"/>

debug86

I know that process is "blocked" beacause code of this application is mine  ;), so if is stop i know that is blocked not for a bug but probably for windows.

For this reason i can't solve my problem modifying my application but only closing her and restart, for this i think to use process lasso.

Correct me if isn't possible.

hanemach_gt

First, please explain what does "blocked" mean for you. If the process you're referring to is eating too much CPU/RAM at some point for X period of time, then make use of what BenYeeHua recommended you.
<img src="[url="http://imageshack.com/a/img913/7827/On37F9.gif"]http://imageshack.com/a/img913/7827/On37F9.gif[/url]"/>

debug86

Really the process stop for infinite time if you don't close it, but not use a lot of memory/cpu the only index to know that process is blocked is time.

BenYeeHua

Quote from: debug86 on January 19, 2013, 05:13:16 AM
Hi BenYeeHua, thank you very much for your reply.

I can configure process lasso to restart a process if it is stop for a certain period of time? Because for "blocked process" (in my specific case) i mean a process that is stop and don't start another instance, if it is opened.

PS: sorry for my english, is not very good  ;D
I think is no, as how can other software know that software is stop?
Maybe it just don't has a work to do.

Only system can know it is stop and showing a "Not Responding" for that process.
If you means this, I think it might be support in the future version.

edkiefer

It might be good to say what kind of app are we talking about, just so we can better understand what your trying to do .
Is it a user app or some kind of background app w/0 user input , like scanner or something .
Bitsum QA Engineer

hanemach_gt

Quote from: debug86 on January 19, 2013, 08:19:46 AM
Really the process stop for infinite time if you don't close it, but not use a lot of memory/cpu the only index to know that process is blocked is time.

Every program should be finite and return something, whatever it is. If it runs into an infinite loop then you must find a way for it to escape from that loop.
<img src="[url="http://imageshack.com/a/img913/7827/On37F9.gif"]http://imageshack.com/a/img913/7827/On37F9.gif[/url]"/>

debug86

The problem is that in my code I manage all exception, so I do not think that is my application that crash, I think that block is caused by windows.

hanemach_gt

Quote from: edkiefer on January 19, 2013, 08:51:39 AM
It might be good to say what kind of app are we talking about, just so we can better understand what your trying to do .
Is it a user app or some kind of background app w/0 user input , like scanner or something .

As Ed wrote, could you tell us something more about your application?
<img src="[url="http://imageshack.com/a/img913/7827/On37F9.gif"]http://imageshack.com/a/img913/7827/On37F9.gif[/url]"/>

BenYeeHua

Quote from: debug86 on January 19, 2013, 12:47:26 PM
The problem is that in my code I manage all exception, so I do not think that is my application that crash, I think that block is caused by windows.
If you think it is cause by windows, find Microsoft and they will find which is the cause.