Weblogc BEA-000449:关闭套接字,因为在配置的 5 秒空闲超时期间没有从中读取数据

发布于 2024-09-04 09:17:53 字数 169 浏览 2 评论 0原文

我开始在我的 weblogic 10 日志文件中看到此消息。 我正在运行一个大约有 40-350 个并发用户的应用程序。我的问题是

  1. 这个错误的真正含义是什么
  2. 它将如何影响用户(如果确实如此)
  3. 可能导致此

错误的原因是什么

I have started seeing this message in my weblogic 10 log files.

I am running an app with around 40-350 concurrent users. My questions are

  1. What does this error really mean
  2. How will it affect the users (if it does)
  3. What could be causing this

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

小耗子 2024-09-11 09:17:53

这个错误的真正含义是什么

Weblogic 正在关闭用于与服务器客户端之一通信的套接字,因为超过五秒没有发送任何数据,这是您为 Weblogic 的空闲超时配置的值。

可能是什么原因造成的

客户端程序连接到您的服务器,发送一些数据,然后 1) 不关闭连接或 2) 消失。

What does this error really mean

Weblogic is closing a socket used to communicate with one of the server's clients because no data has been sent for more than five seconds, which is the value you have configured for Weblogic's idle timeout.

What could be causing this

Client programs connecting to your server, sending some data, and then either 1) not closing the connection or 2) disappearing.

初心 2024-09-11 09:17:53

摘自 Oracle 文档:

E-WL:WebLogic 日志警告消息:“ 正在关闭套接字,因为在配置的空闲超时时间期间,在 xx.xxx.xxx.xxx 上没有从中读取数据5 秒”(文档 ID 1423761.1)

该消息是警告,通常不会对用户产生影响,因此无需采取任何操作。

请注意,有一个选项可以过滤掉“关闭套接字”消息,如下所述。但我们建议不要这样做,因为这些消息很有可能表明您的环境中存在某种问题,因此最好了解这些消息是否已记录以及记录的频率。但是,如果仍然选择过滤掉消息,您可以按照以下步骤操作:

  1. 登录 WebLogic 管理控制台
  2. 点击“锁定并锁定”左侧菜单上的“编辑”按钮
  3. 首先,添加日志过滤器:

    a.单击您的 PeopleSoft 域名(位于左侧菜单的“域结构”部分)
    b.转到“配置”选项卡和“日志过滤器”子选项卡
    c.单击“新建”按钮创建新过滤器
    d.为新日志文件指定任意名称(例如“LogFilter-ClosingSocket”
    e.单击“确定”
    f.现在单击新创建的过滤器的超链接,然后在“当前日志过滤器表达式”中,单击编辑按钮添加以下内容:
    NOT(MESSAGE LIKE '关闭套接字,因为没有从中读取数据%')
    g。保存更改
    h.点击左侧菜单上的“激活更改”按钮

4. 现在将过滤器分配给服务器

a.在左侧菜单中,选择“环境”->“服务器”
b.在右侧菜单上,单击您要更新的服务器的超链接(例如“PIA”)
c.选择“日志记录”选项卡和“常规”子选项卡
d.转到页面底部并单击“高级”超链接
e.单击“锁定并锁定”编辑按钮
f.在“日志记录”部分中,添加您创建的新过滤器(在上面的步骤 3 中)
g。还将过滤器添加到“标准输出”部分(以便消息不会记录到 PIA_weblogic.log 或 stdout/ntservice 日志中)
h.保存更改
我。单击左侧菜单上的“激活更改”按钮

Taken from Oracle's document:

E-WL: WebLogic Logs Warning Message: "<BEA-000449> Closing socket as no data read from it on xx.xxx.xxx.xxx during the configured idle timeout of 5 secs" (Doc ID 1423761.1)

The message is a warning and typically has no user impact, thus no action needs to be taken.

Note that there is an option to filter out the 'Closing socket' messages, as described below. But we advise against doing this since there is a small chance that the messages could be indicative of some sort of issue in your environment, therefore it is good to be aware of whether these messages are logged and the frequency at which they are logged. However, if still choose to filter out the messages, you can do so as follows:

  1. Log into WebLogic Admin console
  2. Click the 'Lock & Edit' button on left menu
  3. First, add the log filter:

    a. Click on your PeopleSoft Domain Name (on left menu in the 'Domain Structure' section)
    b. Go to 'Configuration' tab and 'Log Filters' subtab
    c. Click 'New' button to create a new filter
    d. Give any name to your new log file (eg "LogFilter-ClosingSocket'
    e. Click 'OK'
    f. Now click on the hyperlink for the newly created filter and in the 'Current Log Filter Expressions', click edit button to add the following:
    NOT(MESSAGE LIKE 'Closing socket as no data read from it%')
    g. Save the change
    h. Click 'Activate Changes' button on left menu

4. Now assign the filter to the server

a. On left menu, choose Environment->Servers
b. On right menu, click the hyperlink for server you wish to update (eg 'PIA')
c. Choose 'Logging' tab and 'General' subtab
d. Go to bottom of page and click 'Advanced' hyperlink
e. Click 'Lock & Edit button
f. In the 'Logging' section, add the new filter that you created (in step 3 above)
g. Also add the filter to the 'Standard out' section (so that message is not logged to PIA_weblogic.log nor the stdout/ntservice log)
h. Save the change
i. Click 'Activate Changes' button on left menu

爱本泡沫多脆弱 2024-09-11 09:17:53

BEA-000449

警告:由于在配置的空闲超时(idleTimeout 秒)期间没有从套接字读取数据而关闭套接字

描述:由于没有读取数据而关闭套接字在配置的空闲超时(idleTimeout 秒)内

原因:WebLogic Server 或网络可能过载,导致套接字空闲超时。

操作:需要对服务器进行容量调整。

来源: http://docs.oracle.com/cd/E12839_01 /apirefs.1111/e14397/Socket.html

BEA-000449

Warning: Closing socket as no data read from it during the configured idle timeout of idleTimeout secs

Description: Closing socket as no data read from it during the configured idle timeout of idleTimeout secs

Cause: The WebLogic Server or the network may be overloaded which is causing the socket to idle timeout.

Action: Capacity tuning of the server is required.

source: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e14397/Socket.html

同展鸳鸯锦 2024-09-11 09:17:53

操作:需要调整服务器的容量。

请设置参数-Dweblogic.client.socket.ConnectTimeout=XXX,在
AdminServer 的启动脚本以及 JAVA_OPTIONS 下的所有托管服务器,并检查它是否显示相同的行为,其中“XXX”是以毫秒为单位的值。

-Dweblogic.client.socket.ConnectTimeout=500

引用自:https://community.oracle.com/thread/695621

Action:Capacity tuning of the server is required.

Please set the parameter -Dweblogic.client.socket.ConnectTimeout=XXX, in
startupscript of the AdminServer, and all the managed servers under JAVA_OPTIONS and check whether it is showing the same behaviour or not, where "XXX" is the value in ms.

-Dweblogic.client.socket.ConnectTimeout=500

Referred from : https://community.oracle.com/thread/695621

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文