# Config parameters for publisher vs gateway

**URL:** <https://cernvm-forum.cern.ch/t/config-parameters-for-publisher-vs-gateway/331>\
**Category:** Publisher / Stratum 0\
**Created:** [July 25, 2023, 9:58pm UTC](https://cernvm-forum.cern.ch/t/config-parameters-for-publisher-vs-gateway/331 "2023-07-25T21:58:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rptaylor](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@rptaylor](https://cernvm-forum.cern.ch/u/rptaylor)\
**Post date:** [July 25, 2023, 9:58pm UTC](https://cernvm-forum.cern.ch/t/config-parameters-for-publisher-vs-gateway/331/1 "2023-07-25T21:58:31Z")

</div>

Hello,

Following up from [failed publishing from publisher node results in orphaned lease · Issue #3272 · cvmfs/cvmfs · GitHub](https://github.com/cvmfs/cvmfs/issues/3272) and related to  
[Loading...](https://sft.its.cern.ch/jira/browse/CVM-1889)  
[Loading...](https://sft.its.cern.ch/jira/browse/CVM-2057)

Is there a way to know which settings are applicable on a gateway, publisher, or both?  
In particular what about these ones?

CVMFS\_SYNCFS\_LEVEL=cautious  
CVMFS\_ENFORCE\_LIMITS=true  
CVMFS\_ROOT\_KCATALOG\_LIMIT=50  
CVMFS\_NESTED\_KCATALOG\_LIMIT=200  
CVMFS\_AUTOCATALOGS=yes

In general it is always best to apply configuration only where it is applicable, avoiding dead configuration that might appear to be doing something but actually does not.

---

<div class="post-metadata">

**Author:** ![vavolkl](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/v/ebca7d/32.png) [@vavolkl](https://cernvm-forum.cern.ch/u/vavolkl)\
**Post date:** [July 31, 2023, 7:51am UTC](https://cernvm-forum.cern.ch/t/config-parameters-for-publisher-vs-gateway/331/2 "2023-07-31T07:51:58Z")

</div>

That’s a very good question - in principle all of these apply to both. It is not really necessary to set many of these parameters separately for gateway and publisher though - so we could try to reduce the duplication by having publishers pick some of these up from the gateway for example. Needs some further thought, I’ll create an issue!

---

<div class="post-metadata">

**Author:** ![system](https://cernvm-forum.cern.ch/uploads/default/original/1X/3e336816dfbfe00295701fad16d3bf5b3fca3a02.jpeg) [@system](https://cernvm-forum.cern.ch/u/system)\
**Post date:** [August 15, 2023, 7:52am UTC](https://cernvm-forum.cern.ch/t/config-parameters-for-publisher-vs-gateway/331/3 "2023-08-15T07:52:59Z")

</div>

Closed on August 15, 2023, 7:52am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
