SMF Support > Server Performance and Configuration

Memcache Error: memcache_connect Connection refused


I see 1000s of these error in error log. Memcache not working OK?

--- Code: ---memcache_connect(): Server (tcp 11211, udp 0) failed with: Connection refused (111)Apply Filter: Only show the errors from this file File:
Line: 2883
--- End code ---

it likely isn't working..

you can either draft and implement a crom for the service to start, or, you have to manually start it each time you restart the server.  it drives me nuts too.

on my apache machine running centos7x i ssh and use:

--- Code: ---memcached -d -m 512 -l -p 11211 -u nobody
--- End code ---

and it's good until next shutdown restart.

Chen Zhen:

You can also try using a different accelerator.
Install one of the other supported ones if need be.

For CentOS 7

To tell the service to start at reboot:

--- Code: ---systemctl enable memcached
--- End code ---


[0] Message Index

Go to full version