douban5644 2015-09-28 15:32
浏览 70

OPCACHE memory_consumption Apache中的错误

Whenever I set the opcache.memory_consumption to use more than 1536MB of RAM, my Apache returns the following error: Fatal Error Unable to create file mapping

I use:

Windows Server 2012 R2 Standard Edition
PHP: MSVC11 (Visual C++ 2012)
PHP: x64
PHP: Version 5.6.7
Apache/2.4.12 (Win64) - WinNT
Apache Lounge VC11 Server Built: Mar 20 2015 11:22:29

Does anyone know what could be?

Follows current configuration that works:

[opcache]
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=1536
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=40960
opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_freq=3
opcache.revalidate_path=0
opcache.save_comments=1
opcache.load_comments=1
opcache.fast_shutdown=1
opcache.enable_file_override=0
opcache.optimization_level=0xffffffff
opcache.dups_fix=0
opcache.blacklist_filename=
opcache.max_file_size=0
opcache.consistency_checks=0
opcache.force_restart_timeout=180
opcache.error_log=
opcache.log_verbosity_level=1
opcache.preferred_memory_model=
opcache.protect_memory=0
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 基于卷积神经网络的声纹识别
    • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
    • ¥100 为什么这个恒流源电路不能恒流?
    • ¥15 有偿求跨组件数据流路径图
    • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
    • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
    • ¥15 CSAPPattacklab
    • ¥15 一直显示正在等待HID—ISP
    • ¥15 Python turtle 画图
    • ¥15 stm32开发clion时遇到的编译问题