Skip to content

PostgreSQL processes remain running after JabRef crashes or is forcefully terminated #12844

@ungerts

Description

@ungerts

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

Windows 10

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

When JabRef crashes or is forcefully terminated (e.g., via kill -9 or Task Manager), associated PostgreSQL processes often remain running. These orphaned processes continue to consume system resources unnecessarily.

Steps to Reproduce

  1. Start JabRef with a PostgreSQL backend.
  2. Forcefully terminate JabRef (e.g., using kill -9 or Task Manager).
  3. Open Task Manager (Windows) or use ps on Linux/macOS.
  4. Observe that multiple PostgreSQL Server processes are still running.

Expected Behavior

All PostgreSQL-related processes spawned by JabRef should terminate when JabRef is unexpectedly closed.

Actual Behavior

PostgreSQL processes persist after JabRef exits unexpectedly, leading to orphaned background processes.

Appendix

Screenshot

PostgreSQL orphaned processes

Screenshot shows several idle PostgreSQL Server processes still running after JabRef was terminated.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

High priority

Relationships

None yet

Development

No branches or pull requests

Issue actions