Sha256: bbfd4b97e3612b8c1b48f5f39764edfbc2b36a4bdad706c697b0bc37df3cac01

Contents?: true

Size: 1.45 KB

Versions: 27

Compression:

Stored size: 1.45 KB

Contents

# Passenger Agent

This directory contains the source code of the Passenger agent. The Passenger agent is a single executable that consists of multiple parts. Within each subdirectory, you will find the source code of that particular part.

## Important parts

The most important parts are:

 * The Watchdog is the main Passenger process. It starts the Passenger Core, and restarts them when it crashes. It also cleans everything up upon shut down.
 * The Core performs most of the heavy lifting. It parses requests, spawns application processes, forwards requests to the correct process and forwards application responses back to the web server.

## Minor parts

 * SpawnEnvSetupper is a tool used internally by `Core/SpawningKit/` to spawn application processes. See the README in that directory for more information.
 * SystemMetrics is a tool that shows system metrics such as CPU and memory usage. The main functionality is implemented in src/cxx/SystemTools/SystemMetricsCollector.h. This tool is mainly useful for developing and debugging SystemMetricsCollector.h.
 * TempDirToucher is a tool used internally by Passenger Standalone to keep a temporary directory's timestamp up-to-date so that it doesn't get removed by /tmp cleaner daemons.

## Shared code

There is also code that is shared between the different agent parts. That code is located in `Shared`. Unlike `src/cxx_supportlib`, which is meant to be usable outside Passenger, the code in `Shared` is Passenger-specific.

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
passenger-6.0.26 src/agent/README.md
passenger-6.0.25 src/agent/README.md
passenger-6.0.24 src/agent/README.md
passenger-6.0.23 src/agent/README.md
passenger-6.0.20 src/agent/README.md
passenger-6.0.19 src/agent/README.md
passenger-6.0.18 src/agent/README.md
passenger-6.0.17 src/agent/README.md
passenger-6.0.16 src/agent/README.md
passenger-6.0.15 src/agent/README.md
passenger-6.0.14 src/agent/README.md
passenger-6.0.13 src/agent/README.md
passenger-6.0.12 src/agent/README.md
passenger-6.0.11 src/agent/README.md
passenger-6.0.10 src/agent/README.md
passenger-6.0.9 src/agent/README.md
passenger-6.0.8 src/agent/README.md
passenger-6.0.7 src/agent/README.md
passenger-6.0.6 src/agent/README.md
passenger-6.0.5 src/agent/README.md