You are hereForums / Support / CACHE_FULL YOUTUBE Cache directory

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

CACHE_FULL YOUTUBE Cache directory


3 replies [Last post]
Offline
Joined: Mar 4 2010
CACHE_FULL YOUTUBE Cache directory

I am running 1.9.3 and now getting these errors.

2010-04-02 07:04:48,284 24981 X.X.X.X qP4Rb5B9yQA CACHE_FULL YOUTUBE Cache directory '/opt/squid5/videocache1/' has reached the disk availability threshold.

DISK SPACE:
/dev/sdf1 140489876 133357600 0 100% /opt/squid5

enable_video_cache = 1
cache_host = X.X.X.X:38080
proxy = http://X.X.X.X:3128/
proxy_username =
proxy_password =
hit_threshold = 1
base_dir = /opt/videocache/:100000
disk_avail_threshold = 100
temp_dir = tmp
max_parallel_downloads = 30
enable_videocache_cleaner = 1
video_lifetime = 30
logdir = /opt/videocache/log
max_logfile_size = 1024
max_logfile_backups = 8
rpc_host = X.X.X.X
rpc_port = 9100

I have it set to 100G of storage and I have a 140G disk drive. It seems to just fill the drive up and stops caching.

Anyone have any ideas?

thx
steve

admin's picture
Offline
Joined: Nov 2 2008

Hi Steve,

We don't limit cache size anymore because cache size calculation is a CPU intensive process and it can really choke your CPU if we start calculating cache size every one in a while (because in the long run there will be few hundred thousand videos in cache directories). Instead we use disk_avail_threshold which is the space in that particular partition on hard drive that should be empty all the time.

Please let me know if you more queries.

Thank You!

Offline
Joined: Mar 4 2010

Okay

I wiped all three production servers and set them to this:

disk_avail_threshold = 10000

That should keep the drives from filling up completely.

thx
steve

admin's picture
Offline
Joined: Nov 2 2008

Hi!

You can use vccleaner for efficient cleanup. Or even set a cron job for vccleaner. That'll work better :)

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 158 guests online.