• Resolved arantzazu

    (@arantzazu)


    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

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter arantzazu

    (@arantzazu)

    Hi,
    we have increased server resources but we get the message “508 Resource limit is reached”.
    We have checked that MScan uses 8 GB of RAM, which I consider excessive.

    Thank you so much.

    Plugin Author AITpro

    (@aitpro)

    Ok yeah something is definitely not right on your server or the support folks are reading the data/resource usage incorrectly, but obviously there is a problem somewhere with your server config. MScan scanning uses 4MB – 6MB for every 8,000 files scanned + DB scanning On for an average sized WP DB. CPU usage should only be around 4% for every 8,000 files + DB Scanning On during scanning. My best guesses would be that the way your server is configured is causing the excessive memory usage (could be a simple solution/fix in the server’s php.ini or .user.ini file) or your PHP server build/install is fubar (try switching to a different PHP server version in your control panel temporarily) or server-side caching is related to this problem.

    Plugin Author AITpro

    (@aitpro)

    Also the highest peak memory usage I have recorded has been 25MB when scanning 8,000 files + an avg size DB, which only occurs very briefly (1 second max) at a couple of points in a scan.

    On an average WP site with 3,700 files + an avg size DB the maximum peak memory usage (1 second max) is 16MB.

    Plugin Author AITpro

    (@aitpro)

    Checking on the status of this problem. Have you had a chance to figure out what is causing this problem on your host server?

    Thread Starter arantzazu

    (@arantzazu)

    Hi,
    the handler has been changed to FPM, and now the scan is completed without any problems.
    What do you think about that?

    Thank you so much for your help and patience.

    Best regards

    Plugin Author AITpro

    (@aitpro)

    Makes sense. Glad that you got this problem figured out. Below is some info on FPM (FastCGI Process Manager) from php.net.

    https://www.php.net/manual/en/install.fpm.php

    FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites.

    These features include:

    advanced process management with graceful stop/start;

    ability to start workers with different uid/gid/chroot/environment, listening on different ports and using different php.ini (replaces safe_mode);

    stdout and stderr logging;

    emergency restart in case of accidental opcode cache destruction;

    accelerated upload support;

    “slowlog” – logging scripts (not just their names, but their PHP backtraces too, using ptrace and similar things to read remote process’ execute_data) that are executed unusually slow;

    fastcgi_finish_request() – special function to finish request and flush all data while continuing to do something time-consuming (video converting, stats processing etc.);

    dynamic/static child spawning;

    basic SAPI status info (similar to Apache mod_status);

    php.ini-based config file.

    Plugin Author AITpro

    (@aitpro)

    Resolving this thread.

    Thread Starter arantzazu

    (@arantzazu)

    Hi,
    I’ve updated the plugin to the last release 5.5, but now I can’t see the progress bar when MScan is scanning, besides, the scan never ends.
    Why is this happening?

    Thank you so much.

    Best regards

    Plugin Author AITpro

    (@aitpro)

    Nothing changed in MScan in BPS 5.5. What probably has happened is that something changed on your host server. A couple of people on Namecheap hosting are seeing the blank MScan status popup window. I was able to get 1 successful scan by clicking the Delete File Hashes Tool. Important!!! When you use the Delete File Hashes Tool that deletes all of your WP Core, Plugin and Theme hashes. New file hashes will be created on the first scan, which can take several minutes to complete. No file scanning is done on the first scan since WP Core, Plugin and Theme hashes are being created. The next scan will scan files. Another issue that I have seen a few times now is the Plugin and/or Theme zip files are not successfully being downloaded from ww.wp.xz.cn. There is some kind of random communication/connectivity issue occurring. I will need to add some kind of error checking code in MScan for this scenario – ie “a communication/connectivity error occurred with ww.wp.xz.cn. Plugin zip files were not downloaded successfully. Do X”.

Viewing 9 replies - 16 through 24 (of 24 total)

The topic ‘mscan process not working properly’ is closed to new replies.