The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.1 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 07-20-2019, 11:57 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Too many files open"
02-28-2019, 10:00 PM
Post: #1
Exclamation "Too many files open"
I have a private WPT instance in AWS (m4.large) on which I enqueue ~800 tests, twice a day.

Over the past two days (from ~26 Feb) it has started failing after the first 300 enqueued with an error in nginx saying "Too many files open"; this also means the test results for those 300 cannot be submitted by the agents to the server.

I'm investigating nginx config changes, but knowing that the server hasn't been touched (other than restarted once this morning to see if that would help) means this is confusing.

The limits for all ngnix processes are:
Max open files
Soft: 1024
Hard: 4096

I went through this process to whack the limits up to something ridiculous (soft 250000, hard 300000), and the nginx error changed to "upstream prematurely closed connection while reading response header from upstream", however I'm now able to enqueue over 1000 tests it seems.

Has anyone else had this issue and has a better fix than my hack?..
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
"Too many files open" - rposbo - 02-28-2019 10:00 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)