Script disabled

Help
Thomas52
2013-09-20
2013-10-07
  • Thomas52
    Thomas52
    2013-09-20

    Your script /home/xxx/public_html/calendar.php was causing extremely high processing:
    CPU Usage - %6.37
    MEM Usage - %2.38
    Number of MySQL procs (average) - 1.50
    Top Process %CPU 91.50 /usr/bin/php /home/adkins92/public_html/individual.php
    Top Process %CPU 88.70 /usr/bin/php /home/adkins92/public_html/source.php
    Top Process %CPU 39.00 /usr/bin/php /home/adkins92/public_html/calendar.php
    As such, the script has been chowned to root with 000 file permissions.
    --Any thoughts or comments on how to address this?

     
  • Gerry Kroll
    Gerry Kroll
    2013-09-24

    Search engines have no business looking at the calendar.php script. Do you have a robots.txt file? If so, what's in it?

    Here's mine, as it relates to PGV:
    User-agent: *
    Disallow: /phpGedView/reportengine.php
    Disallow: /phpGedView/calendar.php
    Disallow: /phpGedView/pedigree.php
    Disallow: /phpGedView/descendancy.php
    Disallow: /phpGedView/timeline.php
    Disallow: /phpGedView/relationship.php
    Disallow: /phpGedView/ancestry.php
    Disallow: /phpGedView/fanchart.php
    Disallow: /phpGedView/hourglass.php
    Disallow: /phpGedView/familybook.php
    Disallow: /phpGedView/famlist.php
    Disallow: /phpGedView/statistics.php
    Disallow: /phpGedView/statisticsplot.php

    There are some search engines that don't respect the robots.txt file. These bastards get blocked by IP. Basically, if your log file reports a search engine's incoming URL with one of the named scripts in it, the search engine isn't respecting the robots.txt file.

    When you update the robots.txt file, it may take some legitimate search engines a few days to notice the change. That's because they may cache the robots.txt file to reduce the number of file requests to the server.

    Look also at function print_header() beginning at line 440 in "includes/functions/functions_print.php". The scripts listed there should really be in the robots.txt file too.

     
  • Thomas52
    Thomas52
    2013-09-25

    Yes, that's what I needed.