Cache errors

129 views
Skip to first unread message

Jacob Baungard Hansen

unread,
May 17, 2014, 11:25:17 AM5/17/14
to openlitespee...@googlegroups.com
Hi,

Just playing around with the cache module a bit, but it seems like it is not working correctly.

I am getting the following:

2014-05-17 15:14:10.055INFO[Module-Cache]checkAssignHandler Add Hooks.
2014-05-17 15:14:10.055ERROR[Module-Cache]cacheTofile error 2.
2014-05-17 15:14:46.698INFO[Module-Cache]checkAssignHandler Add Hooks.
2014-05-17 15:14:46.698ERROR[Module-Cache]cancel cache.

cachedata directory:

drwx--S---  8 nobody nogroup  4096 May 17 15:14 cachedata

Server is running as: user(nobody) : group(nogroup)

(changing permissions to something like 777 had no effect).

And I do not get any X-LiteSpeed-Cache entries in the HTTP response headers.

  1. Content-Encoding:
    gzip
  2. Content-Type:
    text/html
  3. Date:
    Sat, 17 May 2014 15:20:15 GMT
  4. Etag:
    "68d-537774af-82dcc"
  5. Last-Modified:
    Sat, 17 May 2014 14:39:43 GMT
  6. Server:
    LiteSpeed
  7. Transfer-Encoding:
    chunked
  8. Vary:
    Accept-Encoding

Looking inside the cachedata directory I do see that there is a structure of directories inside however there are no files inside.

Can anyone else confirm this or otherwise help in debugging this?

George Alin

unread,
May 17, 2014, 12:42:35 PM5/17/14
to openlitespee...@googlegroups.com
I too confirm this. There are many directories created but they are empty.
The data that "supposed" to be cached isn't there.

David

unread,
May 19, 2014, 9:32:01 AM5/19/14
to openlitespee...@googlegroups.com
Yes, the cache was not created, so that while serving, there is no  X-LiteSpeed-Cache entry in the HTTP response headers.
Can you tell us what is your cache parameters?

Thanks.
David
--
You received this message because you are subscribed to the Google Groups "OpenLiteSpeed Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlitespeed-deve...@googlegroups.com.
To post to this group, send email to openlitespee...@googlegroups.com.
Visit this group at http://groups.google.com/group/openlitespeed-development.
For more options, visit https://groups.google.com/d/optout.

Jim Papas

unread,
May 19, 2014, 3:05:18 PM5/19/14
to openlitespee...@googlegroups.com
I am getting the same error on the main page of openlitespeed when i use siege benchmark :)
To unsubscribe from this group and stop receiving emails from it, send an email to openlitespeed-development+unsub...@googlegroups.com.

Jacob Baungard Hansen

unread,
May 19, 2014, 3:18:23 PM5/19/14
to openlitespee...@googlegroups.com
I am using the default parameters as shown on the documentation page.

Setting enableCache to 1 causes the same behaviour. 

enableCache 0
qsCache 1
reqCookieCache 1
respCookieCache 1
ignoreReqCacheCtrl 0
ignoreRespCacheCtrl 0
expireInSeconds 2000
maxStaleAge 1000
enablePrivateCache 1
privateExpireInSeconds 1000

David

unread,
May 19, 2014, 3:49:43 PM5/19/14
to openlitespee...@googlegroups.com
Please set the 2 ignore... to below and  do a test
ignoreReqCacheCtrl 1
ignoreRespCacheCtrl 1
Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to openlitespeed-deve...@googlegroups.com.

George Alin

unread,
May 22, 2014, 6:28:16 AM5/22/14
to openlitespee...@googlegroups.com
Still not working...

David

unread,
May 22, 2014, 9:11:51 AM5/22/14
to George Alin, openlitespee...@googlegroups.com
It seems this is because for some reason that  the cache was cancelled.
Our next release is on the way and in that version it will provide more logs.
Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to openlitespeed-deve...@googlegroups.com.

lsmichael

unread,
Jul 8, 2014, 5:31:51 PM7/8/14
to openlitespee...@googlegroups.com, staff...@yahoo.com
Hi George,

1.3.3 is out now and should solve this issue. Please let us know if it doesn't!

Cheers,

Michael
To post to this group, send email to openlitespeed-development@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages