View Issue Details

IDProjectCategoryView StatusLast Update
0000773PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)Bugpublic2022-12-28 23:02
Reporterpsmedley Assigned Topsmedley  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version8.1.x 
Summary0000773: When using opcache, multiple .ZendSem.* files get created in TMP
DescriptionAs above, with opcache enabled, multiple .ZendSem.* files get created in TMP

eg:
10-02-22 21:01 0 124 ___A_ .ZendSem.jgPUXY
10-02-22 21:01 0 124 ___A_ .ZendSem.PJIwWC
10-02-22 21:01 0 124 ___A_ .ZendSem.pXWoIr
10-02-22 22:34 0 124 ___A_ .ZendSem.3cWW4e
10-02-22 22:34 0 124 ___A_ .ZendSem.nvmaY9
10-02-22 22:34 0 124 ___A_ .ZendSem.2iDPpb
10-02-22 22:34 0 124 ___A_ .ZendSem.Ch51KS
10-02-22 22:34 0 124 ___A_ .ZendSem.eSEyaD
10-02-22 22:34 0 124 ___A_ .ZendSem.2fwp5W
10-02-22 22:34 0 124 ___A_ .ZendSem.KOi92C
10-02-22 22:34 0 124 ___A_ .ZendSem.l2CqvO
10-02-22 22:34 0 124 ___A_ .ZendSem.X0aDbr
10-02-22 22:44 0 124 ___A_ .ZendSem.8x5Ek8
10-02-22 22:44 0 124 ___A_ .ZendSem.eK1X2k
10-02-22 22:44 0 124 ___A_ .ZendSem.u5JPbW
10-02-22 22:44 0 124 ___A_ .ZendSem.vrSF50
10-02-22 22:44 0 124 ___A_ .ZendSem.7vQp5t
10-02-22 22:44 0 124 ___A_ .ZendSem.BkeVjH
10-02-22 22:44 0 124 ___A_ .ZendSem.j9Ylxt

These appear to get created in: https://github.com/psmedley/php-os2/blob/php-8.1/ext/opcache/zend_shared_alloc.c#L85 but the subsequent unlink fails (fail still open?)
TagsNo tags attached.

Activities

psmedley

2022-10-04 08:55

administrator   ~0004609

there will be a potential fix for this in the next build.

psmedley

2022-10-06 08:22

administrator   ~0004610

https://smedley.id.au/tmp/php-8.1.11-os2-20221004.zip might fix this.

psmedley

2022-10-14 01:05

administrator   ~0004611

Updated build https://smedley.id.au/tmp/php-8.1.11-os2-debug-20221014.zip should fix this.

LewisR

2022-10-14 17:28

developer   ~0004612

Last edited: 2022-10-14 17:28

I will not have an opportunity to test until after the 17th (on my side of the globe). The last build did also still leave a few stragglers, but before I could report, Dave mentioned the crashes, so... ;-)

LewisR

2022-12-28 22:58

developer   ~0004615

I still see these with php-8.1.11-os2-debug-20221029.zip and php-1.1.13-os2-20221217.zip.

Something in my opcache settings, perhaps, or caused by my verbose error output during testing?

LewisR

2022-12-28 23:02

developer   ~0004616

The first three of these files are created at server startup, before any access. Interestingly, I have 2 servers starting in httpd-mpm.conf (I thought 3, but this test environment is not doing anything fancy).

Issue History

Date Modified Username Field Change
2022-10-03 06:34 psmedley New Issue
2022-10-03 06:34 psmedley Status new => assigned
2022-10-03 06:34 psmedley Assigned To => psmedley
2022-10-04 08:55 psmedley Note Added: 0004609
2022-10-06 08:22 psmedley Status assigned => feedback
2022-10-06 08:22 psmedley Note Added: 0004610
2022-10-14 01:05 psmedley Note Added: 0004611
2022-10-14 17:28 LewisR Note Added: 0004612
2022-10-14 17:28 LewisR Note Edited: 0004612
2022-12-28 22:58 LewisR Note Added: 0004615
2022-12-28 23:02 LewisR Note Added: 0004616