Welcome! Log In Create A New Profile


fcgiwrap limit

June 07, 2021 01:24AM

not really an nginx question but I didn't know where else to ask ...

I'm load testing my nginx server which is using an application that only has a CGI interface. I have that setup and working fine, but the load test is breaking something related to CGI.

I'm getting these errors when the load borks:
*9039 connect() to unix:/var/run/fcgiwrap.socket failed (11: Resource temporarily unavailable) while connecting to upstream ...

I increased the number of fcgiwap processes and that did seem to make the test go longer before it crashed, but I have noticed this -

# systemctl status fcgiwrap

fcgiwrap.service - Simple CGI Server
Loaded: loaded (/etc/systemd/system/fcgiwrap.service; indirect; vendor preset: enabled)
Active: active (running) since Mon 2021-06-07 15:06:25 AEST; 11min ago
TriggeredBy: fcgiwrap.socket
Main PID: 192523 (fcgiwrap)
Tasks: 26 (limit: 19174)
Memory: 6.9M
CGroup: /system.slice/fcgiwrap.service
├─192523 /usr/sbin/fcgiwrap -c 25

Does anyone know what the "limit" that is listed on
Tasks: 26 (limit: 19174)
refers to? Tasks seems to be 1+ the number of child fcgiwrap processes I have running, and changing the number of children doesn't change the limit.

Subject Author Posted

fcgiwrap limit

jonok3 June 07, 2021 01:24AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready