Thanks to visit codestin.com
Credit goes to github.com

Skip to content

failed to open stream: Resource temporarily unavailable #23097

Closed
@sergioatzori

Description

@sergioatzori
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.4.0-DEV

I'm experiencing this since 3.3. When I run my Behat tests, randomly happens to get this error that stops behat:

[Symfony\Component\Debug\Exception\ContextErrorException]                                                                                                                                        
 Warning: file_put_contents(/home/xxxx/CORE/var/cache/api-backoffice/bdd/appBddDebugProjectContainerDeprecations.log): failed to open stream: Resource temporarily unavailable 

I've no memory limits set in php for cli:

$ php --version
PHP 7.0.19-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.19-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies
$ cat /etc/php/7.0/cli/php.ini |grep memory_limit 
memory_limit = -1

This never happens when I call api's endpoint outside behat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions