We are having an issue with the app pool resetting in IIS after a media cache folder deletion. This only happens when we have a lot of images (~20 GBs) cached.
Everything I've read says that deleting it is completely safe, and we don't always experience the issue. We sometimes get a buffer overflow error along with the app pool reset, but not always.
We have tried increasing the system filewatcher buffer size to the maximum and doing the cleanup more often, but neither seem to help.
Any ideas why it might be doing this?