[Search] Search   [Register] Register /  [Login] Login 
오류확인
Forum Index » Resin Server Q&A
Author Message
graceamy



안녕하세요.
운영중인 Application 이 가끔 먹통이 되는 경우가 있는데,
레진에 아래와 같이 로그가 남습니다.
원인이 어떤 것이고, 어떻게 조치해야 할 지 의견 부탁드립니다.

참고로 resin.conf에 다음과 같이 설정되어 있습니다.
더 필요하신 정보 있으면 메모 부탁드립니다.

<!--
- Configures threads shared among all HTTP and SRUN ports.
-->
<thread-pool>
<!-- Maximum number of threads. -->
<thread-max>128</thread-max>

<!-- Minimum number of spare connection threads. -->
<spare-thread-min>25</spare-thread-min>
</thread-pool>

<!--
- Configures the minimum free memory allowed before Resin
- will force a restart.
-->
<min-free-memory>1M</min-free-memory>

<server>
<!-- adds all .jar files under the resin/lib directory -->
<class-loader>
<tree-loader path="$resin-home/lib"/>
</class-loader>

<!-- Configures the keepalive -->
<keepalive-max>500</keepalive-max>
<keepalive-timeout>60s</keepalive-timeout>

<!-- The http port -->
<http server-id="" host="*" port="80"/>

<!--
- The local cluster, used for load balancing and distributed
- backup.
-->
<cluster>
<srun server-id="" host="127.0.0.1" port="6802" index="1"/>
</cluster>

<!--
- Enables/disables exceptions when the browser closes a connection.
-->
<ignore-client-disconnect>true</ignore-client-disconnect>

<!--
- Enables the cache
-->
<cache path="cache" memory-size="10M"/>

