【问题标题】:SocialEngine: NOTICE (5): [8] MemcachePool::get(): Server 127.0.0.1 (tcp 6379, udp 0) failed with: Malformed VALUE header (0)SocialEngine:通知 (5): [8] MemcachePool::get(): Server 127.0.0.1 (tcp 6379, udp 0) failed with: Malformed VALUE header (0)
【发布时间】:2018-01-05 06:37:53
【问题描述】:

我们提供了端口号:11211 默认端口,尽管它占用 6379。奇怪并不断抛出错误:

注意 (5): [8] MemcachePool::get(): 服务器 127.0.0.1 (tcp 6379, udp 0) 失败:格式错误的 VALUE 标头 (0)

谁能帮我们解决这个错误?

我搜了一下,发现socialengine有这种错误但是找不到解决办法: http://blog.socialengine.com/2017/04/17/socialengine-php-4-9-0-and-third-party-products/

【问题讨论】:

  • 您能否澄清一下您在哪里设置了这个端口号?
  • 在“Memcache Port”11211下的管理员“性能和缓存”设置
  • 你处于开发模式吗?
  • 尝试了开发和生产模式。目前,处于生产模式

标签: memcached socialengine


【解决方案1】:

尝试检查您的/application/settings/cache.php 文件。它包含您的缓存设置,包括端口、生命周期、序列化等。

【讨论】:

  • 我发现有这样的设置数组:'Memcached' => array ( 'servers' => array ( 0 => array ( 'host' => '127.0.0.1', 'port' => 11211, ), 1 => array ( 'host' => '127.0.0.1', 'port' => 6379, ), ), 'compression' => true, ), 为什么有两个 memcache 数组和另一个端口。你说的应该只有11211吧?
  • @minc 您是否已经尝试将那里的端口更改为 11211(这是您在答案中指定的正确端口号)?
猜你喜欢
  • 2014-06-08
  • 2016-07-01
  • 1970-01-01
  • 2018-10-01
  • 1970-01-01
  • 1970-01-01
  • 2014-01-22
  • 2016-11-30
  • 2020-02-25
相关资源
最近更新 更多