“等待可用的套接字",从服务器端修复 [英] "Waiting for available socket", fix from the server end

查看:63
本文介绍了“等待可用的套接字",从服务器端修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从Chrome访问我的PHP/Apache网站.Chrome拒绝加载该页面,并显示正在等待可用的套接字".

I am accessing my PHP/Apache website from Chrome. And Chrome refuses to load the page, saying "Waiting for available socket".

同一虚拟主机上的其他页面也有问题.

Other pages on this same virtual host also have the problem.

同一台服务器上的其他虚拟主机可以很好地加载.

Other virtual hosts on the same server load perfectly fine.

请告知我该如何解决.

推荐答案

根据各种来源,Chrome最多打开6条同时连接到同一服务器的连接.可能的解决方案包括

According to various sources, Chrome opens a maximum of 6 simultaneous connections to the same server. Possible solutions include

  • 同一台计算机上不同虚拟主机上的主机数据.
  • 合并要加载的内容以减少连接次数(例如,将所有内容放在Emscripten的单个.data文件中)
  • 请确保您没有太多标记有属性 preload ="auto" < video> 或< audio> 标记代码>.
  • 调整Chrome以最多允许32个连接.政策列表
  • Host data on different virtual hosts on the same machine.
  • Consolidate content to be loaded to require fewer connections (for example, put everything in a single .data file for Emscripten)
  • Make sure you don't have too many <video> or <audio> tags marked with the attribute preload="auto".
  • Adjust Chrome to permit up to 32 connections. Policy List

相关问题: Chrome在传输了一定数量的数据后挂起-等待可用的套接字

这篇关于“等待可用的套接字",从服务器端修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