1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Steve Venter
  2. 28.03.2014
  3.  Subscribe via email
This will be an excellent tool to speed up our servers - if I can get it working!
Installed, then ran 

optimumcache mark --recursive /home

but that just resulted in thousands of these errors:


optimumcache: Unable to set temporary attribute on /home/jakkalsk/public_html/wp-includes/fonts/dashicons.ttf: Operation not supported
optimumcache: Unable to set temporary attribute on /home/jakkalsk/public_html/wp-includes/fonts/dashicons.woff: Operation not supported
optimumcache: Unable to set temporary attribute on /home/jakkalsk/public_html/wp-includes/fonts/dashicons.svg: Operation not supported
optimumcache: Unable to set temporary attribute on /home/jakkalsk/public_html/wp-includes/fonts/dashicons.eot: Operation not supported
optimumcache: Failed to mark /home/jakkalsk/public_html/wp-includes/fonts: Operation not supported

I checked /var/cache/optimumcache and it's empty

have I done something wrong, or is OptimumCache not ready for primetime yet?
Rate this post:
  1. 28.03.2014 14:03:38
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Are you sure you are using ext4 and not ext3 for /home partition?
  1. 28.03.2014 14:03:56
  2. # 2
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
Yes:

file -s /dev/sda3
/dev/sda3: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (large files) (huge files)
  1. 28.03.2014 14:03:16
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
If you could provide us with access to investigate (using helpdesk.cloudlinux.com) -- I would appreciate it. It is new software, so, I haven\'t seen this issue on ext4 filesystem yet. Maybe some mount option prevents it from happening.
  1. 28.03.2014 14:03:14
  2. # 4
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
Sure, I\'ll do that now. Thanks, Igor, I\'m really looking forward to getting this working.
  1. 28.03.2014 15:03:46
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
The solution seems to be adding user_xattr to mount options list for partition. Most people don\'t need it, but if you are getting same error, you might want to do it.

To do that, edit /etc/fstab, and add user_xattr to mount option list for that partition

Than, run:
mount /partition -o remount,user_xattr

This should produce no downtime, but be careful with fstab -> double check the spelling, etc...
  1. 28.03.2014 15:03:33
  2. # 6
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
Thanks, that has fixed the problem.
How do we know that OptimumCache is working? Is there a way to monitor it?
  1. 28.03.2014 23:03:50
  2. # 7
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
optimumcache stat /home

will get you % of files cached.
  1. 29.03.2014 04:03:15
  2. # 8
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
So this means that nothing is being cached (after 12 hours):


optimumcache stat /home
csums:           0 (0.0%)
           fetched   uncached     cached
inodes:     259348     259348          0 (0.0%)
size:     17768278   17768278          0 (0.0%)
RAM:      11859280   11859280          0 (0.0%)
  1. 29.03.2014 17:03:16
  2. # 9
bettinz Accepted Answer
Posts: 12
Joined: 19.01.2013
0
Votes
Undo
Same here:
after optimumcache mark --recursive /home 
without errors, this is the situation:

optimumcache stat /home
csums:           0 (0.0%)
           fetched   uncached     cached
inodes:     109050     109050          0 (0.0%)
size:      4140146    4140146          0 (0.0%)
RAM:       1046260    1046260          0 (0.0%)
  1. 29.03.2014 23:03:40
  2. # 10
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
We are looking into this. Something is not working right with the our setup.
  1. 02.04.2014 16:04:22
  2. # 11
Steve Venter Accepted Answer
Posts: 28
Joined: 24.06.2010
0
Votes
Undo
Igor, I have upd ated to the new version of Optimumcache, and on all servers, including the one where you added user_xattr to fstab, the same error appears:


optimumcache: Unable to se t temporary attribute on /home/flamboij/public_html/wp-content/uploads/2012/08/IMG_0778-400x500.jpg: Operation not supported
  1. 02.04.2014 16:04:09
  2. # 12
Kevin Accepted Answer
Posts: 1
Joined: 28.11.2011
0
Votes
Undo
Same here, I tried the new version an got the same errors. Also the /var/cache/optimumcache directory is still empty.
  1. 26.04.2014 17:04:47
  2. # 13
kernow Accepted Answer
Posts: 72
Joined: 06.08.2010
0
Votes
Undo
Am getting simular:
optimumcache: Unable to set temporary attribute on /home/quota.user: Operation not permitted



optimumcache: Unable to set temporary attribute on /home/username/mail/domain-name/firehorse/dovecot.index.log: Device or resource busy
  1. 27.04.2014 11:04:40
  2. # 14
kernow Accepted Answer
Posts: 72
Joined: 06.08.2010
0
Votes
Undo
Hi,
Thanks for that. The only other thing is this, these messages  keep coming up in the logs. Restarting Optimumcache fixes it it for a while but they come back:

/var/log/messages:Apr 27 13:00:06 optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:12 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:18 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:24 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:30 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:36 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:42 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:48 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:00:55 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?Apr 27 13:01:01 phoenix optimumcache[63999]: Csum differ for 63/68616e67652d67756172640000000000000000 : 2f8e16ce913d27545c31c6f9afaa3adefd6859c2#012Write collision?
  1. 28.04.2014 05:04:33
  2. # 15
kernow Accepted Answer
Posts: 72
Joined: 06.08.2010
0
Votes
Undo
/var/share/optimumcache_check
-bash: /var/share/optimumcache_check: No such file or directory
optimumcache_check does not exist
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.