php.net |  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: -
From: drissi dot reda4 at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 8.0.10 OS: debian 11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: drissi dot reda4 at gmail dot com
New email:
PHP Version: OS:

 

 [2021-09-16 07:44 UTC] drissi dot reda4 at gmail dot com
Description:
------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 25 18:03:49 2021 UTC