Closed (cannot reproduce)
Project:
Purge
Version:
7.x-1.5-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2012 at 15:09 UTC
Updated:
23 Apr 2013 at 20:57 UTC
In the error case of the do...while loop which is in line 138 the $curl_purges are not closed. When running into this code a huge amount of memory is not freed.
I tried fixing this, but unfortunately I'm not a very experienced PHP programmer, so I didn't had success. However, on my site I'm running frequently into this issue, always stopping the processing of an import script where much data is updated/added.
Comments
Comment #1
SqyD commentedHi Martin,
Thanks for you bug report. I'd like to find out if this is specific to your setup. Is the problem reproducible on other (development) setups?
Could you please provide some more details if available?
- PHP version
- LibCurl version (older versions of libcurl are known to have issues. Could you try to upgrade in you case?)
- Some idea what error libcurl encounters (timeout, 503, etc)
- Any other data you might have (logs, traces etc)
The 7.x-2.x branch I am working on should have more options besides curl. I'll inform you when it's functional so you could try if using the alternatives httprl and drupal_http_request solves the issuse.
Comment #2
SqyD commentedStill not sure how serious this issue is and how to reproduce/test/diagnose this... Please clarify.
Comment #3
SqyD commented