LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-06-2012, 02:17 AM   #1
Sivalex
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, 03:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,374
Blog Entries: 54

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
I don't know if you should run Passenger w/o site configuration but there's at least one bug listed at http://code.google.com/p/phusion-pas.../detail?id=711 and there's a nice writeup on how to debug Rails processes at http://warwickp.com/2010/06/debuggin...er-with-nginx/ (never mind the Nginx part), the latter may help you ident the problem.
 
Old 07-10-2012, 08:55 AM   #3
Sivalex
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Solved

Hi,

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!
 
  


Reply


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 03:11 PM
Eye of Gnome Image View taking 100% CPU and tripping my thermal sensor MikeyCarter Linux - Software 5 04-28-2008 09:03 AM
gnome-panel taking 100% of CPU blish_blash Suse/Novell 1 03-19-2007 12:44 PM
top says SoftIRQ is taking 100% of one CPU RichDygert Linux - Newbie 0 10-09-2006 12:47 PM
ubuntu smp: why is kswapd0 taking 100% CPU time? eantoranz Linux - Software 0 10-18-2005 02:38 PM


All times are GMT -5. The time now is 05:55 PM.

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