Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-06-2012, 03:17 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Spawned ruby process by mod_passenger on apache 2 taking 100% CPU

Hi all,

I have installed mod_passenger on my Apache 2 under Debian Squeeze 64 bits.
My problem is that, just starting apache with mod_passenger enabled (no site configured to use it) spaws a ruby process that eats all available cpu.

I'm pretty sure this is a misconfiguration on my part, but I'm not quite sure where it comes from and how to track down the problem. It used to work perfectly and a some point it went wrong.

Any hint on how to identify the problem who be immensely appreciated !

Thanks !
Old 07-06-2012, 04:02 PM   #2
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
I don't know if you should run Passenger w/o site configuration but there's at least one bug listed at and there's a nice writeup on how to debug Rails processes at (never mind the Nginx part), the latter may help you ident the problem.
Old 07-10-2012, 09:55 AM   #3
LQ Newbie
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled


Sorry for the slow reply and thanks for your help.
Running passenger with or without site config didn't change anything (there used to have a site configured, but I disabled it for testing purposes when I discovered the problem), but in fact, the problem didn't come from there.

I suspect it came from the leap second on June 30th that wasn't handled correctly for some reason by Passenger/Ruby.
In fact I found this thread describing the same problem I had.
The solution was "just" to reboot the server and indeed, it works now.

I still don't know where the real problem was though, but at least my server works.

Thanks again!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
why is qemu and bochs taking cpu 100% baxzius Linux - Virtualization and Cloud 6 07-05-2010 04:11 PM
Eye of Gnome Image View taking 100% CPU and tripping my thermal sensor MikeyCarter Linux - Software 5 04-28-2008 10:03 AM
gnome-panel taking 100% of CPU blish_blash SUSE / openSUSE 1 03-19-2007 01:44 PM
top says SoftIRQ is taking 100% of one CPU RichDygert Linux - Newbie 0 10-09-2006 01:47 PM
ubuntu smp: why is kswapd0 taking 100% CPU time? eantoranz Linux - Software 0 10-18-2005 03:38 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration