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: 2021-11-28 20:29 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.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
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

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-28 20:29 UTC] bukka@php.net
-Assigned To: +Assigned To: bukka
 [2021-11-28 20:29 UTC] bukka@php.net
Would you be able to provide a stack trace by any chance?
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 07 16:05:45 2022 UTC