admin管理员组文章数量:1426227
I have a VPS sever for a wordpress site, which has an 8g ram and 4 cores cpu, however the site is really slow, I feel like the site is not using all resources, my question is, how much memory should the PHP sever limit be and how exactly can I do it? the server is in centos7.
I have a VPS sever for a wordpress site, which has an 8g ram and 4 cores cpu, however the site is really slow, I feel like the site is not using all resources, my question is, how much memory should the PHP sever limit be and how exactly can I do it? the server is in centos7.
Share Improve this question edited Jun 15, 2019 at 19:09 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Jun 15, 2019 at 19:03 Forsaken DevForsaken Dev 11 Answer
Reset to default 0First, I have to tell you that this all depends on the server size and the amount of resources your WordPress site uses. That being said, I set my php memory limit to between 256 and 512 MB.
WordPress sites can be slow for a large variety of reasons. Performance often improves by tweaking database settings (and checking for slow queries), configuring page and object caching, using a separate object cache like Redis or Memcache, adding Varnish in front of your site or using external edge cache like Cloudflare or Cloudfront, etc.
本文标签: serverWordpress vps memory allocation
版权声明:本文标题:server - Wordpress vps memory allocation 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745397235a2656872.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论