起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7875|回复: 3

[结贴] 服务报错 No buffer space available

[复制链接]

58

主题

238

帖子

503

积分

高级会员

Rank: 4

积分
503
QQ
发表于 2017-6-21 09:47:54 | 显示全部楼层 |阅读模式
版本: X5.2.7 小版本号:
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: 浏览器:
今天突然出现如下错误,登陆界面可以打开,但是输入信息无法进入,已登陆的人员也无法正常操作,后重启了服务器现在有正常
2017-06-21 07:43:49 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:43:54 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:43:54 Retrying request
2017-06-21 07:44:04 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:04 Retrying request
2017-06-21 07:44:04 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:04 Retrying request
2017-06-21 07:44:04 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:04 Retrying request
2017-06-21 07:44:04 编码: JUSTEP120037; 提示: 调用Action出错, No buffer space available (maximum connections reached?): JVM_Bind
javax.servlet.ServletException: com.justep.exception.BaseRuntimeException: 编码: JUSTEP120037; 提示: 调用Action出错, No buffer space available (maximum connections reached?): JVM_Bind
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.justep.exception.BaseRuntimeException: 编码: JUSTEP120037; 提示: 调用Action出错, No buffer space available (maximum connections reached?): JVM_Bind
at com.justep.ui.WindowServer.getData(Unknown Source)
at com.justep.ui.WindowServer.service(Unknown Source)
... 14 more
2017-06-21 07:44:21 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:21 Retrying request
2017-06-21 07:44:21 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:21 Retrying request
2017-06-21 07:44:21 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:21 Retrying request
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:22 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:22 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:29 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:29 Retrying request
2017-06-21 07:44:33 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:33 Retrying request
2017-06-21 07:44:33 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:33 Retrying request
2017-06-21 07:44:33 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:33 Retrying request
2017-06-21 07:44:35 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:35 Retrying request
2017-06-21 07:44:35 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:35 Retrying request
2017-06-21 07:44:35 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:35 Retrying request
2017-06-21 07:44:40 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:40 Retrying request
2017-06-21 07:44:40 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:40 Retrying request
2017-06-21 07:44:40 I/O exception (java.net.SocketException) caught when processing request: No buffer space available (maximum connections reached?): JVM_Bind
2017-06-21 07:44:40 Retrying request
2017-06-21 07:44:40 org.dom4j.tree.DefaultDocument cannot be cast to org.json.JSONObject
javax.servlet.ServletException: java.lang.ClassCastException: org.dom4j.tree.DefaultDocument cannot be cast to org.json.JSONObject
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassCastException: org.dom4j.tree.DefaultDocument cannot be cast to org.json.JSONObject
at DoLogout.execute(DoLogout.java:26)
at com.justep.ui.JavaServer.runJava(Unknown Source)
at com.justep.ui.JavaServer.doJ(Unknown Source)
at com.justep.ui.JavaServer.service(Native Method)
... 14 more

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2017-6-21 10:25:33 | 显示全部楼层

maximum connectionsreached确认是不是tomcat线程数超了
在浏览器中输入http://ip:port/_index.html, 看访问是否正常
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

58

主题

238

帖子

503

积分

高级会员

Rank: 4

积分
503
QQ
 楼主| 发表于 2017-6-28 08:24:41 | 显示全部楼层
本帖最后由 liuaqiuping 于 2017-6-28 08:30 编辑
jishuang 发表于 2017-6-21 10:25
maximum connectionsreached确认是不是tomcat线程数超了
在浏览器中输入http://ip:port/_index.html, 看访 ...


查看netstat 很多   TCP    127.0.0.1:50274        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50275        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50276        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50277        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50278        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50280        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50281        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50282        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50283        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50284        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50285        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50286        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50287        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50288        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50289        127.0.0.1:8080         TIME_WAIT       0
  TCP    127.0.0.1:50290        127.0.0.1:8080         TIME_WAIT       0
是否是哪里设置不对导致连接不能及时释放掉

<Connector port="8080" URIEncoding="utf-8" maxHttpHeaderSize="8192" compression="on" maxThreads="500" minSpareThreads="30" maxSpareThreads="150" enableLookups="false" redirectPort="8443" acceptCount="300" connectionTimeout="30000" disableUploadTimeout="true" compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,application/xml,application/json"/>  
----------还有就是一个客户端地址怎么同时有多个连接8080端口
[tomcat6.exe]
  TCP    168.1.1.11:8080        168.1.1.83:1865        ESTABLISHED     5888
[tomcat6.exe]
  TCP    168.1.1.11:8080        168.1.1.83:1866        ESTABLISHED     5888
[tomcat6.exe]
  TCP    168.1.1.11:8080        168.1.1.83:1867        ESTABLISHED     5888
[tomcat6.exe]
  TCP    168.1.1.11:8080        168.1.1.83:1868        ESTABLISHED     5888
[tomcat6.exe]
  TCP    168.1.1.11:8080        168.1.1.83:1869        ESTABLISHED     5888---


回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2017-6-28 10:11:04 | 显示全部楼层
1.在浏览器中输入http://ip:port/_index.html, 看访问是否正常
2.数据源的配置信息发一下看看
3.使用probe工具,以及操作系统自带工具
http://bbs.wex5.com/forum.php?mod=viewthread&tid=39228
查看当出现问题后,服务器的内存,CPU,线程,数据库连接使用情况;
4.一个客户端地址怎么同时有多个连接8080端口这个是什么地方监控的?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-22 02:17 , Processed in 0.059131 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表