-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Symfony memory leak on windows #21753
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
which folder is growing that large inside the cache ? Are you able to determine it ? |
I don't know if this is the case, but the directory used by the HTTP cache is usually the one that grows indefinitely. See #4871 for related issues and PR attempts. |
@stof i cleared the cache now, can reply you later. @javiereguiluz is not my case, dont use http cache (use render_esi to render blocks but not cache http properly) No doctrine cache. This is a large system (253 tables 23 proprietary bundles) but is used by few users (around 300) and few external daily accesses. It's worrying me because soon you will have a lot of external access |
@cirovargas did you manage to investigate more details about this issue? (such as the folder/s that grow the most) |
twig and annotation. if ia modify a template, class or configuration the symfony ever reload. This happens on any windows/apache machine. Permissions on this folders is granted for 'All' read/write and full control |
Some logs:
|
@cirovargas can you try to upgrade to Symfony 3.2? Symfony 3.1 doesn't receive bug fixes anymore. Also, are you able to answer stof's questions?
One more test you could do is to try a fresh installation of standard edition. This will rule out (or confirm) the possibility there's something in your code causing the leaks. |
Could be fixed by #21973, please confirm. |
Rereading, maybe not in fact :) Please upgrade to 3.2 then report again as suggested. |
ping :) |
Closing it due to lack of feedback. Please upgrade to Symfony 3.3 (to be released next week) and reopen this issue if the issue persists. Thanks! |
Which folder inside |
Maybe it's |
I am facing problems with symfony on Windows (Windows Server 2012 R2 Datacenter Edition)
Every day (sometimes more than once a day) the system stop to work because of memory problems:
Symfony is not reading the cache data but reloading the src to each request (the cache folder growing up to 10GB)
The PHP version is 7.0.6 x86, Apache 2.4 MPM WinNT
Restarting the service solves my problem but i believe this solution is not appropriate
The text was updated successfully, but these errors were encountered: