Forums

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

  1. travoc
    Member
    Posted 6 months 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 6 months 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!

Reply

You must log in to post.

About this Topic