Support » Fixing WordPress » comments.php php fatal error

  • I’ve been running into memory issues for the last few days, and trying to find the cause for it.

    I think I’ve nailed it down to one of the sites on my dedicated box.

    In my error logs, minutes before the server crashes each night, I see this:

    PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/XXXXX/public_html/XXXXX.net/wp-includes/comment.php on line 138, referer: http://XXXX.net/some-random-post

    The referer often changes, but it’s always a max execution time on someone trying to post a comment.

    There’s only about a thousand comments on the site in total, so I don’t think there’s just too many.

    Any ideas what could be causing the timeout?

    At the same time, all other sites on the box are fine. No errors anywhere, so it’s not the box itself slowing down. Just this one site (which is also one of the largest WordPress sites I’ve ever managed: 4000 pages and 3500 posts.)

  • The topic ‘comments.php php fatal error’ is closed to new replies.