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.
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:
stop,shutdownetcdestroy()realizationnode, so maybe there`s something?...to be continued.