Error: No space left on device - /tmp/RackRewindableInput20120512-24326-1naldzx-0

230 views
Skip to first unread message

SSG

unread,
May 12, 2012, 12:06:49 PM5/12/12
to papercli...@googlegroups.com
Hey.
Ive been using Paperclip on my rails 2.3 site to upload + resize images for about 6 months now with no complaints.
Today, ive got a report from a user which ive checked myself and it seems that the image uploading is no longer possible. whenever i try to upload an image im getting the following error:

this is obviously quite a big issue and if anyone can help out i would be super appreciative. Thanks!

/!\ FAILSAFE /!\  Sat May 12 17:58:51 +0200 2012
  Status: 500 Internal Server Error
  No space left on device - /tmp/RackRewindableInput20120512-24326-1naldzx-0
    /dh/passenger/lib/phusion_passenger/utils/rewindable_input.rb:90:in `make_rewindable'
    /dh/passenger/lib/phusion_passenger/utils/rewindable_input.rb:40:in `rewind'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/utils.rb:457:in `parse_multipart'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/request.rb:268:in `parse_multipart'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/request.rb:146:in `POST'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:15:in `call'
    /home/ssg/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call'
    /home/ssg/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call'
    /home/ssg/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'
    /home/ssg/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
    /home/ssg/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:106:in `call'
    /dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    /dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'
    /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'
    /dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork'
    /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start'
    /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in `start'
    /dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    /dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    /dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /dh/passenger/bin/passenger-spawn-server:61

Chad Pytel

unread,
May 12, 2012, 1:05:57 PM5/12/12
to papercli...@googlegroups.com
Have you checked to make sure there is space left on the device that it's writing to? Sounds like there might not be. Be sure to check /tmp

-- 
Chad Pytel
CEO and Founder, thoughtbot
--
Individuals over processes. Interactions over tools.
 
Agile Rails training from thoughtbot, the makers of Paperclip, Clearance, Shoulda, & Factory Girl:
http://thoughtbot.com/services/training
 
The Paperclip group:
http://groups.google.com/group/paperclip-plugin
 
To post to this group, send email to
papercli...@googlegroups.com
 
To unsubscribe from this group, send email to
paperclip-plug...@googlegroups.com

SSG

unread,
May 13, 2012, 8:33:50 AM5/13/12
to papercli...@googlegroups.com
Hi.
Yes, it turns out it was simply a case of /tmp being full, as the error message stated.
the unix tech sorted this out.
thanks
Reply all
Reply to author
Forward
0 new messages