Rob Landers

Results 541 comments of Rob Landers

Maybe this is because Pool uses SIGCHLD to notify the parent when a child process is completed? @AlliBalliBaba, I wonder how frankenphp workers handles this? I'm away from a computer...

@dunglas it doesn't look like it uses forks, it just spawns a new `php` process and when that process is done, it sends a SIGCHLD signal back to frankenphp.

@jhorlima a segfault can happen for many reasons, and may be completely unrelated to the async package. If I had to take a guess, its that pcntl registers a SIGCHLD...

It might be worth opening an issue there to return `false` here: https://github.com/spatie/async/blob/main/src/Pool.php#L63-L70 when in the context of frankenphp, which will cause it to fallback to a synchronous mode instead...

WebSockets are pretty hard to scale, while SSE is much safer and easier to scale horizontally. The industry has been moving away from using WebSockets as much as possible. The...

It sounds like there may be a memory leak somewhere, on the PHP side where things aren’t properly cleaned up on a `die`'d request. You don’t mention what framework you’re...

Thanks for the clarification. I see there are multiple issues being discussed here, so let me address them separately: 1. The dd() behaviour In your original issue, you noted that...

> I increased the memory limit to 2gb and I do not get the memory exhausted error anymore Could it be that your exception trace is huge, or you’re dumping...

> > > I increased the memory limit to 2gb and I do not get the memory exhausted error anymore > > > > Could it be that your exception...

My last commit breaks classes, but is needed for functions-only extensions. I'll need to make that import conditional on whether or not there are classes present and add a test...