警告:PDO::__construct():错误无法执行套接字上的操作,因为系统(尝试通过 tcp://DBSERV:3306 连接)
对不起,标题很长。
这是我在Windows Server 2008 R2上收到的错误消息。我正在通过Magento安装的日志和Drupal 7收到此消息,而在网站下降之前。
我在此设置中运行两个盒子。同时运行IIS 7和APACHE 2.2.16的Web服务器,以及同时运行SQL Server 2008和MySQL 5.1.49的单独的DB服务器,
我已经google google了此消息,看起来它是由Windows生成的特定错误代码:10055,指示资源问题。我发现的唯一解决方案虽然与Windows的较旧版本或Windows的32位版本有关:
在这里都不是这样,因此建议的修复程序不会申请。
在此事件日志中,我没有看到很多东西,而且我遇到了旁边的何处进行故障排除。另一个可能很重要的消息是在我得到套接字错误之前,我开始从Magento:
警告:Simplexml_load_string()():内存分配失败:增长缓冲区
任何人都有任何想法吗?
Sorry for the long title.
This is an error message I'm receiving on a Windows Server 2008 R2. I am receiving this message in the logs of both a Magento installation, and Drupal 7 just before the sites go down.
I run two boxes in this setup. One web server that runs both IIS 7 and Apache 2.2.16, and a separate DB server that runs both SQL Server 2008, and Mysql 5.1.49
I've Google'd this message, and it looks like it is generated by a Windows specific error code: 10055, that indicates a resource problem. The only solutions I'm finding though relate to older versions of Windows, or 32-bit versions of Windows:
Neither of which is the case here, so the suggested fixes don't apply.
I'm not seeing much of anything in the Event logs, and I'm stuck as to where to go next to troubleshoot this. One other message that's maybe of some importance is just before I get the socket errors, I start receiving this error from Magento:
Warning: simplexml_load_string(): Memory allocation failed : growing buffer
Anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这肯定是资源问题。看起来 Magento 正在做一些事情,试图消耗所有内存
:)
以至于套接字操作开始失败。首先检查它尝试使用simplexml_load_string
加载的内容。It's most certainly a resources issue. It looks like Magento is doing something which is trying to CONSUME ALL THE MEMORY
:)
to the point that socket operations start to fail. Start by examining what it's trying to load withsimplexml_load_string
.