Bill2's Process Manager : le forum

Bill2's Process Manager, Votre gestionnaire de processus automatique
 
AccueilAccueil  FAQFAQ  RechercherRechercher  S'enregistrerS'enregistrer  MembresMembres  GroupesGroupes  Connexion  

Partagez | 
 

 Posibility of killing process under 50%

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Posibility of killing process under 50%   Ven 24 Juin - 11:00

Hello,

I am monitoring a process that sometime goes over 10-15% cpu but never under 50%. I downloaded bill2 process manager but unfortunately it doesn't allow values under 50% cpu to kill a process, so only 50% - 95%. Is there a way of accepting lower values? I would probably need 9%-10% cpu for 1 minute to kill that process.

Thank you
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 15:43

Hello,

I've set a limitation to 50%, because killing process Under this value may be really dangerous.

If you want to bypass the limitation, you can manually edit the config file of BPM.
There's a link in the option window to open the directory.

The config file is a XML file, you just have to find the good section, set the value you want, and restart BPM.

But after this modification, if you use the config Windows, BPM will raise an alert  Smile

_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 16:05

Thank you. And why is dangerous to kill process under this value?

I monitor an application that in good parameters works < 3% cpu, if it passes over 10% cpu something is wrong and needs a restart. It can't kill other processes right? Only the one that is being monitored should be targeted.

Thanks
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 16:13

It's dangerous, because processes rarely use more than 50% of CPU (except encoding programs for video editing, music, or pictures treatment)

Imagine killing Microsoft Word because you are performing a big replace in the document ...


_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 17:59

I am aware of that but I only intend to monitor a single process, not related to windows or so and this process never goes over 9% unless it's a problem (it normally stays at 0%-2% max)

Rules will be applied only for this process that I am monitoring right? Hope it won't interfere with other opened processes and close them as I only need a single particular process to be monitored

Thanks for the fast answers, much appreciated.
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 20:05

Yeah, it will only apply to your process Smile

So just edit the config file, and give it a try.

_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 20:26

Got it, thanks a lot

      <autokillonoverloadcpu>10</autokillonoverloadcpu>
       <autokillonoverloadtime>60000</autokillonoverloadtime>

I suppose to make it 30 seconds should be 30000 (miliseconds) right? or the program will only accept atleast a minute? Just making sure so it won't cause problems.





Dernière édition par Renatol le Ven 24 Juin - 20:38, édité 1 fois
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 20:37

You can open de rule management window to see the value, but you can't save it using the GUI.

So if you see the value you want, it's OK.
Limitations are checked when you save the properties, but if you edit the config file, you can use whatever you want.
But be carreful : don't use characters when numbers are required, it may crash BPM on loading Wink

_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 20:39

Got it.

I see by default rules are applied to all processes changing them to below normal

Should i do this to remove all default rules applied to all processes except the one I want to monitor?

<rule id="Rule_By_Default_For_All_Processes">
...
<priority>BelowNormal</priority>
...

To disable all automated rules except the rule for my process should i change

<UseRuleByDefault>True</UseRuleByDefault>

to

<UseRuleByDefault>False</UseRuleByDefault>

?
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 20:42

Well, the defaut rule is a system to control all processes, but can be desectivated in the option Windows of BPM.

Be sure to create a rule only for your process: it will override the defaut rule, even if this system is activated.
(right clic on your process in the main Windows to create the rule)

And edit the config file only for your rule.

_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 21:18

Got it, thanks a lot for your help. Much appreciated

One more thing, haven't found any function for RAM consumption, do you plan on adding one? Like if process goes over xxx ram to kill the process.
Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Bill2
Administrateur
Administrateur
avatar

Nombre de messages : 418
Age : 39
Localisation : Dijon
Date d'inscription : 21/11/2006

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 21:25

No plan to add this kind of feature. And in my opinion, a very dangerous idea.

Imagine working on a big file in Photoshop, and BPM kill it because it uses too many RAM ...

There are program to display alerts when ram is too low, but this days, Windows do a pretty good job handling ram et virtual memory.
And adding 4Go RAM is cheap! Rolling Eyes

By the way, BPM is not really developped anymore.
No more time to do it, and big personal problems to handle ...

_________________
Rubik's Addicted !
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.bill2-software.com/processmanager
Renatol



Nombre de messages : 7
Date d'inscription : 24/06/2016

MessageSujet: Re: Posibility of killing process under 50%   Ven 24 Juin - 21:29

Not dangerous if used for certain processes only, in my case if the process does a memory leak randomly after a week or so It would have been great to have a kill process if ram usage > x MB

Sorry to hear, wish you the best on dealing with your personal problems and hopefully one day you'll take this into consideration if bmp will be developed again.



Revenir en haut Aller en bas
Voir le profil de l'utilisateur
Contenu sponsorisé




MessageSujet: Re: Posibility of killing process under 50%   

Revenir en haut Aller en bas
 
Posibility of killing process under 50%
Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Killing Dissent /Sou Duvalier.
» My loneliness is killing me... [libre]
» La ville des rebuts
» My killing, my life and me.
» THE KILLING MOON (demande de partenariat)

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Bill2's Process Manager : le forum :: Général-
Sauter vers: