SamSaffron / MiniProfiler

A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby.
http://miniprofiler.com
1.05k stars 221 forks source link

Internal Server Error #175

Closed barmstrong closed 8 years ago

barmstrong commented 11 years ago

We're seeing this on MiniProfiler 0.1.27.

Usually after a longer wait time where the local development server is not running (say overnight) this will crop up the next morning on the first page load:

!! Unexpected error while processing request: No such file or directory - /Users/user/code/project/tmp/miniprofiler/mp_views_3b8d0774d3f759f36dd96f694bb39df4

The local development server then needs to be killed/restarted and all is fine.

Any ideas?

SamSaffron commented 11 years ago

hmm was reviewing FileStore and can not see where it is leaking, will be releasing .28 in the next few days let's see if it is resolved

barmstrong commented 10 years ago

Nevermind I found it. I had this running in a cron:

rm -rf /Users/user/code/project/tmp/miniprofiler

To clean out old files. Do these build up and accumulate forever? Maybe there is a better way to clear them out.

Maybe deleting files older than 5 days.

 find /Users/user/code/project/tmp/miniprofiler -mtime +5 -exec rm {} \;
mattzollinhofer commented 8 years ago

Looks like this issue is no longer a problem. Seems like it's worth closing now or is unintentional file storage still an issue that's worth looking into?

Edit: Nevermind -- I got here from codetriage.com, didn't realize this was basically a dead repo when I was reading through the issue.

SamSaffron commented 8 years ago

Yeah pretty sure we cleaned this stuff up.