Random Closed Stream error

Hey Guys,

I’ve been getting a random ‘closed stream’ exception with my app. I
can’t reliably duplicate the problem. It seems to crop up every 20th
request or so… A snippet from the call-stack appears below. If I hit
the browser refresh button, the request completes successfully.

I’m working on Ubuntu 8.04 (Hardy Heron) with Rails 2.0.2 and Mongrel
1.1.4

Any ideas would be really appreciated.

==================================
closed stream

/usr/lib/ruby/1.8/tempfile.rb:151:in close' /usr/lib/ruby/1.8/tempfile.rb:151:incallback’
vendor/rails/activerecord/lib/active_record/validations.rb:518:in call' vendor/rails/activerecord/lib/active_record/validations.rb:518:insend’
vendor/rails/activerecord/lib/active_record/validations.rb:518:in
`validates_presence_of’

Did you ssolve this problem , I’ve the same error sometimes any idea
of what is the problem or how fix that ??

On 26 mayo, 14:29, Sonny C. [email protected]

Foreero I. wrote:

Did you ssolve this problem , I’ve the same error sometimes any idea
of what is the problem or how fix that ??

On 26 mayo, 14:29, Sonny C. [email protected]

Ivan,

Unfortunately, not. I haven’t had time to fully investigate. I suspect
it has something to do with the image_science graphics package that I
use with attachment_fu. Would you, by any chance also be using
either/both of these plugins?

Sonny.

No , I have not these plugins installed in my app. I thought that it
have to do with mongrel.

I’ll investigate about this , if I found something to solve this I’ll
warning you … and if you have something please let me know what you
found.

Thanks for pay attention to my question

Foreero I. wrote:

No , I have not these plugins installed in my app. I thought that it
have to do with mongrel.

I’ll investigate about this , if I found something to solve this I’ll
warning you … and if you have something please let me know what you
found.

Thanks for pay attention to my question

Ivan,

Are you using Ubuntu 8.04 or some other flavour of Linux? I’ve never
seen this issue when my app is deployed to a server with Solaris…

Sonny.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs