Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter davidmara

    (@davidmara)

    just want add that same behaviour is on all sites on EuroVps hosting accounts I have. Scans simply dont work… When activity shows “Analyzed 1600 files containing 25.75 MB of data so far” it always stop there and scanning forever,,

    Thread Starter davidmara

    (@davidmara)

    can somebody gimme some idea what to do ? I cant finsih worldfence scan on any site IM running on litespeed

    Thread Starter davidmara

    (@davidmara)

    is actually this free support forum working ? I know its free but expected at least some reply.. Some of my sites are under heavy attacks so decided to go with wordfence, but seems like its not working under litespeed even with that htaccess code and various max execution time for each scan ( tried many settings). With value of 10 or empty (default) scan goes up to 1.700 files and than stay there forever. If set to 15 or bigger scan stop on 200-400 files scan. I didnt find any more info how to make it work on litespeed besides those two hints I both tried without luck.

    Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Just to confirm, are you using the newer version of the LiteSpeed code here? We’re reorganizing our documentation, and I believe there is still an old copy at another location:
    https://docs.wordfence.com/en/LiteSpeed_aborts_Wordfence_scans_and_updates._How_do_I_prevent_that%3F

    If that does not help, turn on “Enable debugging mode (increases database load)” at the bottom of the Diagnostics page, and see if any error messages appear when the scan stops running. If no errors appear, can you check the site’s error log file(s)?

    -Matt R

    Thread Starter davidmara

    (@davidmara)

    Thanks for info Matt. I have correct htaccess code. I played with max execution time in options. If its below 300 it just hang on some file during scan. If I set it to defaul value so i dont enter anything ( I think its 450 as its in diag) Than it hangs on
    [Apr 20 19:20:27] Scan process ended after forking.

    If I set it to 600 it hangs on :[Apr 20 23:33:39] Scan engine received request.
    [Apr 20 23:33:39] Checking cronkey
    [Apr 20 23:33:39] Fetching stored cronkey for comparison.
    [Apr 20 23:33:39] Wordfence could not find a saved cron key to start the scan so assuming it started and exiting.

    I checked site logs, but there is not any error. I have 4 WP sites with custom themes – all on EuroVPS shared hosting which use LItespeed on all their shared servers. Problem is same on all sites – IM unable to finish scan on any of my site,

    Plugin Author WFMattR

    (@wfmattr)

    Wow, for max_execution_time, that’s quite a while — most sites we see have 30-60 seconds instead. I’m not quite sure why a shorter value like 300 would hang without a more specific message.

    But the “Scan process ended after forking” message without other messages the end of a scan usually means that the site can’t connect back to itself to start the next scan stage. On the new Diagnostics page, you can turn on both “Disable config caching” and “Start all scans remotely”, to have our server try to reach your server instead, which may help. You can also turn on “Enable debugging mode (increases database load)” temporarily if you haven’t already — it gives more details about the scan, which may help.

    The “Fetching stored cronkey for comparison” message suggests a database issue or possibly having two scans started at once, since the cron key normally shouldn’t disappear on its own. (Running two scans should be nearly impossible, but I managed to cause it a while back during testing another issue.) It might just be a side-effect of testing repeated scans with a very long execution time.

    Let me know if the “Start all scans remotely” option helps, or if you can see any new details in the scan results.

    -Matt R

    Thread Starter davidmara

    (@davidmara)

    Hi Matt,

    SO far best results is – insert code to htaccess, set max execution time to 600 and use start all scans remotely options – if I set all this then scan run much longer than my all previous attempts and hang out I think on 80% while previous scans hang out in about 20% of scan.Now scan stops always in upload folder where I have alot of jpg photos of various size and hang out on one of photos.
    During scan process ( in beginning) I have following error:
    [Apr 21 01:06:44:1461200804.981816:4:error] gzinflate(): data error (2) File: /home/myname/public_html/wp-includes/class-wp-http-encoding.php Line: 58

    Thread Starter davidmara

    (@davidmara)

    i played with setting combinations 3 weeks hours and hours and all i can say its totally unpredictable – sometimes it hang here sometimes there, but was never able to finish scan ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘scan not work on litespeed’ is closed to new replies.