Logo Knowledge
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  1. Acquia Support Knowledge Base
  2. Troubleshooting
  3. Common Problem

Errors in the Apache error log

    See more
    • Updated
    • June 07, 2018 18:53

    Issues

    I see errors in the Apache error log.  What do they mean?

    Resolution

    If your site is slow or seems to be having trouble serving pages, search your error logs for error messages. To check to see if you are having capacity problems at the moment, you can examine the current error.log.

    Errors

    A number of messages can appear in the error log, indicating different issues.

    In most cases, errors should be fixed as soon as possible.

    • [error] File does not exist: /var/www/html/sitename/docroot/favicon.ico

      This error has minimal impact, but does generate a message in your log for every page visited on your site.

      You can fix this either by adding a favicon.ico file to your docroot, or by using another method to handle 404s. Browsers themselves create a call to the favicon.ico file in the domain root, typically to have a display adjacent to the page title in the browser tab, which is why you might see requests for favicon.ico even when not explicitly referenced in code.

    Warnings

    You should fix warnings whenever possible.

    • [client 10.10.10.10] mod_fcgid: can't apply process slot for /var/www/html/test/docroot/index.php

      This warning is serious, and you should rectify it as quickly as possible. This issue is commonly referred to as skip-spawning or request queueing. This occurs when a request bypasses caching and hits a web server when there are no available PHP processes to handle it. This results in the request getting queued, which means that pages may be slow to load or eventually time out, resulting in a Temporarily Unavailable error on the site and HTTP 503 errors in your request logs.

      If you're using PHP with php-fpm (Acquia Cloud customers are all using PHP-FPM), you'll want to search your fpm-error.log files for pm.max_children to find "skip spawns."

      You can address this type of issue in a number of ways. Streamlining code and reducing the amount of data loading on a page will allow page requests to complete faster, reducing the likelihood of requests backing up. You can also attempt to increase the amount of caching on your site, which offloads requests to your load balancers instead of your web servers. If your global PHP memory limit is higher than 128M and/or your site requires more than 128M to load pages, you can work to reduce the amount of memory required by your site to load some or all pages. If this is possible, reducing your PHP memory limit could allow your server to support more PHP processes. Finally, if none of the preceding solutions are sufficient or possible, you can upsize your server(s) to gain additional memory and more PHP processes.

    • Warning: include_once() [function.include-once]: Unable to allocate memory for pool.

      You can read more about this error at Understanding and Resolving PHP OPcache and OPcache Interned Strings buffer errors.

    Notices

    • NOTICE: [pool sitename] child 12345 startedNOTICE: [pool sitename] child 12345 exited with code 0 after 420.504615 seconds from start

      This notice indicates that a PHP process was idle and the server stopped it to reclaim resources. This is normal, expected behavior and does not require a fix.

    Topics

    • apache
    • logs
    • troubleshooting
    Avatar
    Daphne Garrison
    • June 07, 2018 18:53
    • Updated
    • Facebook
    • Twitter
    • LinkedIn

    Was this article helpful?
    0 out of 0 found this helpful

    Return to top

    Related articles

    • Introduction to troubleshooting with log files
    • 403 status code when impersonating Googlebot indexing your website
    • Acquia Connector producing 403 - access denied
    • PHP process exhaustion
    • Incorrect Config Sync Directory

    Support

    Acquia Support Knowledge Base
    • Submit a Request
    • Contact Support
    • Acquia Support Guide
    • Product Documentation
    • System Status

    About Acquia

    • About Us
    • Leadership
    • Board of directors
    • Newsroom
    • Careers
    • Customers
    • Contact Us
    53 State Street, 10th Floor
    Boston, MA 02109
    United States
    Phone: 888-922-7842
    Map: Google Maps
    View other locations
    • Feeds
    • Legal
    • Security Issue?

    Copyright © 2018 Acquia Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.