Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Cron Crawler
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2009 at 22:56 UTC
Updated:
4 Jul 2012 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedIt's better but I doubt I can get this perfect, since multiple threads want to rewrite the cache variables entry; and that's outside the boost code.
Comment #2
mikeytown2 commentedExample Error msg:
Core issue has to do with cache_set() being called by multiple variable_init(), from multiple threads in the bootstrap phase. The above fix tries to minimize the number of times the variable row in the cache table gets flushed.
#561990: Avoid variable_set() and variable_del() stampedes
Comment #3
mikeytown2 commentedcommitted
Comment #5
alexgreyhead commentedUnfortunately this thread is the first result when I Googled for this issue (and several system-cache-related variations of it, too) - I'm seeing a lot of these:
Could Boost's cron crawler be the issue here?
I'd be happy to post up more install details if it would help. Thanks in advance for any ideas you can offer.
Al
Comment #6
mikeytown2 commented@alexharries
It's a core issue; Drupal assumes that only 1 process will be changing the variables table; if 2 processes do it then you get the duplicate entry error. The window of time for this error to occur is less then a second so it doesn't happen all the time. The more threads you run in the crawler the higher the probability that you will get this warning. It's not critical, just annoying. This is something that should be fixed in core.
Post everything in here: #561990: Avoid variable_set() and variable_del() stampedes
I've done as much as I can at the moment to make this error occur less frequently, it up to core to fix it.
Comment #7
alexgreyhead commentedMikey: thank you. I've only just found your reply after searching agian for information on the issue having forgotten that I'd posted this request in the first place!
Thank you for taking the time to post such a detailed reply. I'm going to try setting the crawler to 1 thread instead and see how that works out for me.
Best regards,
Al
Comment #8
vinoth.3v commentedsame error here. I am using latest dev.
But cron crawler is disabled in my install. :(
any solutions?
Comment #9
bgm commented@ vinoth.3v : seems like a different issue. Can you post more details in a new issue? + mention this one in your request as a possible related issue. Thanks.