-
-
Notifications
You must be signed in to change notification settings - Fork 223
Any ideas how to fix locking problem? If I change docs and load locahost/docs multiple times it gets stuck till timeout #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @juslintek, Can you produce a reproducer please? You can fork this project and create a reproducer with your bug, so I can investigate on it. |
Hey, I do not need to create reproducer, problem exists on current latest main branch :-) Just run it in dev mode. Seems like frankenphp --watch spins up lots of coroutine processes which start to lock each other from themselves. And that is mostly caused by any changes that happens with docs. You can add on entity resource description attribute and type in "Here I am". And reload https://localhosts/docs and vuola. Might be Mac M2 and VirtuoFS issue, haven't tested on other settings. |
Likely the same issue as dunglas/frankenphp#886 and dunglas/symfony-docker#641 |
Closing as not related to this repository, please follow the issues linked above for more information about this bug. |
API Platform version(s) affected: 3.3.6
Description
api/vendor/symfony/http-kernel/Kernel.php
get stuck at line 420:if (!flock($lock, \LOCK_EX | \LOCK_NB, $wouldBlock) && !flock($lock, $wouldBlock ? \LOCK_SH : \LOCK_EX)) {
no pun intended. But it happens after several changes to entity resources and requests to http://localhost/docs.How to reproduce
Run this project remove VOLUME in order to get var accessible in local filesystem. And make changes to entities resources, then go to http://localhost/docs and see the timout in 30s happen.
The text was updated successfully, but these errors were encountered: