Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 525
    • Issues 525
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 96
    • Merge requests 96
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #538
Closed
Open
Created Sep 11, 2018 by nan@wang🚴🏽

max-cache-size value by default is set to maximum value of uint64_t in chroot mode

Summary

The max-cache-size is set to the max value of uint64_t in chroot mode by default.

Steps to reproduce

Run named in chroot mode.

What is the current bug behavior?

The max-cache-size is set to the max value of uint64_t in chroot mode.

What is the expected correct behavior?

By default, the max-cache-size should be set to the 90% of the physical memory size.

Relevant configuration files

Relevant logs and/or screenshots

Run in choot mode: 11-Sep-2018 13:45:55.660 none:99: 'max-cache-size 90%' - setting to 175921860444MB (out of 17592186044415MB)

Run in normal mode: 11-Sep-2018 13:50:34.153 none:100: 'max-cache-size 90%' - setting to 174419MB (out of 193799MB)

Possible fixes

Some configuration files might be copied to chroot/etc/ like localtime, but I have no idea what configuration files should be copied.

Assignee
Assign to
Time tracking