Skip to main content

IN-002 — PM2 Process Management (Staging)

Confirmed staging findings for processes managed by PM2 on dev.rahvaraamat.ee.

Source: Zone.ee portal screenshots, 31 July 2026.

PM2 managed processes

ProcessStatusMemory (observed)Config file
rahvaraamat-webActive~200 MiBrahvaraamat-main-web.pm2.config.js
queue-listenerActive~200 MiBqueue-listener.pm2.config.js
elasticsearch-7.16.2Active~200 MiBelasticsearch.pm2.config.js
rahvaraamat-outlet-webInactive~201 MiBrahvaraamat-outlet-web.pm2.config.js
elastic-search-audioInactive~200 MiBelastic-search-audio.pm2.config.js

Observations

PM2 currently manages:

  • Main web frontend (rahvaraamat-web)
  • Queue listener
  • Elasticsearch
  • Outlet web application (inactive)
  • Audio Elasticsearch instance (inactive)

Inactive applications appear to be retained for optional or environment-specific use. Related staging port forwards for outlet/main web are documented in IN-005 Staging Server Architecture.

Summary

Staging PM2 runs three Active processes (rahvaraamat-web, queue-listener, elasticsearch-7.16.2) and keeps two Inactive apps (rahvaraamat-outlet-web, elastic-search-audio) with dedicated config files.