mperham / rack-fiber_pool

Rack middleware to execute each request in a Fiber
MIT License
244 stars 24 forks source link

SystemStackError - Limited Fiber Stack Size #17

Open sekarp opened 12 years ago

sekarp commented 12 years ago

My rails app is running to "systemstack error" for some of the operations because the default fiber stack size is merely 4KB. I know there are discussions going on about this issue in the ruby forum.

https://gist.github.com/rails/rails/issues/2153 http://bugs.ruby-lang.org/issues/3187

But, I was wondering whether there are other ways to solve this issue. If not, do you have an estimate on when they would release a fix?

mperham commented 12 years ago

Refactor the operation which requires a large stack to run in a separate thread and then block on thread.value.

On 18 Apr 2012, at 17:43, sekarpreply@reply.github.com wrote:

My rails app is running to "systemstack error" for some of the operations because the default fiber stack size is merely 4KB. I know there are discussions going on about this issue in the ruby forum.

https://gist.github.com/rails/rails/issues/2153 http://bugs.ruby-lang.org/issues/3187

But, I was wondering whether there are other ways to solve this issue. If not, do you have an estimate on when they would release a fix?


Reply to this email directly or view it on GitHub: https://github.com/mperham/rack-fiber_pool/issues/17