T
T
tuxx2018-11-20 11:33:06
memcached
tuxx, 2018-11-20 11:33:06

Memcached not creating keys?

UPD: It looks like the problem is only when working through a socket, because. when running on the standard port 11211, the data is saved.

  1. in the console I connect via a socket: nc -U path_to_socket
  2. I enter: add test_key 0 0 5
    in the log is written:
    27: going from conn_read to conn_parse_cmd
    <27 add test_key 0 0 5
    27: going from conn_parse_cmd to conn_nread
  3. I enter the line\number 12345
    nothing new appears in the log. jumps to an empty line in the console
  4. once again I enter the line \ number 12345
    in the console, the lines appear:
    • CLIENT_ERROR bad data chunk
    • ERROR

    the log says:
    • >27 CLIENT_ERROR bad data chunk
    • 27: going from conn_nread to conn_write
    • 27: going from conn_write to conn_new_cmd
    • 27: going from conn_new_cmd to conn_waiting
    • 27: going from conn_waiting to conn_read
    • 27: going from conn_read to conn_parse_cmd
    • <27 2345
    • >27 ERROR
    • 27: going from conn_parse_cmd to conn_write
    • 27: going from conn_write to conn_new_cmd
    • 27: going from conn_new_cmd to conn_waiting
    • 27: going from conn_waiting to conn_read

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question