Comprehensive data protection for all workloads
Post Reply
averylarry
Veteran
Posts: 264
Liked: 30 times
Joined: Mar 22, 2011 7:43 pm
Full Name: Ted
Contact:

Disable metadata caching?

Post by averylarry »

The new caching feature is killing my servers. I've doubled the ram and tripled the paging file and I still run out of memory, which locks up my server.

Can it be disabled?
averylarry
Veteran
Posts: 264
Liked: 30 times
Joined: Mar 22, 2011 7:43 pm
Full Name: Ted
Contact:

Re: Disable metadata caching?

Post by averylarry »

I think the metadata gets read into memory when the job starts instead of when the job is actually processing. I have a lot of jobs but they sit in a pending state until proxy resources are available. If I'm right about when the memory is consumed, I would probably not have so many problems if the metadata was cached only when the job is actively processing instead of sitting in a pending state.

Also -- is it possible that the same metadata is being cached multiple times? I have multiple replication jobs that use the same source backup job.

Just thinking out loud through my keyboard.
tsightler
VP, Product Management
Posts: 6035
Liked: 2860 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Disable metadata caching?

Post by tsightler »

Yes, you can disable the cache. From a "Word from Gostev" several weeks ago:
You can simply disable the cache with the AgentReadOnlyCache (DWORD) = 0 registry value.
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Disable metadata caching?

Post by foggy »

Ted, you're talking about regular backup jobs, right?

Generally, metadata should be placed in cache on opening restore point, right prior to actual data processing. However, there's probably some place for improvement, I would appreciate if you could open a case and let our engineers analyze how resource scheduling works in your particular case. Could be due to some specifics of your environment.
averylarry
Veteran
Posts: 264
Liked: 30 times
Joined: Mar 22, 2011 7:43 pm
Full Name: Ted
Contact:

Re: Disable metadata caching?

Post by averylarry »

I'll try the agentreadonlycache reg setting. For others reading this it is (I believe) to be added to HKLM\Software\Veeam\Veeam Backup and Replication

I have 11 backup jobs and 17 replication jobs. The replication jobs are all scheduled to start after their corresponding backup job since they use the backup job as the source. I regularly have a dozen jobs running, but only a couple of them will be concurrently active (not in a pending state) due to proxy/repository set limits.

Everything uses the optimized for WAN block size because my WAN speed is my bottleneck.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Disable metadata caching?

Post by veremin »

Yep, all VB&R registry keys should go to the standard HKLM\SOFTWARE\VeeaM\Veeam Backup and Replication hive.

Also, we'd appreciate if you open a ticket regarding the experienced behaviour just so we're sure nothing unexpected is happening.

Thanks.
averylarry
Veteran
Posts: 264
Liked: 30 times
Joined: Mar 22, 2011 7:43 pm
Full Name: Ted
Contact:

Re: Disable metadata caching?

Post by averylarry » 1 person likes this post

Case # 00954403
averylarry
Veteran
Posts: 264
Liked: 30 times
Joined: Mar 22, 2011 7:43 pm
Full Name: Ted
Contact:

Re: Disable metadata caching?

Post by averylarry »

And I didn't have any problems last night after using the reg entry.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 66 guests