Support » Fixing WordPress » Possible to limit rate of db-error.php notifications?

  • Resolved Andrew W


    A lot of people recommend creating a file at the top level of a WP install that notifies the site admin if there’s a database connection error (e.g., However, such a method sends an email notification every time someone tries to access a page, which on a heavily trafficked site just obliterates an admin’s inbox. Yet none of the people who recommends setting up a db-error.php file seems to know how to limit the rate those notifications are sent out.

    If I can’t limit the rate, I don’t have a use for that method. Any experience/suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)


    Support Volunteer

    I use It notifies me when a site is down.

    If you have a site that’s getting db down messages more than once in a blue moon, you need to look closely at your server configuration.

    Andrew W


    Ah, forgot there might be an external tool for this. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to limit rate of db-error.php notifications?’ is closed to new replies.