jetheredge/SquishIt — Issue #116: Usage with multiple worker processes taking down the application
Author: tucaz
Created: 2011-11-29 12:42:24+00:00
State: open

Hi!

Last Friday I ran into a problem similar to the one described [here](https://github.com/jetheredge/SquishIt/issues/39) except that the exception pointed me to RetryableFileOpener.OpenFileStream in the last line before method ending with this comment:

```csharp
//We will never get here
throw new IOException(System.String.Format("Unable to open file '{0}'", filePath));
```

As unexpected as it is, I got there :P

The problem happened with a CSS Bundle using 4 worker processes under IIS 7.5 with approximately 20 requests per second being handled by the application. Due to the great number of exceptions being generated the application went down (100% CPU and taking forever to reply).

Unfortunately I do not have the exact exception stacktrace anymore, but I'm working on a way to reproduce the problem through a test. In [that issue](https://github.com/jetheredge/SquishIt/issues/39) the guy submitted a patch which looks like was not applied.

Until I am able to reproduce the problem is there any recommendations on how to proceed with this?

Thanks