Railsrunner eating CPU on custom kernel

Discussion in 'Ruby/Rails' started by dr_seus, Aug 17, 2007.

  1. dr_seus

    dr_seus New Member

    Hi list,

    I'm having problems with Litespeed after recompiling my linux kernel 2.6.18.

    I can understand if you think that I should ask this in a kernel hacking forum but everything else works perfectly except the Litespeed /Railsrunner process.

    Usually the railsrunner eats between 10%-20% CPU while my rails app is upp and running, but after kernel recompile it eats between 80% - 100% for a simple request.

    Is there any kernel parameters you are aware of that could cause this?
    Is there somehow I can debug/trace this? I would rather see it throw an exception because then I can debug but it is just really really slow.

    I had to recompile as our raid hardware need patching of kernel.

    Any input on this would be greatly appreciated!

    Regards,
    hank
  2. mistwang

    mistwang LiteSpeed Staff

    We probably could not help much on this. It is completely a Ruby / kernel problem, maybe a bug in kernel was hit. You have to use some kernel debug tool to find out where the extra CPU was used. It is beyond the knowledge of most of us.
  3. dr_seus

    dr_seus New Member

    It was a long shot I know. I'll look into the ruby performance of the kernel more thoroughly.
    Thank you for your quick response!

Share This Page