PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_Fork » Bug #5186

IPC Share memory segments stay resident

Details

Submitted2005-08-23 15:05 UTC
Fromleandro at cnts dot com dot br
StatusOpen
PackagePHP_Fork
PHP Version4.3.11
OSLinux Slackware 9.1.0
Roadmaps(Not assigned)

Comments

[2005-08-23 15:05 UTC] leandro at cnts dot com dot br

Description:
------------
When you create a lot of new processes (and stoping them) using the class php_fork.php (version 1.1), a lot of shared memory segments stays active. If you execute the comand "ipcs" on the shell, you will see them. It keeps creating them (for process inter-communication) indefinetely. So that it reaches the shared memory limit and no other proccess can create any shared segments anymore. i had to manually clear them using ipcrm to continue using the system without the need of reboot. I ended up removing the code for process communication, to use it sucessfully. (sorry for the poor english =)