Reduce FPM workers from 12 to 5 max to stop memory thrashing on a single-core VPS with 3GB RAM. Add OPcache and APCu tuning to reduce filesystem stat calls and improve cache hit rates.
8 lines
132 B
Plaintext
8 lines
132 B
Plaintext
[www]
|
|
pm = dynamic
|
|
pm.max_children = 5
|
|
pm.start_servers = 2
|
|
pm.min_spare_servers = 1
|
|
pm.max_spare_servers = 3
|
|
pm.max_requests = 500
|