Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : w3 total cache and memcache issue

1


Threaded Mode | Print  

 w3 total cache and memcache issue (15 Replies, Read 42708 times)
pinoyjunction
Group: Member
Post Group: Newbie
Posts: 17
Status:
Hello, I'm using LEMP stack on my server with wordpress site on it. I installed w3 total cache plugin on wordpress and memcache module on my server.

The problem is I don't know what hostname should I put to make the memcache server running. I tried 127.0.0.1:11211 but it's not working. Please take a look at the attachement below to make it more clear to you. Thank you.


IP: --   

w3 total cache and memcache issue
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Hi,

Sir use your domain name or localhost.
IP: --   

w3 total cache and memcache issue
pinoyjunction
Group: Member
Post Group: Newbie
Posts: 17
Status:
Thank you sir, I tried them but no luck. Still failed.
IP: --   

w3 total cache and memcache issue
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Hi,

Sir make sure your port 11211 is open or not.
IP: --   

w3 total cache and memcache issue
pinoyjunction
Group: Member
Post Group: Newbie
Posts: 17
Status:
Here's the result. How do I fix this?

[root@host ~]# telnet localhost 11211
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

IP: --   

w3 total cache and memcache issue
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : pinoyjunction February 21, 2014, 12:39 pm
Here's the result. How do I fix this?

[root@host ~]# telnet localhost 11211
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused



Sir you can check whether any service is running on port 11211 using the following command:

Code
Root > lsof -i :11211


*Assuming you have lsof installed on your machine  :xd:


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

w3 total cache and memcache issue
pinoyjunction
Group: Member
Post Group: Newbie
Posts: 17
Status:
Okay, I tried that command but nothing happened.
IP: --   

w3 total cache and memcache issue
pinoyjunction
Group: Member
Post Group: Newbie
Posts: 17
Status:
Anyone here knows how to fix the problem?
IP: --   

w3 total cache and memcache issue
connercg
Group: Member
Post Group: Newbie
Posts: 20
Status:
I think more documentation needs provided for working with memcache as far as I can tell it install memcache.so and that's about it.

I installed W3 Total Cache and it shows memcache as an available option, but receive the following error trying to use it.

---


        The following memcached servers are not responding or not running:
  • Page Cache: 127.0.0.1:11211.
This message will automatically disappear once the issue is resolved.
   
IP: --   

w3 total cache and memcache issue
connercg
Group: Member
Post Group: Newbie
Posts: 20
Status:
After poking around a bit, the memcached daemon is not installed, only the PHP module for memcache.

To get memcache working in Webzuo

Log in via SSH and --

yum install memcached (them press Y for installation and required libs)

then

chkconfig memcached on (this make the daemon restart on reboot)

If you need to edit the memcache settings --

vi /etc/sysconfig/memcached

or

nano /etc/sysconfig/memcached

I think the daemon should be installed with the PHP installation but maybe they have other ideas.
IP: --   

w3 total cache and memcache issue
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : connercg March 16, 2014, 7:47 pm
After poking around a bit, the memcached daemon is not installed, only the PHP module for memcache.

To get memcache working in Webzuo

Log in via SSH and --

yum install memcached (them press Y for installation and required libs)

then

chkconfig memcached on (this make the daemon restart on reboot)

If you need to edit the memcache settings --

vi /etc/sysconfig/memcached

or

nano /etc/sysconfig/memcached

I think the daemon should be installed with the PHP installation but maybe they have other ideas.


Thanks for the info.
We shall make the memcached package available soon for one click installation.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

w3 total cache and memcache issue
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Memcached is now available for one click installation using Webuzo.

You can install it from the Webuzo Enduser Panel >> Apps >> Utilities category
IP: --   

w3 total cache and memcache issue
connercg
Group: Member
Post Group: Newbie
Posts: 20
Status:
It installs, but does not appear to start the memcached daemon.

The following memcached servers are not responding or not running:
  • Page Cache: 127.0.0.1:11211.
This message will automatically disappear once the issue is resolved.



Also where is the configuration file stored if I wish to change the memory size allocated to memcached?
IP: --   

w3 total cache and memcache issue
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
You can start the daemon manually located here:
/usr/local/apps/memcached/bin/memcached


For memory allocation :

-m <num>      max memory to use for items in megabytes (default: 64 MB)
-M            return error on memory exhausted (rather than removing items)

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

w3 total cache and memcache issue
iamkingsleyf
Group: Member
Post Group: Newbie
Posts: 5
Status:
So how do we configure it after installing from the enduser panel??
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 10:12 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.034