dachuige
V2EX  ›  问与答

wordpress 很占 CPU,你们觉得呢?

  •  
  •   dachuige · Jan 15, 2019 · 3258 views
    This topic created in 2859 days ago, the information mentioned may be changed or developed.

    我插件基本没装什么的 但是一刷新 CPU100% 每次都是,你们呢。

    13 replies  •  2019-01-16 08:40:24 +08:00
    Bantes
    Bantes
    Jan 15, 2019
    1
    不会是中了挖矿脚本吧
    dapang1221
    dapang1221
    Jan 15, 2019
    2
    对的,本来 wp 就很慢
    bgm004
    bgm004
    Jan 15, 2019 via Android❤️1
    3
    所以我选择 typecho
    yuikns
    yuikns
    Jan 15, 2019
    4
    wp-super-cache 安装下?

    hhvm ( https://hhvm.com/ ) 试试?
    升级到了 php7 了?

    ------

    另外,vps 的 cpu 普遍弱。单核的话来个 100% 太正常。其实 htop 那也是闪一下。benchmark 是算 qps 来着。
    试试这个工具: https://httpd.apache.org/docs/2.4/programs/ab.html
    haopic
    haopic
    Jan 15, 2019
    5
    是的
    marvin520
    marvin520
    Jan 15, 2019
    6
    @yuikns 半天没打开你的
    yuikns
    yuikns
    Jan 15, 2019 via iPad
    7
    @lunatic5
    HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. 这是 fb 的
    ab 是 apache 的… 你说的“我的”是哪个
    soho776
    soho776
    Jan 15, 2019
    8
    wp 文章全静态化,不就行了
    ferock
    ferock
    Jan 15, 2019
    9
    所以,转投 Hexo
    niubikelasi
    niubikelasi
    Jan 15, 2019
    10
    还是 typecho 好用,轻量级
    yingfengi
    yingfengi
    Jan 15, 2019 via Android
    11
    服务器太差吧。。。。
    我的阿里云小鸡鸡,用的好好的
    https://yingfeng.me
    xiaomimei
    xiaomimei
    Jan 15, 2019 via Android
    12
    配置太低怨 wp (手动狗头
    msg7086
    msg7086
    Jan 16, 2019
    13
    还是要看分给你多少 CPU。如果分给你 0.2 核,那应该是很快的。如果只有 0.05 核,那就是很大的问题了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2164 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 12:36 · PVG 20:36 · LAX 04:36 · JFK 07:36
    ♥ Do have faith in what you're doing.