type
concept
created
Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
updated
Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
sources
raw/notes/techContext
tags
pm2 process-management gunicorn celery redis infrastructure

PM2 Process Layout

abstract
The platform runs three PM2-managed processes: marketplace-api (gunicorn on port 8910), celery-worker (async task processing), and celery-beat (periodic task scheduling).

Overview

wiki/entities/b2bpaper uses PM2 as its process manager on the Contabo VPS. PM2 handles process startup, restart on crash, log management, and monitoring. All backend processes are managed through PM2 rather than systemd or Docker.

Managed Processes

marketplace-api

celery-worker

celery-beat

Infrastructure Dependencies

PM2
 ├── marketplace-api (gunicorn) → port 8910 → Nginx → public
 ├── celery-worker → Redis → task execution
 └── celery-beat → Redis → scheduled triggers
                     ↓
                PostgreSQL (db: b2bpaper)

All three processes depend on:

Management Commands

Common PM2 operations:

Key Rules

Sources

Related