Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 11, 2015 3:05 am 
Offline

Joined: Sun Jan 11, 2015 3:01 am
Posts: 1
I use WordPress 4.1 program to build my personal blog, but I found during a visit to the higher number, memory usage will rise rapidly
I used the W3 total cache caching plugin, but the effect is very small, as the opcode cache, no effect
The strange thing is once I use w3totalcache is effective, but now, no matter what opcode caching system to no avail
PHP's memory_limit to 64M
Server architecture is Mysql + Apache + Nginx


Top
   
PostPosted: Sun Jan 11, 2015 12:28 pm 
Offline
Newbie

Joined: Sun Jan 11, 2015 12:09 pm
Posts: 2
64M limit is enough for most wordpress installs however you may increase it to 128M to see how things go.
apache is memory eater, with incorrect settings, 1GB can be easily exhausted. you can see this article to optimize apache https://www.linode.com/docs/websites/ho ... linode-1gb
I think you are using nginx for static file serving. you may also consider serving whole site with nginx (+php-fpm with caching like fastcgi and php-opcode). I was hosting my android apk site http://www.androidapksfree.com with linode 1GB. with apache, site was too slow and mysql server was stopping time to time due to low memory (didn't know what went wrong). but things are smooth since i moved my site to nginx. you can see my site: http://www.androidapksfree.com


Top
   
PostPosted: Fri May 08, 2015 2:00 pm 
Offline
Newbie

Joined: Fri May 08, 2015 1:44 pm
Posts: 2
Twitter: AnthumChris
@asimhakim's recommendation was something I've done before, and I can't recommend it enough. Get off Apache and use Nginx with PHP5-FPM. Your memory usage will decrease by leaps and bounds.


Top
   
PostPosted: Wed Sep 30, 2015 3:17 pm 
Offline
Senior Newbie

Joined: Sat Aug 22, 2015 7:02 pm
Posts: 14
asimhakim wrote:
64M limit is enough for most wordpress installs however you may increase it to 128M to see how things go.
apache is memory eater, with incorrect settings, 1GB can be easily exhausted. you can see this article to optimize apache https://www.linode.com/docs/websites/ho ... linode-1gb
I think you are using nginx for static file serving. you may also consider serving whole site with nginx (+php-fpm with caching like fastcgi and php-opcode). I was hosting my android apk site http://www.androidapksfree.com with linode 1GB. with apache, site was too slow and mysql server was stopping time to time due to low memory (didn't know what went wrong). but things are smooth since i moved my site to nginx. you can see my site: http://www.androidapksfree.com


Can you share the nginx tutorial with me?


Top
   
PostPosted: Tue Oct 06, 2015 12:01 pm 
Offline
Linode Staff

Joined: Wed Jul 01, 2015 10:33 am
Posts: 59
We have a guide on configuring Nginx here: https://www.linode.com/docs/websites/ng ... erformance


Top
   
PostPosted: Wed Oct 07, 2015 8:29 am 
Offline
Senior Newbie

Joined: Sat Aug 22, 2015 7:02 pm
Posts: 14
I use HHVM+NGINX now seems ok for now


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group