差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:web:jetty:opentoomanyfilesissueonlinux [2016/07/04 17:14] tony [Jetty - Too Many Open Files Issue on Linux] |
java:web:jetty:opentoomanyfilesissueonlinux [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 17: | 行 17: | ||
at java.lang.Thread.run(Thread.java:745) | at java.lang.Thread.run(Thread.java:745) | ||
</code> | </code> | ||
- | 使用ps -p $pid會發現很可能是socket沒關閉造成的問題: | + | 使用lsof -p $pid會發現很可能是socket沒關閉造成的問題: |
<code bash> | <code bash> | ||
java 9403 root 250u unix 0xffff8802653b1180 0t0 30861424 socket | java 9403 root 250u unix 0xffff8802653b1180 0t0 30861424 socket | ||
行 34: | 行 34: | ||
* [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=416971|Bug 416971 - Jetty Leaks Connections in Time Wait]] | * [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=416971|Bug 416971 - Jetty Leaks Connections in Time Wait]] | ||
* [[http://stackoverflow.com/questions/22763024/too-many-open-files-when-using-jetty-9-on-linux-ubuntu|Too many open files when using jetty 9 on linux (ubuntu)]] | * [[http://stackoverflow.com/questions/22763024/too-many-open-files-when-using-jetty-9-on-linux-ubuntu|Too many open files when using jetty 9 on linux (ubuntu)]] | ||
+ | ====== ====== | ||
+ | ---- | ||
+ | \\ | ||
+ | ~~DISQUS~~ |