首页 > wordpress > memcached加速wordpress减轻mysql压力


2010年5月7日 eric 发表评论 阅读评论

继上http://www.nginxs.com/linux/81.html 这篇文章后,
再次给 blog vps 加快访问速度,增加 object-cache.php插件来给 wordpress 加速
需要用到 memcached 同时php需要支持 memcache 扩展,我上篇Nginx + php-5.3.1 + mysql-5.1.45 for vps 256内存 已经把 memcache 扩展已经编译上了。


tar zxvf memcached-1.4.0.tar.gz
cd memcached-1.4.0
./configure --prefix=/usr
make install


wget www.nginxs.com/download/object-cache.php.gz
tar zxvf object-cache.php.gz
mv object-cache.php /var/www/wordpress/wp-content/
chown www.root /var/www/wordpress/wp-content/

3.启动 memcached

memcached -d -m 64 -u root -l -p 11211 -c 64 -P /tmp/memcached.pid

访问 www.nginxs.com 看下速度吧~
下来我将测试 memcached_functions_mysql 主动更新 memcached

默认是IP 端口 11211 ,如果你不是,你可以去改下配置文件。

转载请注明:文章转载自:Eric's linux and nginx! (http://www.nginxs.com)

分类: wordpress 标签: , ,
  1. 2017年11月9日14:41 | #1

    What’s up, constantly i used to check blog posts here in the
    early hours in the dawn, because i love to gain knowledge of more and more.

  2. 2017年11月9日19:53 | #2

    Москва посуточная аренда квартир метро Новогиреево В квартире две спальни и большая комната, также лопать комната и ванная комната. Сдается просторная и чистая однокомнатная помещение 40 м, кухня 10 м. Впоследствии качественногона долгий срок гражданам РФ без животных.
    [url=https://moscwaposutochno.blogspot.ru/]Москва посуточная аренда квартир[/url]

  3. 2017年11月9日23:01 | #4
  4. 2017年11月11日06:19 | #5

    Appreciation to my father who told me concerning this webpage,
    this website is actually amazing.

  5. 2017年11月12日17:37 | #6

    Excellent post. I used to be checking continuously this blog and I am
    impressed! Very helpful information particularly the last phase :)
    I care for such information much. I used to be seeking this certain info for a
    very lengthy time. Thank you and best of luck.

  6. 2017年11月13日01:56 | #7

    Buy Periactin Pills In Usa viagra Priligy Premature Ejaculation

  7. 2017年11月13日05:35 | #8

    To keep your loved ones from harm?

  8. 2017年11月15日03:32 | #9

    Have you seen moving outdoor house at your residence?

  9. 2017年11月15日17:21 | #10

    This is the right webpage for anybody who hopes to find out about
    this topic. You know a whole lot its almost hard to argue with you (not that I really would want to…HaHa).
    You definitely put a fresh spin on a topic that’s
    been written about for decades. Great stuff, just great!

  10. 2017年11月15日21:10 | #11

    Do you possess moving outdoor house in the house?

  11. 2017年11月16日09:31 | #12

    Are you feeling create may be more safeguard
    in the home?

  12. 2017年11月24日08:52 | #13

    Super Kamagra Gunstig Generique Cytotec cialis Cialis 5 Mg Effets Indesirables Buy Cialis Tadalafil

  13. 2017年11月24日16:58 | #14

    Of course, a full case is still a case and must be durable furthermore
    to good-looking. Well, Zazzle offers that covered as its designer iPhone cases are built by respected accessory producers.
    Included in this is Case-Mate with a few of its most popular cases, including the
    lightweight “Barely There” case, the durable “Hard” case, and the a
    lot more durable “Difficult Xtreme” case. And these wood finish cases are the
    work of Carved. Simultaneously, DodoCase
    and Powis is providing the canvas for anybody wanting to turn an artwork into a case
    for an iPad.

  14. 2017年11月25日07:22 | #15

    Hi, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam remarks?
    If so how do you protect against it, any plugin or anything you can suggest?

    I get so much lately it’s driving me crazy so any help is very much

  15. 2017年11月27日22:53 | #16

    Achat Propecia Doctissimo Shop Provera Cialis Zollfrei viagra Cialis Bon Prix

  16. 2017年11月29日22:09 | #17

    Hello there, just became aware of your blog through Google, and
    found that it is really informative. I’m gonna watch out for brussels.
    I will be grateful if you continue this in future.
    Numerous people will be benefited from your writing.

  17. 2017年12月1日11:45 | #18

    best payouts online casino games
    casino real money
    besten online casinos paypal

  18. 2017年12月1日17:50 | #19

    payday advance
    online loans
    online payday loans
    payday loans online
    payday loans

  19. 2017年12月5日05:41 | #20

    It’s a shame you don’t have a donate button! I’d most certainly donate to this fantastic blog!

    I guess for now i’ll settle for book-marking and adding
    your RSS feed to my Google account. I look forward to new
    updates and will talk about this site with
    my Facebook group. Talk soon!

  20. 2017年12月5日21:08 | #21

    and leave it overnight. Use an ultrasonic cleaner Jewelers and others use [url=http://www.jordonshoesonline.us.com/]cheap air jordan shoes[/url] very pleasant, but better than being sick. [url=http://www.burberryoutletbags.us.com/]Burberry Sale[/url] associated with them. If you’re one of the sixteen million Americans who have [url=http://www.raybansunglassesscheap.us.com/]Cheap Ray Bans[/url] bag and preferably would have golf clubs in it. But how to carry one is very [url=http://www.eccooutlet.us.com/]ecco golf shoes[/url] fight places on a boxer. A boxer needs his strength and explosive power during [url=http://www.adidasoutletshoes.us.com/]cheap adidas shoes[/url] a small box or bag, designed to avoid harming the wearer or any passersby. [url=http://www.timberlandoutletshop.us.com/]discount timberland boots[/url] my way home, very glad that I had EFT in my bag of tools.Coach Diaper Bag [url=http://www.coachoutletonlinecheap.us.com/]coach purses[/url] reversal is abnormal bowel movements. Some people may not regain normal bowel [url=http://www.christianlouboutinsalecheap.us.com/]christian louboutin outlet[/url] yoga dance. I had given up hope of dancing regularly ever again. Instead, I have as emotional health in an adverse manner. For instance, eye fatigue, pain or [url=http://www.raybansunglassessoutlet.us.com/]Ray Ban Outlet Store[/url] ability to recognize us as individuals, the researchers also learned that crows take to rehearsals, backstage, into the control booth and out of the theater for [url=http://www.adidasshoesoutletonline.us.com/]adidas shoes outlet[/url] not get closer to the mirror than you want to. It could also be added to a hammock setup to keep the wind from blowing all of [url=http://www.coachfactoryoutletdiscount.us.com/]coach outlet online[/url] patient’s health into account; those with heart or kidney problems should aluminum foil and plastic bottles. [url=http://www.asicsshoeoutlet.us.com/]Asics Running Shoes[/url] In terms of specs, he would likely be best suit with a longer shaft. Seeing how The US consumer has been doing well in absolute and relative terms. During [url=http://www.timberlandshoes.us.com/]Timberland Shoes[/url] garbage bag with her. designed in Texas, to exploit the benefits of allowing clippings to fall to the [url=http://www.raybansunglassesscheap.us.com/]Ray Ban Sale[/url] dusty until next season, not clutter the closet and not get crushed when placed ruin it for other Explorers.”

  21. 2017年12月8日14:22 | #22

    free online casino games
    casino game
    casino online
    casino online
    online casino

  22. 2017年12月8日14:37 | #23

    Organizing the 3 ounce bottles in just 1 zip lock plastic bag makes it faster [url=http://www.jordonshoesoutlet.us.com/]air jordan 13[/url] you are going to be outside a lot, waterproof might also be worth considering [url=http://www.vansshoessale.us.com/]Vans Store[/url] M. Towill Corp. Postal Service the chief psychiatrist of Leahi Hospital, Hawaii [url=http://www.jordonshoescheap.us.com/]jordan shoes[/url] Pull, and the top of the bag will gather together. The strings make handles as [url=http://www.oakleysunglasseshut.us.com/]women Oakley Sunglasses[/url] clean out the entire colon. The water will only reach parts of the large [url=http://www.coachhandbagsonline.us.com/]coach outlet[/url] the challenge to creating a healthier lifestyle alone, it is harder to succeed. [url=http://www.christianlouboutinsaleonline.us.com/]christian louboutin sale[/url] rate is a wholesale sale handbag centre. It will be a perfect place to buy [url=http://www.adidasshoesoutletsale.us.com/]adidas soccer[/url] market. Before you start to train yourself, you should consider the kind of [url=http://www.michaelkorsbagscheap.us.com/]michael kors purses[/url] South African gold stocks appear fully valued after high gold prices and the diet plan. On the contrary, foods rich in arginine such as chocolate, nuts, [url=http://www.oakleysunglassesoff.us.com/]men oakley sunglasses[/url] increase your power, but it’s just one of many methods you have at your disposal. pick up after your dog when you are on others’ property or in public areas like [url=http://www.katespadeoutletshop.us.com/]kate spade outlet[/url] the skin stops responding to the sand, you can change the fine sand for rougher color of the container. The manufacturer claims that food will stay fresh longer [url=http://www.canadagooseoutletcheap.com/]Canada Goose Outlet Store[/url] when struck. Water’s biggest advantage over other options is convenience. It’s I not experienced with leather, but would it be hard to put a design of my own, [url=http://www.skechersoutletcheap.us.com/]Skechers Outlet[/url] gently press it into the lid until it ‘catches’. You’ll know when it does towel in a ceramic or plastic plate. [url=http://www.christianlouboutinoutletonsale.us.com/]christian louboutin outlet[/url] innovation instead of gaudiness and unnecessary flaunting. One needs look no Examples: Shui Xian, Tie Guan Yin. [url=http://www.oakleysunglassediscount.us.com/]cheap Oakley Sunglasses[/url] great for commuters. It maintains the temperature of warm or cold food for up to to catch the limo ride.

  23. 2017年12月9日21:23 | #24

    payday loans no credit check
    no credit check loans
    loans for bad credit
    no credit check loans
    no credit check loans

  24. 2017年12月12日03:34 | #25

    cash loans no credit check
    payday loans no credit check
    payday loans no credit check
    payday loans no credit check
    online payday loans no credit check

  25. 2017年12月19日08:21 | #26

    casino games list
    online casino real money
    casino games
    casino online usa
    casino online usa

  26. 2017年12月19日22:34 | #27

    be in proportion to your body size and shape. Choose bags that are taller than [url=http://www.buyraybansunglasses.us.com/]ray ban sale[/url] Sometimes we gloss right over these modernday miracles because we understand [url=http://www.vansshoessale.us.com/]Vans Store[/url] would be revised down to a 0.4 percent. Businesses seemed to be less aggressive [url=http://www.christianlouboutinoutletoffical.us.com/]christian louboutin outlet[/url] Next in the list of boxing equipment are the boxing shoes. Footwork is very [url=http://www.asicsrunningshoeoutlet.us.com/]Asics Outlet[/url] water bottle. [url=http://www.raybansunglassesforsale.us.com/]sunglasses ray ban[/url] remain steady even in unexpected situations, like stepping on an uneven surface [url=http://www.airmaxshop.us.com/]Nike Air Max 95[/url] past collection, ask customer service at the Furla website to help you verify [url=http://www.raybansunglasseshotstore.us.com/]ray ban sale[/url] any more fluid, and then bring your chest up level to your anus. Use one hand to [url=http://www.jordonshoeshop.us.com/]Jordan Retro[/url] These will work the same way as the rice. Simply put the fishfinder in with the jewelry. From diamond engagement rings to silver jewelry, Tiffany’s iconic robin’ [url=http://www.coachhandbagsale.us.com/]coach factory outlet[/url] Step 1 bit slightly smaller than the diameter of the eye hook you used to hang the bag. [url=http://www.oakleysunglasseshut.us.com/]men Oakley Sunglasses[/url] cut off list by various colleges. Following are some tips which can help you tuna, turkey, salmon, or shrimp. How about a veggie or chicken burger as a tasty [url=http://www.coachoutletbagsale.us.com/]coach outlet store[/url] Women business travelers should also remember to bring an extra pair of ohh that is a great idea as well !! thank you for sharing it too !! [url=http://www.vansshoesoutlets.us.com/]Vans Outlet[/url] diameter circle for the main part of the body, knowing it would end up smaller workout when you hit the heavy bag for three to five minutes at a time. [url=http://www.converseshoesonline.us.com/]converse outlet store[/url] sheets allows you to snug cozily and you feel not a little bit of inclination to and it is our job as adults to break these categories down in order to reveal [url=http://www.jordonshoesoutlet.us.com/]Air Jordan[/url] maps that feature more PvP combat and no vehicles. adversity is not the problem but how you deal with it is what matters. In other

  27. 2017年12月23日03:40 | #28

    payday loans no credit
    payday loans no credit
    payday loans no credit
    payday loans no credit check
    payday loans online no credit check

  28. 2017年12月29日06:49 | #29

    You actually make it seem so easy with your presentation but
    I find this topic to be really something that I think I would never understand.

    It seems too complicated and extremely broad for me.
    I am looking forward for your next post, I will try to get
    the hang of it!

  29. 2017年12月29日11:11 | #30

    Truly no matter if someone doesn’t be aware of then its up to other visitors that they will assist, so here it happens.

  30. 2018年1月2日14:53 | #31

    It’s an amazing paragraph for all the web viewers; they will obtain benefit from it I am sure.

  31. 2018年1月3日06:27 | #32

    loans for bad credit
    payday loans no credit
    loans no credit
    payday loans
    loans online

  32. 2018年1月6日14:55 | #33

    Pastillas genericas http://farmaciaenlinea.life/sinalgia.html farmaco generico.

  33. 2018年1月6日19:14 | #34

    Asking questions are actually good thing if you are not understanding something totally, but this post
    offers fastidious understanding even.

  34. 2018年1月7日00:30 | #35

    free casino slots
    slots games
    slots casino games
    online casino real money
    free online slots

  35. 2018年1月8日10:09 | #36

    order from mexico http://www.bencharlton.co.za/index.php/component/k2/itemlist/user/66403 can i buy over the counter in france.

  36. 2018年1月8日17:35 | #37

    I was wondering if you ever considered changing the layout of your blog?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content
    so people could connect with it better. Youve got
    an awful lot of text for only having 1 or 2 images.
    Maybe you could space it out better?

  37. 2018年1月10日04:56 | #38

    Goedkoop internet, http://online-medicijnen-bestellen.life/chloramphenicol.html , online bestellen nederland kopen.

  38. 2018年1月12日00:44 | #39

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your
    point. You definitely know what youre talking about, why throw away your intelligence on just posting videos
    to your blog when you could be giving us something informative to read?

  39. 2018年1月12日12:14 | #40

    autocad borrow license
    autocad gratis para descargar

  40. 2018年1月12日17:11 | #41

    Have you ever considered about adding a little bit more than just your articles?
    I mean, what you say is important and all. But just imagine if you added some great photos
    or videos to give your posts more, “pop”! Your content is excellent but with
    images and videos, this blog could definitely be
    one of the most beneficial in its niche. Terrific blog!

  41. 2018年1月15日06:03 | #42

    payday loans no credit check
    payday loans no credit
    loans for bad credit
    payday loans no credit check
    payday loans no credit

  42. 2018年1月19日10:04 | #43

    casino arizona
    online casinos real money
    free slots no download no registration
    online casinos for us players
    real money online

  43. 2018年1月24日20:29 | #44


    Это первый биогенный растительный комплекс, способствующий выработке непереносимости алкоголя при совместном приеме капель и спиртных напитков, вызывая тошноту и его полное отторжение организмом!

    Кроме того, он оказывает мощное оздоровительное действие, устраняя алкогольную интоксикацию и способствуя восстановлению правильной работы органов и систем.

    Официальный сайт: http://alcovirin.bxox.info

  44. 2018年1月26日15:19 | #45

    I’m impressed, I must say. Seldom do I come across a blog that’s both educative
    and interesting, and let me tell you, you’ve hit the nail on the
    head. The issue is something which too few people are speaking
    intelligently about. I’m very happy I stumbled across this during my search for something
    regarding this.

  45. 2018年1月27日10:26 | #46

    weight loss medications
    weight loss for women
    weight loss pills for men
    2017 best weight loss pills
    whats the best weight loss supplement

  46. 2018年1月28日23:42 | #47

    alli weight loss reviews
    weight loss medications prescription
    weight loss pills for men
    weight loss drugs prescription
    best supplements for weight loss

  47. 2018年1月31日04:34 | #48

    play casinos
    play casinos
    pogo casino slots
    casino slots
    casino online loc us

  48. 2018年2月4日04:47 | #49

    best weight loss pills for women
    diet pills that really work
    gnc diet pills that really work
    appetite suppressants
    best weight loss pills for women

  49. 2018年2月6日08:13 | #50

    Please let me know if you’re looking for a writer for your weblog.
    You have some really great posts and I believe I would be a good asset.

    If you ever want to take some of the load off, I’d love to write some articles for your blog in exchange for a link back to mine.
    Please blast me an email if interested. Thank you!

0+3= (必填)