[Resolved] LiteMage - warmup

Status
Not open for further replies.
#1
Good morning,

when warmup cache is enabled I am recieving very often (especially in bigger shops) error in var/report: "General error: 2006 MySQL server has gone away".

Do you have any idea how to optimise warmup to not generate this error?

Kind regards
 

Lauren

LiteSpeed Staff
Staff member
#2
for warm up, right now it is 1 client sequentially request, not multi-threaded. To further reduce the MySQL error, you can set "Only run when load is less than" value lower, so it will run when system not that busy.
If still happens, you may need to tune mysql parameters.
 
#3
Right now I'm not recieving this error, but I solved it in different way. I set "Only Run When Load Is Less Than" on 5 and "Maximum Run Time (seconds)" on 110, because I'm using AOE Scheduler (http://www.magentocommerce.com/magento-connect/aoe-scheduler.html), where max time for cron task is 120.

I will monit situation if such setting is enough, but right now I haven't this error.

Do you think, so low setting for "Maximum Run Time (seconds)" will be ok?
 
#4
Finally I change mysql setting and set "Maximum Run Time (seconds)" on 300 and AOE Scheduler on 400 an its works fine (without errrors), but I've got one more problem.
In logs I see:
2015-12-01T10:20:02+00:00 DEBUG (7): LiteMage: [litemage_walker] load url count = 0
2015-12-01T10:20:02+00:00 DEBUG (7): LiteMage: [litemage_walker] no url list available for warm up

but most of website is not getting from cache.

Accept-Ranges bytes
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Encoding gzip
Content-Type text/html; charset=UTF-8
Date Tue, 01 Dec 2015 10:41:29 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
Server LiteSpeed
Set-Cookie frontend=877dar3f9r7k46upch8dvcmfa4; expires=Tue, 01-Dec-2015 20:41:27 GMT; Max-Age=36000; path=/; domain=sklep.almach.pl; httponly
Transfer-Encoding chunked
Vary Accept-Encoding
X-Frame-Options SAMEORIGIN
X-Powered-By PHP/5.5.30

After opening it once, it's getting from cache again:

Accept-Ranges bytes
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Encoding gzip
Content-Type text/html; charset=UTF-8
Date Tue, 01 Dec 2015 10:41:55 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
Server LiteSpeed
Transfer-Encoding chunked
Vary Accept-Encoding
X-Frame-Options SAMEORIGIN
X-LiteSpeed-Cache hit,litemage
X-Powered-By PHP/5.5.30

In litemage cache settings I have default TTL.
 

mistwang

LiteSpeed Staff
#5
Please try purging LiteMage cache, it should trigger built-in crawler to start crawling.
If it does not populate the URL list, something is wrong.
 
Status
Not open for further replies.
Top