Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-5765

drop_caches: Permission denied in VPS

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Fix Version/s: OpenVZ-legacy
    • Component/s: Containers::Kernel
    • Security Level: Public
    • Environment:
      Operating System: RHEL/CentOS 6
      Platform: All

      Description

      Need to clear the file cache.
      Let's do

      # echo 3 > /proc/sys/vm/drop_caches
      -bash: /proc/sys/vm/drop_caches: Permission denied

      As a result, in order to clear the cache -> must restart VPS


      http://forum.openvz.org/index.php?t=msg&goto=37136&
      http://users.livejournal.com/_winnie/340555.html
      http://serverfault.com/questions/454381/how-to-drop-caches-in-openvz-centos6-container

        Attachments

          Activity

            People

            Assignee:
            khorenko Konstantin Khorenko
            Reporter:
            poiuty@lepus.su poiuty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: