cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Process manager for local services

Garnet

Process manager for local services

Hi Guys,

I have been wondering...

Is there something that could be use as process manager for local (javacript) services?

Debugging is pain in the a..ss sometimes.

Something like PM2 for node, or TOP would be extremely usefull..

For an instance if you create local servcice

myService

while(true);

and you hit Execute, it spawns its own thread and it keeps going for ever.

What then?

If you call this service from within another service in loop, than what??

Any idea?

7 REPLIES 7

Re: Process manager for local services

Hi Tomas,

I did once on Neo4J and I needed someone with NeoJ access in order to dig on database and remove the line. Yes, this is s real risk, at least with PostgreSQL can be easier to modify it, but if you don't know where the infinite loop is, it can be a real big problem.


Would be good to know the running threads an on which service they are, and which service it's consuming more RAM and CPU, also to improve solution performance.


Best REgards,

Re: Process manager for local services

But, if is service already running, changing it in Postgre will make no difference right?

And you also need to know where the corrupted service is in the first place.

I think that some process manager is long overdue..

It is needed.

Re: Process manager for local services

Of course you need to stop Tomcat in order to do this change.

Re: Process manager for local services

Yes, but sometimes that is not an option.

Re: Process manager for local services

Yes I know, I've already pointed out this problem to R&D two years ago, but never ever get a proper answer/plan.

Re: Process manager for local services

Well I will do my biding also.

Related question,

is there any docu about script log, i.e. Origin, Thread, Session etc. what does it mean and so on..

Also in my system Trace settings for script log does not seem to work, I can see only Errors and Infos but no Trace..

Re: Process manager for local services

I've never seen this documentation, but it may exist...