Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.7.2
-
Fix Version/s: None
-
Component/s: ZendX_Console_Process_Unix
-
Labels:None
Description
The shared memory segment and semaphore files (*.shm and *.sem) are not being deleted when the process is stopped. In the _cleanProcessContext method, on lines 387 and 388, there are the following statements, which are no-ops:
$this->_ipcSegFile;
$this->_ipcSemFile;
The above is probably a typo. IMO, it should be as follows:
unlink($this->_ipcSegFile);
unlink($this->_ipcSemFile);
I can submit a patch if needed. Let me know the steps I need to take if this is preferred.
Issue Links
| This issue is related to: | ||||
| ZF-6047 | 'Unable to create SHM segments for process communications' in long running script |
|
|
|
When creating a patch, include a new unit test which makes sure, that the new case works. Also make sure, that all the other unit tests still work after your modifications.