小编Jam*_*mes的帖子

默认的 opsworks 说明书实际上有什么作用?

我工作的公司正在迁移到 AWS,因此我有机会开始调查他们提供的各种服务。OpsWorks 看起来非常适合推出大规模架构更改,但是“自定义”层包括 13 个无法删除的配方。

他们似乎做各种不同的事情,包括安装驱动器 /var/www/html

有谁知道我在哪里可以找到一些关于默认 OptsWorks 脚本正在做什么的文档,更重要的是他们为什么这样做?

我显然可以通读厨师脚本,但对他们来说是新手,就像阅读胡言乱语一样。

chef amazon-web-services opsworks

5
推荐指数
1
解决办法
278
查看次数

Opcache手动重启的原因是什么

我已经使用 php-fpm 设置了 opcache,但由于某种原因,它不断手动重新启动。我没有执行重新启动操作,并且已将强制重新启动超时设置为 2700 秒(2 小时),因此缓存不应被清除。

是什么原因导致手动重启?

Array
(
    [opcache_enabled] => 1
    [cache_full] => 
    [restart_pending] => 
    [restart_in_progress] => 
    [memory_usage] => Array(
            [used_memory] => 58506120
            [free_memory] => 478364792
            [wasted_memory] => 0
            [current_wasted_percentage] => 0
        )
    [interned_strings_usage] => Array(
            [buffer_size] => 16777216
            [used_memory] => 5840560
            [free_memory] => 10936656
            [number_of_strings] => 3946503
        )
    [opcache_statistics] => Array(
            [num_cached_scripts] => 1553
            [num_cached_keys] => 3015
            [max_cached_keys] => 16229
            [hits] => 52263
            [start_time] => 1475655854
            [last_restart_time] => 1475662737
            [oom_restarts] => 0
            [hash_restarts] => 0
            **[manual_restarts] => …
Run Code Online (Sandbox Code Playgroud)

nginx php-fpm opcache

3
推荐指数
1
解决办法
1083
查看次数

标签 统计

amazon-web-services ×1

chef ×1

nginx ×1

opcache ×1

opsworks ×1

php-fpm ×1