Mailu / helm-charts

Development repo for helm charts
127 stars 131 forks source link

Webmail Kubernetes: connect() to unix:/var/run/php8-fpm.sock failed (2: No such file or directory) #262

Open Skyle974 opened 1 year ago

Skyle974 commented 1 year ago

Environment & Version

LAST DEPLOYED: Mon May 29 16:14:35 2023 CHART NAME: mailu CHART VERSION: 1.2.0 APP VERSION: 2.0.10

Environment

Version

Description

Hello, I'm nooby with mailu and make deployment in microk8s environnement. All pods are running except webmail who can't access to php fpm sock. Thank's for your help.

Replication Steps

First install. helm install mailu mailu/mailu -n mailu-mailserver --values mailu.yaml --create-namespace

Observed behaviour

Nginx execpt to access of unix:/var/run/php8-fpm.sock but this file not exist.

Expected behaviour

Logs

kubectl logs -f pod/mailu-webmail-7df7f6c998-8dq84 -n mailu-mailserver WARNING: Changed defaults (These config options have new default values):

CRASH-Tech commented 1 year ago

+1

CRASH-Tech commented 1 year ago

It fixes by enable hugepages:

webmail:
  resources:
    limits:
      cpu: 2
      memory: 1Gi
      hugepages-2Mi: 512Mi