Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Correct way to use lve wrapper

Discussion in 'CloudLinux' started by Rakaris Bakaris, Nov 16, 2017.

  1. Rakaris Bakaris

    Rakaris Bakaris Well-Known Member

    Joined:
    Jan 8, 2015
    Messages:
    62
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello!
    We have noticed that clamsan scheduled scan for /home directories is taken around 50-100% CPU so we want to reduce it for some amount.
    We have tested cron job with 'lve_suwrapper ID' in front of the Cron Clamav run script.

    I have seen non answered questions about Clamav CPU load. Here is thread where CloudLinux is mentioned as cpulimit utility alternative without detailed description, so I have question : What is right way to limit /reduce Clamav CPU usage? Any recommendations / suggestions?
    Updated the topic because I have found the cause of the lost files. I'm opened to any suggestions: Is it safe to use low memory profile of the clamav? What is minimal system requirements of the clamav scan with default profile (I have determined that clamav is killed when the memory is to low)?

    Thank you!
     
    #1 Rakaris Bakaris, Nov 16, 2017
    Last edited: Nov 16, 2017
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    729
    Likes Received:
    248
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I found a thread in the CloudLinux forums (I know its about backups !!) that might be useful as Igor expands on the use of the ID part of the command.

    use lve wrapper to reduce I/O for cpbackup

    Hope this is some help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Rakaris Bakaris

    Rakaris Bakaris Well-Known Member

    Joined:
    Jan 8, 2015
    Messages:
    62
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Thanks, I have already read this topic before I have made changes to my crontab. Now I'm asking for help with safe and trusted approach.
     
  4. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    I've looked into this; however, the wrapper is a binary, so I cannot see what/how it's doing things. I'd recommend asking in the CloudLinux forums. I'd also expect Igor's answer in the above-mentioned thread to be safe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice