...
 
Commits (2)
......@@ -686,12 +686,13 @@ data:
rlimit_files = 65535
opcache-recommended.ini: |-
opcache.enable=1
opcache.memory_consumption=2046
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=65407
opcache.validate_timestamps=0
opcache.fast_shutdown=0
opcache.enable_cli=1
opcache.save_comments=0
runners.conf: |-
[program:minds-notifications]
process_name=%(program_name)s_%(process_num)02d
......
......@@ -8,28 +8,28 @@ phpfpm:
tag: latest
pullPolicy: Always
replicas: 1
max_children: 10 #500 on production
max_requests: 200 #20000 on production
max_children: 4 #500 on production
max_requests: 2000 #20000 on production
resources:
limits:
memory: 1Gi # 1GB of memory
memory: 2Gi # 1GB of memory
cpu: 1000m # 1 CPU allocated
requests:
cpu: 200m
cpu: 100m
memory: 256Mi
nginx:
image:
repository: nginx
tag: 1.13-alpine
tag: 1.17-alpine
pullPolicy: IfNotPresent
replicas: 1
worker_connections: 40 # 20000 in production
worker_connections: 512 # 20000 in production
resources:
limits:
cpu: 400m
requests:
cpu: 200m
cpu: 100m
sockets:
image:
......