beyondcode / herd-community

89 stars 1 forks source link

[Bug]: Signal 11 error when running queues #443

Closed saeedvaziry closed 6 months ago

saeedvaziry commented 8 months ago

Operating system version

macOS Latest

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.4.2 Build 22

PHP Version

PHP 8.2.16

Bug description

Frequently getting the following error when running queues with artisan queue:work or artisan queue:listen.

The process has been signaled with signal "11". {"exception":"[object] (Symfony\\Component\\Process\\Exception\\ProcessSignaledException(code: 0): The process has been signaled with signal \"11\". at /Users/saeed.vaziry/Fun/vito/vendor/symfony/process/Process.php:435)

Tried to add more options like disabling memory limit, or max tries or sleep but non works.

Same code via Laravel Sail works fine.

If interested in the codebase: https://github.com/vitodeploy/vito

Steps to reproduce

No response

Relevant log output

No response

mpociot commented 8 months ago

Does it work with a different PHP version? Which queue driver are you using?

saeedvaziry commented 8 months ago

@mpociot tried with 8.1 and 8.2 even tried directly accessing the binaries .../Herd/bin/php81 for example. It runs unstable, sometimes it goes through and sometimes it just dies when I start the queue worker (without even starting to process a job)

mpociot commented 7 months ago

@saeedvaziry where you able to solve this (possible by updating PHP versions)? I'm unable to reproduce this on my end.

saeedvaziry commented 7 months ago

@mpociot Unfortunately not. I switched to Valet. I will try to reproduce this on a different computer and let you know