On my site, after new user registration, a 500 server error occurs. The error log says:
mod_fcgid: read data timeout in 31 seconds, referer: https://mysite.com/login?view=registration End of script output before headers: index.php, referer: https://mysite.com/login?view=registration
There is no other indication where this error comes from. I have raised the max execution time to 300secons in php.ini, trying to see if there will be more information in the error log, however, the error still occurs after "31" seconds. Although the user is successfully created.
It is unlikely a server configuration error, my other sites on the same server are working well, one of them was cloned from the website in question about 1 month ago. During this month, I did make some change to the codes, but they are mostly made to some extensions. So I really can't think of any reason that may cause this issue.
Since the error occurs after the user is created, I have tried disabling all plugins in the user category, but the error still occurs.
Can someone point me to a right direction of how to debug this?