HEX
Server: Apache
System: Linux SH-FR-PM-y8qo 6.6.80-paas #1 SMP PREEMPT_DYNAMIC Thu Sep 25 11:18:23 UTC 2025 x86_64
User: hosting-user (5000)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /srv/data/.current_www/fpm/generate.sh
#!/bin/bash

typeset -i factor=1

let SHMMAX=( 32*1024*1024 )

for offre in toto; do
    echo $offre $factor
    file="${offre}.test";
    echo $file
    cat > $file << EOF
include=/srv/data/.config/php/../fpm/base.conf
include=/srv/data/.config/php/../fpm/www.conf
EOF

   let max=( $factor * 2 )


    cat >> $file <<EOF
pm.max_children = $max
shm_max = $SHMMAX
pm.start_servers = $factor
pm.min_spare_servers = $factor
pm.max_spare_servers = $factor
php_admin_value[realpath_cache_size] = "1M"
EOF
    factor+=1
done