Skip to content

PhantomJS junk processes #45

@mgolosova

Description

@mgolosova

When we stop Kafka Streams application, that runs a Dataflow stage working with CDS via Invenio client (which runs PhantomJS browser to interact with CDS), we are very likely to have some PhantomJS processes unstopped. After a number of run/stop/restart actions we can even run out of free slots for a new thread/process.

Killing all the PhantomJS helps, of course, but it is not to be a regular solution.

The issue is under investigation.

Where to look:

  • pyDKB: dataflow.cds (the modifies Invenio client)
  • Kafka Streams: everything connected to the application stop, shutdown etc
  • JAVA: java.lang.Process destroy() realization
  • NodeJS: the PhantomJS is run via node, so maybe there`s something?

...to be continued.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions