• Resolved mikegraf

    (@mikegraf)


    Hi WP Community,

    I hope someone can sort this out as I have tried all the suggestions from all the related posts to this issue.

    Here is the last set of lines from the Scan log after Debugging is turned on.
    [Mar 28 13:17:07] Ajax request received to start scan.
    [Mar 28 13:17:07] Entering start scan routine
    [Mar 28 13:17:07] Got value from wf config maxExecutionTime: 30
    [Mar 28 13:17:07] getMaxExecutionTime() returning config value: 30
    [Mar 28 13:17:08] Test result of scan start URL fetch: array ( ‘headers’ => Requests_Utility_CaseInsensitiveDictionary::__set_state(array( ‘data’ => array ( ‘date’ => ‘Tue, 28 Mar 2017 17:17:07 GMT’, ‘server’ => ‘Apache/2.4.7’, ‘x-powered-by’ => ‘PHP/5.5.9-1ubuntu4.21’, ‘x-frame-options’ => ‘SAMEORIGIN’, ‘x-xss-protection’ => ‘1; mode=block’, ‘x-content-type-options’ => ‘nosniff’, ‘expires’ => ‘Wed, 11 Jan 1984 05:00:00 GMT’, ‘cache-control’ => ‘no-cache, must-revalidate, max-age=0’, ‘link’ => ‘; rel=”https://api.w.org/”&#8216;, ‘set-cookie’ => array ( 0 => ‘wordpress_test_cookie=WP+Cookie+check; path=/’, 1 => ‘wfvt_4146866112=58da9a948a5b8; expires=Tue, 28-Mar-2017 17:47:08 GMT; Max-Age=1800; path=/; httponly’, ), ‘content-type’ => ‘text/html; charset=UTF-8’, ), )), ‘body’ => ‘ <meta htt
    [Mar 28 13:17:08] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/matrixfour.com/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&cronKey=413d6313289ceca110313dbc
    [Mar 28 13:17:09] Scan process ended after forking.

    Our server max_execution_time is set to 120
    I have tried disabling all plugins and only wordfence active…issue persists.

    Our server recently crashed and they said they setup the site exactly how it was before. The website performed Wordfence scans with no issue before and now this forking issue is happening.

    Let me know please if anything has any insight on this issue.

    Thanks,
    Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikegraf

    (@mikegraf)

    There was a htaccess file that was blocking the access to admin-ajax.php

    Now the scan stops and an error is shown after a while of scanning.

    [Mar 28 13:32:55] Fatal error: Maximum execution time of 30 seconds exceeded in /home/matrix4/public_html/wp-content/plugins/wordfence/lib/wordfenceScanner.php on line 338

    My php.ini is set to max-execution-time= 120
    And my settings in Wordfence are set to be 120 aswell.

    Any help would be great!
    Thanks,
    Mike

    Hi Mike (@mikegraf),

    Have you tried tuning the Maximum execution time for each scan stage parameter as described in our documentation?

    You can modify this parameter from the Wordfence Options page (in the Other Options section).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wordfence: Scan process ended after forking.’ is closed to new replies.