Skip to content

Any ideas how to fix locking problem? If I change docs and load locahost/docs multiple times it gets stuck till timeout #416

Closed as not planned
@juslintek

Description

@juslintek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions