Timeout when max-childrens reached.
まだ誰も着手していません。
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
Referring to:
https://bz.apache.org/bugzilla/show_bug.cgi?id=66603
It will be nice to set a timeout limit when connection will be terminated after trying to get free childrens of php-fpm. These limit should be smaller then max_execution_time or apache's timeouts because it will help with durability durring ddos attacks or with bugged apps. It specially important for shared servers, while one of app will reached max-childrens and there will be still incomming connections, so with waiting for childrens in infinity time or 300 seconds like apaches do it's to long and another limit's of server can be reached. These connections must be terminated alot faster, and timeout of http server cannot be smaller because of max_execution_time.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、max_children に到達した後に PHP-FPM が待機する問題についてのリンク先の Bugzilla レポートを読み、次に PHP-FPM の接続と子プロセス管理のエントリポイントを特定します。関連するテストを特定する前に、設定可能なタイムアウトの動作とその失敗ケースを定義します。既存の実行タイムアウトや HTTP タイムアウトの動作を変更せずに、過負荷状態の接続がその制限時間内に終了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, php
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100