------------------오류내역-------------------------
nection[id=tcp-connection-3,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp-
connection-10,socket=QJniSocket[74523840]]
[09:33:09.351] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:33:09.351] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:33:09.351] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:33:09.351] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:33:09.351] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:33:09.351] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:33:09.351] at java.lang.Thread.run(Thread.java:534)
[09:33:09.633] java.lang.IllegalStateException: FD: 8432 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-42,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-36,socket=QJniSocket[74523840]]
[09:33:09.633] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:33:09.633] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:33:09.633] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:33:09.633] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:33:09.633] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:33:09.633] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:33:09.633] at java.lang.Thread.run(Thread.java:534)
[09:34:36.885] java.lang.IllegalStateException: FD: 9124 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-14,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-32,socket=QJniSocket[74523840]]
[09:34:36.885] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:34:36.885] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:34:36.885] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:34:36.885] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:34:36.885] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:34:36.885] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:34:36.885] at java.lang.Thread.run(Thread.java:534)
[09:36:01.762] java.lang.IllegalStateException: FD: 9500 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-42,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-10,socket=QJniSocket[74523840]]
[09:36:01.762] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:36:01.762] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:36:01.762] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:36:01.762] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:36:01.762] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:36:01.762] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:36:01.762] at java.lang.Thread.run(Thread.java:534)
[09:37:56.765] java.lang.IllegalStateException: FD: 9800 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-49,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-26,socket=QJniSocket[74523840]]
[09:37:56.765] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:37:56.765] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:37:56.765] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:37:56.765] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:37:56.765] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:37:56.765] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:37:56.765] at java.lang.Thread.run(Thread.java:534)
[09:39:19.798] java.lang.IllegalStateException: FD: 9924 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-17,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-46,socket=QJniSocket[74523840]]
[09:39:19.798] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:39:19.798] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:39:19.798] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:39:19.798] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:39:19.798] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:39:19.798] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:39:19.798] at java.lang.Thread.run(Thread.java:534)
[09:40:36.378] java.lang.IllegalStateException: FD: 10156 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-4,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-21,socket=QJniSocket[74523840]]
[09:40:36.378] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:40:36.378] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:40:36.378] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:40:36.378] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:40:36.378] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:40:36.378] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:40:36.378] at java.lang.Thread.run(Thread.java:534)
[09:40:38.988] java.lang.IllegalStateException: FD: 10156 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-4,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-35,socket=QJniSocket[74523840]]
[09:40:38.988] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:40:38.988] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:40:38.988] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:40:38.988] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:40:38.988] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:40:38.988] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:40:38.988] at java.lang.Thread.run(Thread.java:534)
[09:41:49.474] java.lang.IllegalStateException: FD: 8648 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-36,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-17,socket=QJniSocket[74523840]]
[09:41:49.474] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:41:49.474] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:41:49.474] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:41:49.474] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:41:49.474] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:41:49.474] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:41:49.474] at java.lang.Thread.run(Thread.java:534)
[09:41:50.505] java.lang.IllegalStateException: FD: 10316 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-39,socket=QJniSocket[74523840]] ? TcpConnection[id=tc
p-connection-19,socket=QJniSocket[74523840]]
[09:41:50.505] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:41:50.505] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:41:50.505] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:41:50.505] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:41:50.505] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:41:50.505] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:41:50.505] at java.lang.Thread.run(Thread.java:534)
[09:41:54.724] java.lang.IllegalStateException: FD: 10336 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-45,socket=QJniSocket[74523840]] ? TcpConnection[id=tc
p-connection-25,socket=QJniSocket[74523840]]
[09:41:54.724] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:41:54.724] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:41:54.724] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:41:54.724] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:41:54.724] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:41:54.724] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:41:54.724] at java.lang.Thread.run(Thread.java:534)
[09:41:57.271] java.lang.IllegalStateException: FD: 10368 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-3,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-50,socket=QJniSocket[74523840]]
[09:41:57.271] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:41:57.271] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:41:57.271] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:41:57.271] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:41:57.271] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:41:57.271] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:41:57.271] at java.lang.Thread.run(Thread.java:534)
[09:42:02.427] java.lang.IllegalStateException: FD: 10476 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-48,socket=QJniSocket[74523840]] ? TcpConnection[id=tc
p-connection-18,socket=QJniSocket[74523840]]
[09:42:02.427] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:42:02.427] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:42:02.427] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:42:02.427] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:42:02.427] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:42:02.427] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:42:02.427] at java.lang.Thread.run(Thread.java:534)
[09:42:05.959] java.lang.IllegalStateException: FD: 10476 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-48,socket=QJniSocket[74523840]] ? TcpConnection[id=tc
p-connection-26,socket=QJniSocket[74523840]]
[09:42:05.959] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:42:05.959] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:42:05.959] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:42:05.959] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:42:05.959] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:42:05.959] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:42:05.959] at java.lang.Thread.run(Thread.java:534)
[09:43:07.492] java.lang.IllegalStateException: FD: 10832 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-2,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-41,socket=QJniSocket[74523840]]
[09:43:07.492] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:43:07.492] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:43:07.492] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:43:07.492] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:43:07.492] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:43:07.492] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:43:07.492] at java.lang.Thread.run(Thread.java:534)
[09:43:33.117] java.lang.IllegalStateException: FD: 10920 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-0,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-17,socket=QJniSocket[74523840]]
[09:43:33.117] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:43:33.117] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:43:33.117] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:43:33.117] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:43:33.117] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:43:33.117] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:43:33.117] at java.lang.Thread.run(Thread.java:534)
[09:43:33.117] java.lang.IllegalStateException: FD: 10920 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-0,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-17,socket=QJniSocket[74523840]]
[09:43:33.117] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:43:33.117] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:43:33.117] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:43:33.117] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:43:33.117] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:43:33.117] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:43:33.117] at java.lang.Thread.run(Thread.java:534)
[09:43:54.868] java.lang.IllegalStateException: FD: 10920 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-0,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-50,socket=QJniSocket[74523840]]
[09:43:54.868] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:43:54.868] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:43:54.868] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:43:54.868] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:43:54.868] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:43:54.868] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:43:54.868] at java.lang.Thread.run(Thread.java:534)
[09:44:38.541] java.lang.IllegalStateException: FD: 11132 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-3,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-48,socket=QJniSocket[74523840]]
[09:44:38.541] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:44:38.541] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:44:38.541] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:44:38.541] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:44:38.541] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:44:38.541] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:44:38.541] at java.lang.Thread.run(Thread.java:534)
[09:45:33.308] java.lang.IllegalStateException: FD: 9060 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-14,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp
-connection-31,socket=QJniSocket[74523840]]
[09:45:33.308] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:45:33.308] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:45:33.308] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:45:33.308] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:45:33.308] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:45:33.308] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:45:33.308] at java.lang.Thread.run(Thread.java:534)
[09:45:33.480] java.lang.IllegalStateException: FD: 9164 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-4,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp-
connection-13,socket=QJniSocket[74523840]]
[09:45:33.480] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:45:33.480] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:45:33.480] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:45:33.480] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:45:33.480] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:45:33.480] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:45:33.480] at java.lang.Thread.run(Thread.java:534)
[09:46:14.950] java.lang.IllegalStateException: FD: 1916 isAlreadyWaiting:TcpCon
nection[id=tcp-connection-2,socket=QJniSocket[74523840]] ? TcpConnection[id=tcp-
connection-4,socket=QJniSocket[74523840]]
[09:46:14.950] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:46:14.950] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:46:14.950] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:46:14.950] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:46:14.950] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:46:14.950] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:46:14.950] at java.lang.Thread.run(Thread.java:534)
[09:46:59.529] java.lang.IllegalStateException: FD: 11228 isAlreadyWaiting:TcpCo
nnection[id=tcp-connection-49,socket=QJniSocket[74523840]] ? TcpConnection[id=tc
p-connection-32,socket=QJniSocket[74523840]]
[09:46:59.529] at com.caucho.server.port.JniSelectManager.keepalive(JniSelectMa
nager.java:18
[09:46:59.529] at com.caucho.server.port.Port.keepalive(Port.java:491)
[09:46:59.529] at com.caucho.server.port.TcpConnection.keepalive(TcpConnection.
java:286)
[09:46:59.529] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:3
67)
[09:46:59.529] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
[09:46:59.529] at com.caucho.util.ThreadPool.run(ThreadPool.java:40
[09:46:59.529] at java.lang.Thread.run(Thread.java:534)

This message was edited 1 time. Last update was at 10/07/2015 10:34:09

Admin

[Avatar]


안녕하세요.

게시하신 로그의 내용을 확인해보니 OS의 File descriptor 설정이 의심됩니다.
더 많은 수의 descriptor가 필요해 보이니 OS의 descriptor를 상향 설정 후 테스트 해보시기 바랍니다.

감사합니다.
 
Forum Index » Resin Server Q&A
Go to: