Home › Forums › Support Forum › read/write errors
Tagged: error, memory_limit
This topic contains 4 replies, has 2 voices, and was last updated by Ceremco Magic 8 years, 9 months ago.
-
AuthorPosts
-
February 7, 2016 at 5:43 am #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.mapIs something wrong with these files?
- This topic was modified 8 years, 9 months ago by Anti-Malware Admin.
February 7, 2016 at 8:48 am #1391Good 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.
February 7, 2016 at 2:36 pm #1393Thanks 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.)
February 7, 2016 at 3:17 pm #1394Under “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.)
February 7, 2016 at 4:39 pm #1395It’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!
-
AuthorPosts
You must be logged in to reply to this topic.