mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Merge pull request #2478 from acelaya-forks/feature/memory-leak-mitigation
Try to mitigate memory leaks when using RoadRunner
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
||||||
|
|
||||||
|
## [4.5.1] - 2025-08-24
|
||||||
|
### Added
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* [#2433](https://github.com/shlinkio/shlink/issues/2433) Try to mitigate memory leaks by restarting job and http workers every 250 executions when using RoadRunner.
|
||||||
|
|
||||||
|
|
||||||
## [4.5.0] - 2025-07-24
|
## [4.5.0] - 2025-07-24
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -14,11 +14,13 @@ http:
|
|||||||
forbid: ['.php', '.htaccess']
|
forbid: ['.php', '.htaccess']
|
||||||
pool:
|
pool:
|
||||||
num_workers: ${WEB_WORKER_NUM:-0}
|
num_workers: ${WEB_WORKER_NUM:-0}
|
||||||
|
max_jobs: 250 # Restart worker after processing this amount of requests to mitigate memory leaks
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
timeout: 300 # 5 minutes
|
timeout: 300 # 5 minutes
|
||||||
pool:
|
pool:
|
||||||
num_workers: ${TASK_WORKER_NUM:-0}
|
num_workers: ${TASK_WORKER_NUM:-0}
|
||||||
|
max_jobs: 250 # Restart worker after processing this amount of jobs to mitigate memory leaks
|
||||||
consume: ['shlink']
|
consume: ['shlink']
|
||||||
pipelines:
|
pipelines:
|
||||||
shlink:
|
shlink:
|
||||||
|
|||||||
Reference in New Issue
Block a user