# How to set keys\_zone for proxy\_cache\_path on linux

**URL:** <https://www.ruby-forum.com/t/how-to-set-keys-zone-for-proxy-cache-path-on-linux/221861>\
**Category:** NGINX\
**Created:** [August 2, 2012, 12:09pm UTC](https://www.ruby-forum.com/t/how-to-set-keys-zone-for-proxy-cache-path-on-linux/221861 "2012-08-02T12:09:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 2, 2012, 12:09pm UTC](https://www.ruby-forum.com/t/how-to-set-keys-zone-for-proxy-cache-path-on-linux/221861/1 "2012-08-02T12:09:56Z")

</div>

Hi,

I was wondering how to set the keys\_zone parameter of the  
proxy\_cache\_path.

The wiki says  
"Zone size should be set proportional to number of pages to cache. The  
size of the metadata for one page (file) depends on the OS; currently it  
is 64 bytes for FreeBSD/i386, and 128 bytes for FreeBSD/amd64. "

Are these numbers also true for linux? If not, what are they?

Isaac
