msobkowiak-olx

Results 8 comments of msobkowiak-olx

> I don't know what causes the pipe to break only in production, or why only with the latest version of illuminate/log, but my suspicion is that in production multiple...

For us - we moved from Docker Engine to containerd. 1.9 has quite some defects for CRI parser - and we had to use our own (which also broke for...

It is because of this: https://github.com/Seldaek/monolog/blob/main/src/Monolog/Handler/StreamHandler.php#L118 is_resource is not enough to handle writing to an already closed socket [EDITED - the first solution was not the proper one] The library...

@Seldaek thanks. This is really the same class of problem like programming over the network (although the pipe is a local object, it can be closed by the OS at...

Well, possibly due to file descriptors leak, I think this is the obvious scenario that can happen locally.

Very unlikely unless PHP 8 implements is_resource or write() differently. Writing to an already closed socket will always behave like that. Other option is lower sysctl limits for file handles...

Hey @Seldaek my team experiences it on custom PHP application. I can perhaps confirm that the issue started with 8.x branch however I would not necessarily assume that the resources...

@Seldaek and perhaps others - can you try out this quick patch I composed ? Sadly I dont have time to test it. https://github.com/Seldaek/monolog/pull/1884