dsj1961061 2016-08-17 10:00
浏览 162
已采纳

Windows IIS(8.5.96)服务器崩溃的WordPress多站点 - PHP 5.6 wincache.dll 1.3.7.0

I'm running a WordPress multisite(4.5.3) on Windows IIS (8.5.96).

Every now and then the server crashes with a Wincache error. I have updated both PHP and Wincache components on the server. Because at the moment I have to observe the server 24/7.

Faulting application name: php-cgi.exe, version: 5.6.22.0,time stamp: 0x57468660
Faulting module name: php_wincache.dll,version: 1.3.7.10, time stamp: 0x56ccce50
Exception code: 0xc0000005
Fault offset: 0x00015247
Faulting process id: 0x8cc
Faulting application start time: 0x01d1f8244e589ffc
Faulting application path: C:\Program Files (x86)\PHP\v5.6\php-cgi.exe
Faulting module path: C:\Program Files (x86)\PHP\v5.6\ext\php_wincache.dll
Report Id: 7fbf700b-6418-11e6-80cc-005056b77a12
Faulting package full name:
Faulting package-relative application ID:

Server:

-Windows Server 2012 R2 Standard

-Installed memory Ram 4 Gb

-Php-cgi.exe   (5.6.22.0)

-Wincache.dll   (1.3.7.10)

IIS:

-IIS 8.5.96

-Php 5.6

IIS Setup:

-Idle timeout 300

-Activity timeout 300

-Request timeout 300

-Application pool > Recycling 20 min.

-Application pool > Idle time-out 18 min.

Wordpress and plugins used:

-Wp multisite 4.5.3

-Atom Linkedin (1.0.0)

-Contact form 7 (4.3.1)

-Custom Facebook Feed (2.3.10)

-Redirection (2.4.3)

-Rename wp-login (2.5.5)

-Revolution Slider (5.0.6)

-W3 Total Cache (0.9.4.1)

-Wordfence Security (6.1.14)

-WordPress MU Domain Mapping (0.5.5.1)

-WP-Mail-SMTP (0.9.5)

-Yoast SEO (3.0.7)

Is it a server issue or perhaps a misconfiguration? Or is it a php, WordPress or any other software issue?

  • 写回答

1条回答

  • douruocai4111 2016-08-18 13:00
    关注

    Not sure whether this should be an answer or an comment, but here goes.

    The exception code 0xc0000005 often means a shared memory access violation. At various places you find information about adding

    wincache.namesalt=0x200000
    

    to your configuration. This is a shared memory address to store objects in.

    On the other hand: I'm using the same WinCache version in my environment, but it isn't used much (shared hosting). The clients use OPCache, and with OPCache the same exception code occurs frequently. It became less when I added

    opcache.mmap_base=0x20000000
    

    to our PHP.ini configuration, but it still isn't over.

    The shared memory violation does not happen with PHP 7. If you can, switch to PHP 7.

    Some reference links:

    https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.mmap-base , https://www.apachelounge.com/viewtopic.php?p=29838#29838 , https://secure.php.net/manual/en/wincache.configuration.php#ini.wincache.namesalt , https://www.saotn.org/php-wincache-on-iis/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP