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/

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

报告相同问题?

悬赏问题

  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?