File samples/php-fpm.conf changed (mode: 100644) (index aa3040a..41b2f2a) |
1 |
|
;;;;;;;;;;;;;;;;;;;;; |
|
2 |
|
; FPM Configuration ; |
|
3 |
|
;;;;;;;;;;;;;;;;;;;;; |
|
4 |
|
|
|
5 |
|
; All relative paths in this configuration file are relative to PHP's install |
|
6 |
|
; prefix. |
|
7 |
|
|
|
8 |
|
; Include one or more files. If glob(3) exists, it is used to include a bunch of |
|
9 |
|
; files from a glob(3) pattern. This directive can be used everywhere in the |
|
10 |
|
; file. |
|
11 |
1 |
include=/etc/rocketgit/pool.conf |
include=/etc/rocketgit/pool.conf |
12 |
2 |
|
|
13 |
|
;;;;;;;;;;;;;;;;;; |
|
14 |
|
; Global Options ; |
|
15 |
|
;;;;;;;;;;;;;;;;;; |
|
16 |
|
|
|
17 |
3 |
[global] |
[global] |
18 |
|
; Pid file |
|
19 |
|
; Default Value: none |
|
20 |
4 |
pid = /run/rocketgit.pid |
pid = /run/rocketgit.pid |
21 |
|
|
|
22 |
|
; Error log file |
|
23 |
|
; If it's set to "syslog", log is sent to syslogd instead of being written |
|
24 |
|
; in a local file. |
|
25 |
|
; Default Value: /var/log/php-fpm.log |
|
26 |
5 |
error_log = /var/log/php-fpm/rocketgit-error.log |
error_log = /var/log/php-fpm/rocketgit-error.log |
27 |
|
|
|
28 |
|
; syslog_facility is used to specify what type of program is logging the |
|
29 |
|
; message. This lets syslogd specify that messages from different facilities |
|
30 |
|
; will be handled differently. |
|
31 |
|
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON) |
|
32 |
|
; Default Value: daemon |
|
33 |
|
;syslog.facility = daemon |
|
34 |
|
|
|
35 |
|
; syslog_ident is prepended to every message. If you have multiple FPM |
|
36 |
|
; instances running on the same server, you can change the default value |
|
37 |
|
; which must suit common needs. |
|
38 |
|
; Default Value: php-fpm |
|
39 |
|
;syslog.ident = php-fpm |
|
40 |
|
|
|
41 |
|
; Log level |
|
42 |
|
; Possible Values: alert, error, warning, notice, debug |
|
43 |
|
; Default Value: notice |
|
44 |
|
;log_level = notice |
|
45 |
|
|
|
46 |
|
; If this number of child processes exit with SIGSEGV or SIGBUS within the time |
|
47 |
|
; interval set by emergency_restart_interval then FPM will restart. A value |
|
48 |
|
; of '0' means 'Off'. |
|
49 |
|
; Default Value: 0 |
|
50 |
|
;emergency_restart_threshold = 0 |
|
51 |
|
|
|
52 |
|
; Interval of time used by emergency_restart_interval to determine when |
|
53 |
|
; a graceful restart will be initiated. This can be useful to work around |
|
54 |
|
; accidental corruptions in an accelerator's shared memory. |
|
55 |
|
; Available Units: s(econds), m(inutes), h(ours), or d(ays) |
|
56 |
|
; Default Unit: seconds |
|
57 |
|
; Default Value: 0 |
|
58 |
|
;emergency_restart_interval = 0 |
|
59 |
|
|
|
60 |
|
; Time limit for child processes to wait for a reaction on signals from master. |
|
61 |
|
; Available units: s(econds), m(inutes), h(ours), or d(ays) |
|
62 |
|
; Default Unit: seconds |
|
63 |
|
; Default Value: 0 |
|
64 |
|
;process_control_timeout = 0 |
|
65 |
|
|
|
66 |
|
; The maximum number of processes FPM will fork. This has been design to control |
|
67 |
|
; the global number of processes when using dynamic PM within a lot of pools. |
|
68 |
|
; Use it with caution. |
|
69 |
|
; Note: A value of 0 indicates no limit |
|
70 |
|
; Default Value: 0 |
|
71 |
|
;process.max = 128 |
|
72 |
|
|
|
73 |
|
; Specify the nice(2) priority to apply to the master process (only if set) |
|
74 |
|
; The value can vary from -19 (highest priority) to 20 (lower priority) |
|
75 |
|
; Note: - It will only work if the FPM master process is launched as root |
|
76 |
|
; - The pool process will inherit the master process priority |
|
77 |
|
; unless it specified otherwise |
|
78 |
|
; Default Value: no set |
|
79 |
|
;process.priority = -19 |
|
80 |
|
|
|
81 |
|
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging. |
|
82 |
|
; Default Value: yes |
|
83 |
6 |
daemonize = no |
daemonize = no |
84 |
|
|
|
85 |
|
; Set open file descriptor rlimit for the master process. |
|
86 |
|
; Default Value: system defined value |
|
87 |
|
;rlimit_files = 1024 |
|
88 |
|
|
|
89 |
|
; Set max core size rlimit for the master process. |
|
90 |
|
; Possible Values: 'unlimited' or an integer greater or equal to 0 |
|
91 |
|
; Default Value: system defined value |
|
92 |
|
;rlimit_core = 0 |
|
93 |
|
|
|
94 |
|
; Specify the event mechanism FPM will use. The following is available: |
|
95 |
|
; - select (any POSIX os) |
|
96 |
|
; - poll (any POSIX os) |
|
97 |
|
; - epoll (linux >= 2.5.44) |
|
98 |
|
; Default Value: not set (auto detection) |
|
99 |
|
;events.mechanism = epoll |
|
100 |
|
|
|
101 |
|
; When FPM is build with systemd integration, specify the interval, |
|
102 |
|
; in second, between health report notification to systemd. |
|
103 |
|
; Set to 0 to disable. |
|
104 |
|
; Available Units: s(econds), m(inutes), h(ours) |
|
105 |
|
; Default Unit: seconds |
|
106 |
|
; Default value: 10 |
|
107 |
|
;systemd_interval = 10 |
|