Timeout when max-childrens reached.

オープン
#11,260 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c, php
領域
backend

調査の方向性

まず、max_children に到達した後に PHP-FPM が待機する問題についてのリンク先の Bugzilla レポートを読み、次に PHP-FPM の接続と子プロセス管理のエントリポイントを特定します。関連するテストを特定する前に、設定可能なタイムアウトの動作とその失敗ケースを定義します。既存の実行タイムアウトや HTTP タイムアウトの動作を変更せずに、過負荷状態の接続がその制限時間内に終了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Feature SAPI: fpm
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.

主要言語
C
スター
40.4k
フォーク
8.2k
平均マージ
2日 15時間
マージ済み PR(30日)
103

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

php/php-src のほかの issue

php/php-src の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。