-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
number of file descriptors increases beyond limit #68
Comments
Does this only happen on one of the web servers or all of them from time to time? On Mon, May 30, 2016 at 10:37 AM, Jian Wu [email protected] wrote:
|
I think we can add a timeout so it automatically closes the socket:
|
This time it only on csxweb03. That is why I wonder if this could be On Mon, May 30, 2016 at 10:45 AM, Kyle Williams [email protected]
|
The ulimit settings are identical (8192). What other settings do I need to On Mon, May 30, 2016 at 10:53 AM, Kyle Williams [email protected]
|
The same problem happens today on web01. "lsof" gives 9075 while "ulimit -Hn" gives 8192. I have doubled the limit on all web servers. But I believe there are some underlying problems, either on the software or on the hardware (network?). I do not exclude hardware issues because most of them are related to csxrepository01 on CLOSE_WAIT status. |
This happens on one of the web servers (03). I first got a "server down message" from the monitor. I then looked at the localhost file and saw lots of errors like ""too many files opened". Basically, the system cannot even open a sitemap file and respond to the client. I then checked "ullimit -Hn" and the number was 8192. Using "lsof" I see more than 10,000 rows and most of them are like "web server -> repo server [CLOSE_WAIT]". This CLOSE_WAIT status is very annoying and has been directly causing web server down issues. However, as far as I know, there's no way to clean the socket except to restart the service or reboot. In this situation, I had to restart Tomcat, but I wonder if this could be a software or hardware issue. The numbers of file descriptors are below the limit on the other web servers (also 8192).
The text was updated successfully, but these errors were encountered: