Announcement

Collapse
No announcement yet.

How to temporary disable malware scanner?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to temporary disable malware scanner?

    Hello,

    When we use the WHM "Transfer Tool" to move cpanel accounts to our servers, it causes Imunify360 malware scanner to go crazy with very high io usage. (I assume the scanner is checking all the new files that are arriving from the remote server, as each new cpanel account is created.)

    However.. this causes a problem because the server load goes very high and disk io wait% is very high. The result is a very slow server, and our customers complain. (I have already set maximum number of concurrent transfer to "1".)

    Is it possible to temporarily disable the malware scanner while we do the WHM transfers? How can we do this using command line? (How to disable and then later re-enable using command line?)

    Thanks!

  • #2
    Hello,
    Thank you for reaching out! Try temporarily disabling these options until you are finished with WHM "Transfer Tool" to move cPanel accounts:

    Code:
    # imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_inotify": false}} && imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_modsec": false}} && imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_pure_ftpd": false}}
    Then, to enable, use these commands

    Code:
    # imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_inotify": true}} && imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_modsec": true}} && imunify360-agent config update {"MALWARE_SCANNING": {"enable_scan_pure_ftpd": true}}
    It looks like this is related to realtime scanning, described in more detail here https://docs.imunify360.com/dashboard/#malware
    Hope to hear from you soon.

    Comment

    Working...
    X