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
nginx errors - "Too many open files"
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
  7 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
 
Chris  
View profile  
 More options Feb 28 2009, 9:15 pm
From: Chris <chris.degr...@gmail.com>
Date: Sat, 28 Feb 2009 18:15:34 -0800 (PST)
Local: Sat, Feb 28 2009 9:15 pm
Subject: nginx errors - "Too many open files"
I just moved a site over to EC2 (through Scalr of course) late last
night and I'm seeing some odd errors in the nginx error log and have
gotten some sporadic reports of Internal Server Errors.    Here's an
example of an error I'm seeing a bunch of....

2009/02/28 21:07:58 [alert] 4385#0: *5603516 socket() failed (24: Too
many open files) while connecting to upstream, client: 99.250.5.208,
server: ec2-75-101-241-112.compute-1.amazonaws.com, URL: "/ad.php?
adslot=forums_ss", upstream: "http://10.250.54.64:80/ad.php?
adslot=forums_ss", host: "www.hockeybuzz.com", referrer: "http://
www.hockeybuzz.com/boards/thread.php?thread_id=61444&page=12"

Any ideas?


 
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.
Nickolas Toursky  
View profile  
 More options Feb 28 2009, 10:17 pm
From: Nickolas Toursky <hin...@gmail.com>
Date: Sun, 1 Mar 2009 05:17:58 +0200
Local: Sat, Feb 28 2009 10:17 pm
Subject: Re: nginx errors - "Too many open files"
Seems like you have hit open files limit. Consider raising 'ulimit -n'
on the www instance.


 
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.
Chris  
View profile  
 More options Feb 28 2009, 10:22 pm
From: Chris <chris.degr...@gmail.com>
Date: Sat, 28 Feb 2009 19:22:32 -0800 (PST)
Local: Sat, Feb 28 2009 10:22 pm
Subject: Re: nginx errors - "Too many open files"
I'm not familiar with that value.  What would you recommend that I set
it to?

On Feb 28, 9:17 pm, Nickolas Toursky <hin...@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.
Nickolas Toursky  
View profile  
 More options Mar 1 2009, 7:26 am
From: Nickolas Toursky <hin...@gmail.com>
Date: Sun, 1 Mar 2009 14:26:49 +0200
Local: Sun, Mar 1 2009 7:26 am
Subject: Re: nginx errors - "Too many open files"
It should be 2-3 times greater than 'worker_connections' nginx setting.


 
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.
Chris  
View profile  
 More options Mar 1 2009, 12:33 pm
From: Chris <chris.degr...@gmail.com>
Date: Sun, 1 Mar 2009 09:33:55 -0800 (PST)
Local: Sun, Mar 1 2009 12:33 pm
Subject: Re: nginx errors - "Too many open files"
Nick,

I've got that setting corrected, but we're still experiencing some
pretty significant issues.  Even though I do have app instances up and
running, often time users are getting this message when visting the
site:

No app instances configured
Possible reasons:
# You did not add app role to this farm.
# No app instances started yet.

Any ideas why this would be happening?

Chris

On Mar 1, 6:26 am, Nickolas Toursky <hin...@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.
Elvis  
View profile  
 More options Mar 12 2009, 5:37 am
From: Elvis <n...@perski.com>
Date: Thu, 12 Mar 2009 02:37:46 -0700 (PDT)
Local: Thurs, Mar 12 2009 5:37 am
Subject: Re: nginx errors - "Too many open files"
We're getting the same "No App Instances Configured", intermittantly
and without any explanation in error logs. It seem sto happen under a
bit of load, but nothing close to our scaling limit.

Any ideas?
//Noam

On Mar 1, 6:33 pm, Chris <chris.degr...@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.
Nickolas Toursky  
View profile  
 More options Mar 12 2009, 9:05 am
From: Nickolas Toursky <hin...@gmail.com>
Date: Thu, 12 Mar 2009 15:05:53 +0200
Local: Thurs, Mar 12 2009 9:05 am
Subject: Re: nginx errors - "Too many open files"
The page with 'No app instances configured' is a default handler for
502 503 and 504 errors.
Most likely, your app server takes longer to respond than a default
proxy_read_timeout nginx setting (you can read more at
http://www.nginx-community.org//NginxHttpProxyModule#proxy_read_timeout).
In this case error 504 Gateway timeout is raised.
You can discover more information about nginx configuration at
http://www.nginx-community.org/ site.
Consider raising logging level to see, what exactly causing this problems.


 
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 »