Open jimmydorry opened 8 years ago
The temporary fix is to set error level to error in nginx, and disable caching. Sigs appear to take 10seconds to generate around this time of the day.
The two bottlenecks for signature generation are getting data from DB and grabbing the user's avatar
They consume too much of the resources. It would be nice if I could just drop them completely.
It's possible that one of the signature libraries we rely is broken too.
I either cause a lot of I/O waste by caching the responses to disk (100KB per request), or I consume PHP worker slots by holding in memory and waiting for the complete request. They can also take up to 12 seconds to generate.