What values to use for FastCGI maxrequests, maxspare, minspare, maxchildren?

前端 未结 2 1300
难免孤独
难免孤独 2021-02-04 18:28

I\'m running a Django app using FastCGI and lighttpd.

Can somebody explain me what I should consider when deciding what value to use for maxrequests, maxspare, minspare,

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 19:30

    Don't forget to coordinate your fcgi settings with your apache worker settings. I usually keep more apache workers around than fcgi workers... they are lighter weight and will wait for an available fcgi worker to free up to process the request if the concurrency reaches higher than my maxspare.

提交回复
热议问题