mscan process not working properly
-
Hi,
I’ve updated the plugin to the latest release 4.8 but when I try start scan option, I can’t see any progress band, the process blocks the page and nothing can’t be seen or done.
The backend and the frontend are unavailable and the browser keeps loading the page in blank.
After some minutes, I’ve been able to access to both frontend and backend.
Is there anything wrong with this release? I suppose I should be able to scan the website without having this problem.Any help would be very appreciated.
Thank you so much.Best regards
-
Yeah the iframe method I went with is not reliable/consistent in every environment. Tried several different methods to display the gimmicky stuff and what is the most consistent thing is launching a new Browser window to display the gimmick stuff. I spent a fair amount of time with the js code to make the time calculation js code very accurate down to within 10 secs. Long story short the next BPS version release works in every possible environment and with every Browser except Firefox. Firefox has a security feature that breaks POST requests, which in turn breaks the MScan js processing code. The whole process is pretty complex. ie AJAX => php at points => js and Jquery at various points in the process. ETA for the new BPS version release is about 7 days from now. On a positive note the months I put into getting the MScan core scanning engine coding up to par = rock solid scanning/results. 😉
-
This reply was modified 5 years ago by
AITpro.
Hi,
thank you so much for clarifying.
Can I wait for the next release? or should I update for security reasons?Kind regards
Rereading the original problem is making me think you might have something else going on. I’m thinking maybe a php memory issue. Go to the BPS System Info page and let me know what you see for this > PHP Memory Usage. Also let me know how many plugins you have installed.
-
This reply was modified 5 years ago by
AITpro.
Hi,
PHP Memory Usage: 46.84 MB and there are 25 plugins installed in the site.Thank you!
Best regards
Oops forgot to ask what you see for your > PHP Actual Configuration Memory Limit. I could be guessing wrong, but it’s worth eliminating. 😉
Hi,
PHP Actual Configuration Memory Limit is 256MB, is it enough?Thank you!
Best regards
Ok the next troubleshooting step would be to check your php error log file for any clues and also your server log for clues. No one else has reported this problem to me. So it’s not a bug besides the other issue with the progress bar itself. I have a feeling the other problem is going to be related to ModSecurity. Ask to your host support folks to check for any ModSecurity errors.
Actually I’ve decided to release a new BPS version in the next day or so, which will most likely solve the issue with your host, ModSecurity or whatever else might be going on. So hold off on contacting your host. Was hoping to get some other new things done in the next version release, but those new things are turning out to be more time consuming than I originally thought.
-
This reply was modified 5 years ago by
AITpro.
Ok, I’ll wait for the next release and I’ll tell you if it is solved.
Thank you so much for your help.BPS 4.9 will be released today at 4pm.
Hi,
I’ve tested the new release but now I get the following message:
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.Therefore, the problem is still there.
Thank you so much for your help.
Best regards
Ok so it was not a php memory problem and sounds like you are out of allotted disk space. Maybe your host can increase your disk space or maybe you can do that from your control panel or maybe you need to manually delete some files.
Or it may just be that your host server is overloaded or they have strict limits on resource usage. Do you have Shared, VPS or Dedicated hosting?
Or maybe you are scanning too many files at one time. I stress tested MScan up to scanning 30,000 files in a single scan and the scan completed successfully. The typical range of files for WordPress sites is > 3,000 to 8,000 files. Try unchecking all folders except for wp-admin, wp-content and wp-includes, save your changes and run another scan.
Another possibility could be that scanning your database is causing the overload. Try changing this MScan option setting > Scan Database > Database Scan Off, save your changes and run another scan.
Hi,
I’ve changed MScan settings and unchecked all folders except for wp-admin, wp-content and wp-includes as you suggested but I’m still getting the message:
“508 Resource Limit is reached
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.”After 25 minutes, the browser shows the message:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.The hosting is shared. It sounds like the hosting is limited to perform this task, doesn’t it?
Thank you so much for your help.Best regards
Yeah I’m thinking that is what is going on. Hosts can limit resources so that their servers don’t get overloaded. Not trying to pass blame. If other people were running into this same problem then I would recheck my MScan code. MScan scanning does use a fair amount of memory, but it’s a reasonable amount and not excessive. It could simply be that your particular host server has too many accounts on it and moving your account to another server would take care of this issue. What I suggest you do at this point is contact your host and get them involved in this issue.
-
This reply was modified 5 years ago by
The topic ‘mscan process not working properly’ is closed to new replies.