WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: StatPress Reloaded] Statpress slows with DNS lookup on every pageview (2 posts)

  1. travoc
    Member
    Posted 5 years ago #

    Please consider an option to disable the gethostbyaddr() call on every write to the database. Visitors with improperly set up DNS servers will experience significant delay on every pageview and it can cause major backups on busy servers as they try to resolve DNS names for every visitor.

    I have resolved this issue on my own server by removing the iriDomain() function from the "$insert = INSERT INTO " command around line 1786. It would be best if this was an admin option for other users.

  2. lhw455
    Member
    Posted 5 years ago #

    Hey travoc, thanks for that!

    I've not had a problem with it, but would appreciate it if you could post the exact details of how you changed the line as then I can change it in my setup to avoid any future issues.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic