Symfony seems to be somewhat resource hungry under some conditions and would leave trail of PHP errors indicating that there is “Too many open files”. There are several discussions on the topic suggesting that garbage collection mechanism does not close open files in some cases (ex: ConsoleOutput code). While it is always good to clean up after yourself when working with file handlers in any code, modifying the production code to address this issue may not be quick solution. Way around it is to increase file limit in Linux Using ulimit (SSH) Note: This may not be very reliable method as most systems would not allow it. But if allowed would be easiest method to address the issue First, check what Read more…