Opened 13 years ago

Closed 13 years ago

#2973 closed enhancement (fixed)

[patch][fastcgi] Add minspare / maxspare / maxchildren options to threaded implementation of runfcgi

Reported by: James Crasta <jcrasta@…> Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords: fastcgi
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When looking through flups's threaded server code recently, I noticed that flup (at least recent flup) uses a threadpool, and takes the same minSpare / maxSpare options as the prefork implementation, and even will take a similar maxThreads option. I've attached a patch which maps the relevant runfcgi options into flup. Unfortunately, there's no 'maxrequests' option as recently added to the prefork implementation #2969

Attached patch adds the WSGI option and changes the runfcgi help to reflect the changes. Code has been tested as working in a production environment.

Attachments (1)

fastcgi-threadpool-options.diff (1.4 KB) - added by James Crasta <jcrasta@…> 13 years ago.
Allow runfcgi to pass threadpool options to flup

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by James Crasta <jcrasta@…>

Allow runfcgi to pass threadpool options to flup

comment:1 Changed 13 years ago by Jacob

Fixed in [4033]

comment:2 Changed 13 years ago by Jacob

Resolution: fixed
Status: newclosed

... actually marking as closed this time :)

Note: See TracTickets for help on using tickets.
Back to Top