read/write errors

Home Forums Support Forum read/write errors

This topic contains 4 replies, has 2 voices, and was last updated by  Ceremco Magic 8 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1390

    At the end of the scan I get the same read/write errors everytime:
    Read/Write Errors
     

    …/plugins/mailchimp-for-wp/assets/js/forms-admin.js
    …/plugins/mailchimp-for-wp/assets/js/forms-admin.min.js.map

    Is something wrong with these files?

    #1391

    Anti-Malware Admin
    Key Master

    Good question. The permission look right on those files so I would guess that it has to do with the memory_limit in your php.ini file being set too low for scanning larger files.

    #1393

    Thanks for your response! Is there a way I could just rescan those files / that directory? Doing a whole Plugins scan takes another 30 minutes.

    Current memory limit seems to be 128M. These files are 500 and 800 kb. To where should I increase my memory limit?

    (I have noticed that Anti Malware is quite a memory hogger anyway. If that’s necessary, it’s a good price to pay, but keep it in the back of your mind if at any time you want to optimize.)

    #1394

    Anti-Malware Admin
    Key Master

    Under “What to scan:” click on “plugins” and then check the box for “mailchimp-for-wp” in the popup for “Only Scan These Folders:”.

    You could try increasing the memory limit to 256M but normally 128M should be enough. Maybe it’s having trouble with those files for some other reason. It is a pretty unusual that it would take 30 minutes just to scan the plugins directory. Your server may just be really under-powered regardless of your php.ini settings.

    (I do my best to consider the efficiency of the scan process, however it is always going to be taxing on your server to read and parse every file looking for malicious patterns in the code. As a comparison to your server, it take less than 10 minutes to scan the plugins directory on one of my sites and I have over 60 plugins, with almost 4000 files scanned.)

    #1395

    It’s a small instance. 1 cpu, 1gb ram. I don’t really want to increase the memory limit as there’s more (important) things running that need their memory as well.

    I’ve run it again just to see if it would output anything into the error log, but it doesn’t. Would be great to get some error information out of it. Maybe something for a future version? :)

    I’ll just accept it for now. The files have been double checked against the original repo anyway, so I know they haven’t been modified. This whole scan was a “just to be sure” thing. Not a response to a hack.

    Thanks for your support! Keep up the great work!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Comments are closed.