doushenjia8514
doushenjia8514
2015-12-03 10:25

Memcached错误代码48

已采纳

sometimes my memcached server returns the following error:

Zend\Cache\Exception\RuntimeException' with message 'SERVER FAILED TO ALLOCATE OBJECT'

Can anyone explain what this error mean?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • dongxi3859 dongxi3859 6年前

    Problem solved. The memcached memory was full, the error message was a little bit confusing...

    点赞 评论 复制链接分享
  • dousha2020 dousha2020 5年前

    When there is no more space in memcached, you get this error.

    To get Memcached total usage:

    >> echo "stats" | nc 127.0.0.1 11211 | grep bytes
    

    To flush the memory from your memcached server, you can do this from your CLI

    >> echo 'flush_all' | netcat localhost 11211
    
    >> sudo service memcached restart
    
    点赞 评论 复制链接分享