|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81444 php-fpm crashes with bus error under kubernetes
Submitted: 2021-09-16 07:44 UTC Modified: 2021-11-28 20:29 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: drissi dot reda4 at gmail dot com Assigned: bukka (profile)
Status: Assigned Package: FPM related
PHP Version: 8.0.10 OS: debian 11
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-09-16 07:44 UTC] drissi dot reda4 at gmail dot com
using the container image php:8.0.10-fpm-bullseye, I deployed a simple php web server in my kubernetes cluster. The php-fpm process crashes with "Bus Error" at boot.

However I can fix this, by disabling hugepages from sysctl.conf. 

I need a way to use php-fpm under my kubernetes cluster without disabling hugepages.

kubernetes version: 1.21

containerd version: 1.4.9

OS: debian bullseye

kernel: 5.10.0-8-amd64

Test script:
Deploy any php-fpm container in any kubernetes cluster with hugepages enabled.

Expected result:
not a crash of php-fpm

Actual result:
a crash of php-fpm


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-28 20:29 UTC]
-Assigned To: +Assigned To: bukka
 [2021-11-28 20:29 UTC]
Would you be able to provide a stack trace by any chance?
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Apr 01 09:03:44 2023 UTC