SMF Support > Server Performance and Configuration

Memcache Error: memcache_connect Connection refused

(1/1)

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


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

drewactual:
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 127.0.0.1 -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.

spiros:
For CentOS 7

To tell the service to start at reboot:

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

Navigation

[0] Message Index

Go to full version