php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80050 msg_receive is awakened by error code 43
Submitted: 2020-09-03 16:04 UTC Modified: -
From: milan dot matejcek at gmail dot com Assigned:
Status: Open Package: Semaphore related
PHP Version: Irrelevant OS: raspbian / ubuntu
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: milan dot matejcek at gmail dot com
New email:
PHP Version: OS:

 

 [2020-09-03 16:04 UTC] milan dot matejcek at gmail dot com
Description:
------------
sysvmsg extension

I tested on arm raspbian buster 10, 32 bit (php 7.3.19) and ubuntu 20.04, 64 bit (php 7.4.9), both are same.

I have long running process, which is executed by supervisor, where is passive waiting for message from queue, but this waiting is sometimes awakened by error code 43.

I checked that the supervisor runs only one php process and the PID is still the same.

Is there anything what clean resources or queues?

If i have two processes and different queue key, than both return error 43 in same time.






Test script:
---------------
I create repository on Github: https://github.com/h4kuna/msg

Expected result:
----------------
Passive waiting without awakened


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Oct 27 17:01:24 2020 UTC