• Bug#1063670: fcgiwrap very slow with default systemd config (no paralle

    From Martin Monperrus@21:1/5 to All on Sat Feb 10 22:20:01 2024
    Package: fcgiwrap
    Version: 1.1.0-12
    Severity: normal

    Dear Maintainer,

    * What led up to the situation?

    I installed fcgiwrap to run Python scripts on nginx.

    * What was the outcome of this action?

    CGI scripts can be run, but sequentially, one-by-one, very slow

    * What outcome did you expect instead?

    CGI scripts can be run in parallel.

    * What is the solution?

    The default setup in /lib/systemd/system/fcgiwrap.service should use option "-c <number>" (Number of processes to prefork), for example "-c 5"

    Thanks!



    -- System Information:
    Debian Release: bookworm/sid
    APT prefers jammy-updates
    APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 5.15.0-91-generic (SMP w/8 CPU threads)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages fcgiwrap depends on:
    ii libc6 2.35-0ubuntu3.6
    ii libfcgi0ldbl 2.4.2-2build2
    ii libsystemd0 249.11-0ubuntu3.12
    ii lsb-base 11.1.0ubuntu4
    ii systemd 249.11-0ubuntu3.12

    fcgiwrap recommends no packages.

    fcgiwrap suggests no packages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)