Remote Rendering portlet hangs on socketRead0()
當我們在JAVACORE檔案中發現很多WEBCONTAINER掛起在INPUTSTREAM方法或SOCKETREADER方法中時,解決如下:(另有一參考在DB2型別中)
|
|||
Cause | |||
WebSphere Portal SystemOut.log shows hung Web container threads: [14:29:40:901 EDT] 55be0ad9 ThreadMonitor W WSVR0605W: Thread "Servlet.Engine.Transports : 10" (42520adb) has been active for 709,037 milliseconds and may be hung. There are 9 threads in total in the server that may be hung. A review of the javacores show the Web Content Management Remote Rendering portlet is hung in socketRead0(): 3XMTHREADINFO "Servlet.Engine.Transports : 10" (TID:0x807A0D30, sys_thread_t:0x46D0C328, state:R, native ID:0xAFCD) prio=5 4XESTACKTRACE at java.net.SocketInputStream.socketRead0(Native Method) 4XESTACKTRACE at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code)) 4XESTACKTRACE at java.io.BufferedInputStream.fill(BufferedInputStream.java(Compiled Code)) 4XESTACKTRACE at java.io.BufferedInputStream.read1(BufferedInputStream.java(Compiled Code)) 4XESTACKTRACE at java.io.BufferedInputStream.read(BufferedInputStream.java(Compiled Code)) 4XESTACKTRACE at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java(Compiled Code)) 4XESTACKTRACE at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java(Compiled Code)) 4XESTACKTRACE at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java(Compiled Code)) 4XESTACKTRACE at org.apache.jsp._Default.getExternalPage(_Default.java(Compiled Code)) 4XESTACKTRACE at org.apache.jsp._Default.getContent(_Default.java(Compiled Code)) 4XESTACKTRACE at org.apache.jsp._Default.getWCMFooter(_Default.java(Compiled Code)) 4XESTACKTRACE at org.apache.jsp._Default._jspService(_Default.java(Compiled Code)) 4XESTACKTRACE at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code)) 4XESTACKTRACE at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) ... The Web Content Management (WCM) Remote Rendering portlet does blocking I/O when getting content from the WCM server. If the WCM server unexpectedly hangs or exits, the WCM Remote Rendering portlet may also hang in java.net.SocketInputStream.socketRead0(), and its Web container threads may never get free. The WCM Remote Rendering portlet sets no timeout on its block socket operations to the WCM server. Restarting the WCM Remote Rendering portlet EAR (for ilwwcm-remoterendering-portlet.war) does not free the hung Web container threads. |
|||
Resolving the problem | |||
One solution is to restart WebSphere Portal.
Another workaround is to configure the Java networking properties for java.net.URLConnection. These properties specify the default connect and read timeout (response) for the protocol handler used by java.net.URLConnection. Note this will affect all java.net.URLConnections in the JVM, not just those from the Web Content Management Remote Rendering portlet. In the WebSphere Application Server administrative console for the Web Content Management delivery server, click Servers -> Application Servers -> <websphere_portal_name> -> Process Definition -> Java Virtual Machine -> Custom Properties. Add the following name and value pairs (for example, for a 5 minute timeout):
Save the changes, and restart WebSphere Portal. The Web Content Management Local Rendering portlet does not use sockets and does not have this problem. It uses a Java API in order to access the local Web Content Management content. |
相關文章
- Physically Based Rendering
- [Vue] useDefer to improve the rendering performacneVueORMMac
- Incorrect MEMORY_MAX_TARGET (> Available RAM) Can Lead To Database HangsAIDatabase
- Games101-9 advanced renderingGAM
- 遊戲中的Volumetric Rendering遊戲
- 深入理解 iOS Rendering ProcessiOS
- direct3d---direct11 rendering pipeline3D
- Domino整合Portlet開發---安裝和配置Domino 6.5伺服器伺服器
- 百寶箱:幾乎所有專案都會用到的Portlet開發
- AvaloniaUI 中的 WPF CompositionTarget.Rendering 替代品UI
- Server-side rendering for any React app on any FaaS providerServerIDEReactAPP
- git remote 命令詳解GitREM
- 使用 VSCode Remote 外掛VSCodeREM
- 《Real-Time Rendering》第四章:變換
- 【PR】3D Gaussian Splatting for Real-Time Radiance Field Rendering3D
- Configuring the launch of the remote virtual machine to debugREMMac
- 靜態化與伺服器渲染(Static vs. Server Rendering)伺服器Server
- MVC Remote 伺服器驗證MVCREM伺服器
- [network][easy case]troubleshoting the connection to a remote serverREMServer
- 關於RAC的remote_listenerREM
- Remote_login_passwordfile引數探究REM
- Remote Desktop Manager 2022,遠端控制REM
- Microsoft Remote Desktop for Mac 10.9.5正式版ROSREMMac
- 中文最新Microsoft Remote Desktop 啟用包ROSREM
- Microsoft Remote Desktop 中文哪裡下載ROSREM
- Remote Desktop Manager for Mac(遠端桌面管理)REMMac
- remote_listener引發的故障分析REM
- 實時&離線皮膚渲染技術(Real-time&Offline Skin Rendering)
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- 使用 Microsoft Remote Desktop 遠端連線 WindowsROSREMWindows
- Microsoft Remote Desktop破 解版安裝教程ROSREM
- 如何通過DBLINK取remote DB的DDLREM
- Windows遠端桌面的使用(Remote Desktop Connection)WindowsREM
- Git remote 遠端倉庫連結管理GitREM
- 微軟遠端桌面工具:Microsoft Remote Desktop微軟ROSREM
- 支援remote write和exemplar的prometheus服務REMPrometheus
- Microsoft Remote Desktop Mac(遠端連線工具)ROSREMMac
- 《Real-Time Rendering 3rd》 提煉總結(二): 圖形渲染管線
- git使用報錯fatal: remote origin already exists.GitREM