On the Endlessly Running Child Processes of a Java Application
summary
Discusses problems with long-running child processes started from Java applications, focusing on Java's process-management APIs and issues such as resource leaks, blocked streams, and process lifecycle handling. Presents practical approaches for preventing hangs and leaks by properly managing input/output streams, using threads or non-blocking IO, and ensuring timely destruction and monitoring of subprocesses.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:02Problem statement
- 12:11Process hang causes
- 20:22Buffer solution
- 30:03Internet process hangs
- 34:25Caller code errors
- 39:08Monitoring and cleanup
- 45:12Camunda Y library
- 50:18Q&A
related talks
45mFunctional Streams
46mJava in a container: operational specifics
46mJava 21: The revolution of virtual threads - A Deep dive
34mIntroduction and pitfalls of Java's new concurrency model
47mManaging and monitoring a JVM
50mProject Loom: Helping Write Concurrent Applications on the Java Platform
49mJava Dark Threads
38mIntroduction and pitfalls of Java's new concurrency model
