[typo] Too many open files error during bulkops

Scott Laird scott at sigkill.org
Mon Oct 2 13:24:31 EDT 2006


I haven't seen this before.  File a bug, I'll look at it when I can.


Scott

On 10/1/06, Alastair Rankine <arsptr at internode.on.net> wrote:
> Here I am, killing spam again. I've let it accumulate for a couple of
> days so now I've got a fair bit. Only trouble is that the bulkops to
> confirm the spam results in the error below.
>
> Clearing out tmp/cache seems to fix the problem.
>
> Known bug? If not, I'll raise it on Trac.
>
>
>
> Errno::EMFILE (Too many open files - /home/alastair/typo/config/../
> tmp/cache/META/DATA/ACTION_PARAM/
> girtby.net/articles/permalink/comment=body [snip spam content]:
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:450:in
> `open'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:450:in
> `search_dir'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:454:in
> `search_dir'
>
> [...snip about two screenfuls...]
>
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:450:in
> `search_dir'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:429:in
> `delete_matched'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:317:in
> `expire_fragment'
>      /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 33:in `benchmark'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:316:in
> `expire_fragment'
>      /vendor/rails/actionpack/lib/action_controller/caching.rb:550:in
> `method_missing'
>      /app/models/blog_sweeper.rb:16:in `expire_for'
>      /app/models/blog_sweeper.rb:5:in `after_save'
>      /vendor/rails/activerecord/lib/active_record/observer.rb:123:in
> `update'
>      /usr/lib/ruby/1.8/observer.rb:185:in `notify_observers'
>      /usr/lib/ruby/1.8/observer.rb:184:in `notify_observers'
>      /vendor/rails/activerecord/lib/active_record/callbacks.rb:375:in
> `notify'
>      /vendor/rails/activerecord/lib/active_record/callbacks.rb:339:in
> `callback'
>      /vendor/rails/activerecord/lib/active_record/callbacks.rb:254:in
> `create_or_update'
>      /vendor/rails/activerecord/lib/active_record/base.rb:1392:in
> `save_without_validation'
>      /vendor/rails/activerecord/lib/active_record/validations.rb:
> 736:in `save_without_transactions'
>      /vendor/rails/activerecord/lib/active_record/transactions.rb:
> 126:in `save'
>      /vendor/rails/activerecord/lib/active_record/connection_adapters/
> abstract/database_statements.rb:51:in `transaction'
>      /vendor/rails/activerecord/lib/active_record/transactions.rb:
> 91:in `transaction'
>      /vendor/rails/activerecord/lib/active_record/transactions.rb:
> 118:in `transaction'
>      /vendor/rails/activerecord/lib/active_record/transactions.rb:
> 126:in `save'
>      /app/models/feedback.rb:153:in `confirm_classification!'
>      /app/controllers/admin/feedback_controller.rb:72:in `bulkops'
>      /app/controllers/admin/feedback_controller.rb:71:in `bulkops'
>      /vendor/rails/actionpack/lib/action_controller/base.rb:941:in
> `perform_action_without_filters'
>      /vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
> `perform_action_without_benchmark'
>      /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 69:in `perform_action_without_rescue'
>      /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>      /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 69:in `perform_action_without_rescue'
>      /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
> `perform_action'
>      /vendor/rails/actionpack/lib/action_controller/base.rb:408:in
> `process_without_filters'
>      /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
> `process_without_session_management_support'
>      /vendor/rails/actionpack/lib/action_controller/
> session_management.rb:117:in `process'
>      /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/
> rails.rb:66:in `process'
>      /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/
> rails.rb:64:in `process'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 425:in `process_client'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 424:in `process_client'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 495:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 494:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 483:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 774:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:
> 772:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:
> 97:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/
> command.rb:163:in `run'
>      /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:194
>      /usr/bin/mongrel_rails:18
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>


More information about the Typo-list mailing list