Shared memory descriptors are not closed after PHP program execution is complete.
Open
Bug
Category: TSRM
OS: Windows
Status: Verified
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Extension SHMOP.
shm_id = shmop_open($r, "c", 0644,1024000); ?>
When the web server is running for a long time, the number of open descriptors reaches 15 million or more. As a result, the web server complains about the lack of resources.
Shared memory descriptors are not closed after PHP program execution is complete.
Apache 2.4.62 PHP 8.4(php8apache2_4.dll) Windows 11.
PHP Version
PHP 8.4
Operating System
Windows 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.