Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

當value值太大時會出現亂碼... #10

Open
oiolong opened this issue May 17, 2013 · 4 comments
Open

當value值太大時會出現亂碼... #10

oiolong opened this issue May 17, 2013 · 4 comments

Comments

@oiolong
Copy link

oiolong commented May 17, 2013

您好:

我用了這個model時發現memcached裡的value太大時

就會出現亂碼

請問該如何解決呢?

祝安好~

:)

@agentzh
Copy link
Member

agentzh commented May 18, 2013

Please provide a minimized sample configuration that can reproduce this. Thanks!

@oiolong
Copy link
Author

oiolong commented May 18, 2013

thx for your reply

thie config files is ...

server {
listen 80;
server_name 192.168.1.237;
location /memc {
charset utf-8;
default_type text/html;
srcache_store_max_size 100000k;
client_body_buffer_size 100k;
client_max_body_size 10000k;
memc_buffer_size 100000k;
set $memc_cmd $arg_cmd;
set $memc_key $arg_key;
set $memc_exptime 300;
memc_pass memcache;
}
location / {
root html;
index index.html index.htm;
}

}

@agentzh
Copy link
Member

agentzh commented May 18, 2013

And the request you're using as well as the response you're seeing?

Also, please keep in mind that the memcached server has a limit of 1MB on the values, IIRC.

@oiolong
Copy link
Author

oiolong commented May 19, 2013

thanks for your suggestion

i found the problem that the memcached server has a limited one the values ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants