Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
stat file missing - fatal error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt  
View profile  
 More options Jun 17 2008, 1:02 am
From: Matt <madcow...@gmail.com>
Date: Mon, 16 Jun 2008 22:02:29 -0700 (PDT)
Local: Tues, Jun 17 2008 1:02 am
Subject: stat file missing - fatal error
Hi folks,

Just set up god on a new server, running nginx with a mongrel
cluster.  I'm getting this error in the log:

FATAL: Unhandled exception in driver loop - (Errno::ENOENT): No such
file or directory - /proc/5138/stat
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/system/
slash_proc_poller.rb:57:in `read'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/system/
slash_proc_poller.rb:57:in `stat'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/system/
slash_proc_poller.rb:28:in `percent_cpu'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/system/
process.rb:27:in `percent_cpu'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/conditions/
cpu_usage.rb:65:in `test'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/task.rb:
317:in `handle_poll'
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.6/bin/../lib/god/driver.rb:
68:in `handle_event'

I'm guessing that one of the mongrel processes has stopped but not
completely cleaned up after itself.  any ideas on nudging god to
restart the process instead of blow up?

thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Clark  
View profile  
 More options Jun 17 2008, 2:18 am
From: "Kevin Clark" <kevin.cl...@gmail.com>
Date: Mon, 16 Jun 2008 23:18:04 -0700
Local: Tues, Jun 17 2008 2:18 am
Subject: Re: stat file missing - fatal error
Are you running FreeBSD 7.0? We just got a patch in that fixed
detection of the proc file system when the directory exists but the fs
isn't mounted:

http://github.com/kevinclark/god/commit/b6f9cad5479c102da63fe0c614751...

Doesn't look like Tom has pulled it in yet. If this is hitting people,
we should probably push a point release. I'll update the history in
prep.

--
Kevin Clark
http://glu.ttono.us


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt  
View profile  
 More options Jun 17 2008, 7:52 am
From: Matt <madcow...@gmail.com>
Date: Tue, 17 Jun 2008 04:52:44 -0700 (PDT)
Local: Tues, Jun 17 2008 7:52 am
Subject: Re: stat file missing - fatal error
Thanks for the reply. Sorry, should have mentioned - this is on debian
4.0

On Jun 17, 2:18 am, "Kevin Clark" <kevin.cl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Clark  
View profile  
 More options Jun 17 2008, 6:30 pm
From: "Kevin Clark" <kevin.cl...@gmail.com>
Date: Tue, 17 Jun 2008 15:30:28 -0700
Local: Tues, Jun 17 2008 6:30 pm
Subject: Re: stat file missing - fatal error
Tom just pushed 0.7.7 to Rubyforge. Try it out, let us know if it
fixes your issue.

--
Kevin Clark
http://glu.ttono.us


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Cowley  
View profile  
 More options Jun 18 2008, 12:36 am
From: Matt Cowley <madcow...@gmail.com>
Date: Wed, 18 Jun 2008 00:36:00 -0400
Subject: Re: stat file missing - fatal error
So far so good.  *Awesome*, thanks!

On Jun 17, 2008, at 6:30 PM, Kevin Clark wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Cowley  
View profile  
 More options Jun 18 2008, 10:16 am
From: Matt Cowley <madcow...@gmail.com>
Date: Wed, 18 Jun 2008 10:16:06 -0400
Local: Wed, Jun 18 2008 10:16 am
Subject: Re: stat file missing - fatal error
Hmm..got the same issue again:

  [2008-06-18 13:44:21] FATAL: Unhandled exception in driver loop -  
(Errno::ENOENT): No such file or directory - /proc/20082/stat
/usr/local/lib/ruby/gems/1.8/gems/god-0.7.7/bin/../lib/god/system/
slash_proc_poller.rb:71:in `read'

Is this possibly a configuration issue on my side?

thanks

On Jun 17, 2008, at 6:30 PM, Kevin Clark wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Clark  
View profile  
 More options Jun 18 2008, 1:40 pm
From: "Kevin Clark" <kevin.cl...@gmail.com>
Date: Wed, 18 Jun 2008 10:40:47 -0700
Local: Wed, Jun 18 2008 1:40 pm
Subject: Re: stat file missing - fatal error
Doh. It _could_ be configuration, but I don't think so.

When this occurs, is the process running? Seems like it could be a
race condition where the process has died, but god hasn't noticed, so
it goes to check stats in /proc, but the info for the now missing pid
isn't there.

--
Kevin Clark
http://glu.ttono.us

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Cowley  
View profile  
 More options Jun 18 2008, 3:31 pm
From: Matt Cowley <madcow...@gmail.com>
Date: Wed, 18 Jun 2008 15:31:52 -0400
Local: Wed, Jun 18 2008 3:31 pm
Subject: Re: stat file missing - fatal error
That sounds likely.  It ran for several hours before this exception  
occurred, so my guess is that it didn't get thrown until a process died.

On Jun 18, 2008, at 1:40 PM, Kevin Clark wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Clark  
View profile  
 More options Jun 18 2008, 3:55 pm
From: "Kevin Clark" <kevin.cl...@gmail.com>
Date: Wed, 18 Jun 2008 12:55:11 -0700
Local: Wed, Jun 18 2008 3:55 pm
Subject: Re: stat file missing - fatal error

>> On Jun 18, 2008, at 1:40 PM, Kevin Clark wrote:

>> Doh. It _could_ be configuration, but I don't think so.

>> When this occurs, is the process running? Seems like it could be a
>> race condition where the process has died, but god hasn't noticed, so
>> it goes to check stats in /proc, but the info for the now missing pid
>> isn't there.

>On Wed, Jun 18, 2008 at 12:31 PM, Matt Cowley <madcow...@gmail.com> wrote:

> That sounds likely.  It ran for several hours before this exception
> occurred, so my guess is that it didn't get thrown until a process died.

Ok, I'll try to take a look today. In the meantime, if you want to
modify your install so SlashProcPoller.usable? always returns false,
it'll go back to using ps. This should probably be configurable
anyway.

--
Kevin Clark
http://glu.ttono.us


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Clark  
View profile  
 More options Jun 30 2008, 5:04 pm
From: "Kevin Clark" <kevin.cl...@gmail.com>
Date: Mon, 30 Jun 2008 14:04:09 -0700
Local: Mon, Jun 30 2008 5:04 pm
Subject: Re: stat file missing - fatal error
Hey, sorry it's taken so long to do this. I believe the fix is here:

http://github.com/kevinclark/god/commit/a74780fca54642e7687a79e7f165b...

I'm poking Tom about pushing an 0.7.9 release today to fix the issue.

--
Kevin Clark
http://glu.ttono.us

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Cowley  
View profile  
 More options Jul 2 2008, 2:51 pm
From: Matt Cowley <madcow...@gmail.com>
Date: Wed, 2 Jul 2008 14:51:10 -0400
Local: Wed, Jul 2 2008 2:51 pm
Subject: Re: stat file missing - fatal error
cool, thanks.  i'll try it out whenever the release is ready.

On Jun 30, 2008, at 5:04 PM, Kevin Clark wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »