Alpha
Share and Organize Code
login register
HotNewTop
F.A.Q.
1. To begin adding code first register.
2. Create your own tags for code that you add.
3. To see your own code click Me, to see all code click Everyone, or filter by people rob.
4. To follow a user, click on their username, rob and hit follow.
5. Add other code to your library by clicking the
button near the code titles (note that you can not edit these codes).
6. To create a copy of a code that you can edit use fork.
7. If you can't find your code, double check your filter settings as you can filter by Category, User and Tag simultaneously.
8. Add comments to a code by clicking on it's title or the comments link underneath it.

PHP-FPM Sample Pool Config (say for Nginx Vhost mail.domain.com) (plain)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[www-mail]
listen = /tmpfpm/prod/mail/php-fpm.sock
;listen.allowed_clients = 127.0.0.1
listen.owner = nobody
listen.group = nobody
listen.mode = 0666
user = nobody
group = nobody
pm = dynamic
pm.max_children = 39
pm.start_servers = 11
pm.min_spare_servers = 9
pm.max_spare_servers = 13
pm.max_requests = 130
;access.log = /var/log/php/fpm-mail-access.log
;access.format = %R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%

; --- Enable the value below for debugging. Otherwise leave it off.
;catch_workers_output = yes

; --- Notice these php values that are normally set in PHP.INI
; --- These values below override the php.ini global values
php_flag[display_errors] = on
php_admin_value[error_log] = /var/log/php/fpm-mail-error.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 64M
[+] (22) more...
comments (1) flag fork
See Nginx VHost Example in the Nginx section which shows how Nginx uses this FPM pool - prdgreene 5 Years ago