Results 1 to 14 of 14
Thread: Memcached
-
10-17-2013, 01:36 PM #1Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
Memcached
Hi,
Our website is based on Wordpress, well today I noticed a strange thing I want playing with memcached and noticed interesting thing, I mean when I stopped Memcached the server load goes around to even 100% and sever got halted. And when I started memcached services server load got stable and was always under 1%.
Can anybody please help me understand why its happening? I mean it should work without memcached running, we know memcached will add some speed and stability but in my case its extremely hard to survive without memcached running...
Thanks.
-
10-17-2013, 05:24 PM #2Junior Guru
- Join Date
- Aug 2002
- Posts
- 217
Are you having I/O trouble on the disk?
Datarealm Internet Services, Inc
SSD Shared Hosting | VPS | Dedicated Servers | Colocation
sales@datarealm.com
866-WEB-HOST
-
10-18-2013, 04:41 AM #3Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
-
10-18-2013, 05:40 AM #4Digital Marketing Strategist
- Join Date
- Dec 2011
- Location
- Germany
- Posts
- 1,180
Watch "top" while you disable Memcached and see what exactly causes the high load. %wa would be the IO wait time, so if that goes over 20% or something and doesn't recover, it's your disk. Also keep an eye on the processes and see which ones consume most CPU cycles and post the results here or even better the whole "top" output with Memcached disabled.
➤ Inbound Marketing & real SEO for web hosting providers
✎ Get in touch with me: co<at>infinitnet.de
-
10-18-2013, 06:12 AM #5Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
There are lots of lots of php processes, we are using fcgi. usually to index.php of Wordpress install directory.
-
10-20-2013, 01:49 AM #6Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
Anybody else?
-
10-20-2013, 05:37 AM #7Web Hosting Evangelist
- Join Date
- Aug 2013
- Posts
- 495
Depending on your site code and the number of visitors it receives you could simply be experiencing one of the major benefits of caching. Your server may not be able to handle the load without it.
Did you stop using memcached but leave it running with all the memory allocated? Are you restarting apache? With fcgi the processes before the apache restart may not be killed and it will simply spawn more. This combination could result in a depletion of memory.
-
10-22-2013, 03:56 PM #8I Like Beer!
- Join Date
- Sep 2008
- Location
- NL,IR
- Posts
- 1,491
im interested to follow this discussion
is memcahched improve server performance on high load ?
-
10-23-2013, 02:10 AM #9Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
-
10-23-2013, 03:55 PM #10I Like Beer!
- Join Date
- Sep 2008
- Location
- NL,IR
- Posts
- 1,491
which part of data will be cached by memcached ?
-
10-24-2013, 11:32 AM #11Junior Guru
- Join Date
- Oct 2006
- Posts
- 210
Better read: http://en.wikipedia.org/wiki/Memcached
-
10-24-2013, 08:56 PM #12Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
You likely have two different issues which combine to create the problem. The first is by disabling memcached you are removing the caching of your database queries and your database is likely not fully optimized so it takes longer to generate your pages.
The other is even though you are stopping the memcached daemon your application is still configured to use it so you are adding a several second delay to each page while it timesout memcached , this vastly reduces your capacity and causes the effects you are seeing. Try disabling memcached in wordpress before stopping it and note the difference.Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
10-25-2013, 04:18 PM #13I Like Beer!
- Join Date
- Sep 2008
- Location
- NL,IR
- Posts
- 1,491
-
10-25-2013, 04:59 PM #14Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
Similar Threads
-
Which one Memcache or Memcached ?
By boosters in forum Hosting Security and TechnologyReplies: 4Last Post: 12-20-2012, 12:41 AM -
Uninstall memcached
By hostyourdream in forum Hosting Software and Control PanelsReplies: 0Last Post: 11-12-2010, 01:15 PM -
memcached
By kndsb1972 in forum Hosting Security and TechnologyReplies: 5Last Post: 07-19-2008, 03:04 PM -
memcached
By linktome in forum Hosting Security and TechnologyReplies: 5Last Post: 08-17-2007, 10:38 AM -
Anyone have installed memcached before ?
By justbenice in forum Hosting Security and TechnologyReplies: 3Last Post: 02-11-2006, 05:34 AM