-
Notifications
You must be signed in to change notification settings - Fork 16
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
"Binary data is too long" in log - Multiple times every second #12
Comments
I can see it's using this: lsmcd/src/memcache/lsmemcache.h Line 376 in baddf74
And it's using: Line 702 in baddf74
Overall, it's defined here, right? lsmcd/src/lcrepl/lcreplconf.cpp Line 42 in baddf74
lsmcd/src/lcrepl/lcreplconf.cpp Line 134 in baddf74
So, what's going on :-D ? |
By checking the documentation, I found this.
What will the impact be, if I'm bumping it to ten times the value, or maybe something else? I hope someone are able to guide me. And so, maybe it's a good ideá to add a comment in the logs, that DEF_VALMAXSZ ~ |
I've changed it to 10000000 (Adding 0 to the end), but I would still like to know, why it started as a problem. |
I trashed lsmcd, and replaced it with memcached. Way better performance and caching numbers. I'll close this one... I would really like to use the default option - but without any answers, it's hard to do that :-D Thanks for a great product, anyway! 👍 |
Hi, Yes, this is a bug - 0 should mean that the value is not used and the code will be updated shortly to reflect that. You should see an update here today. If you decide to use lsmcd again, please feel free to contact me directly via email and we can avoid this kind of issue in the future. Sorry once again, and be sure that your voice is heard! Bob Perper |
Prioritizing it always a hard thing to master, from time to time. No hard feelings from my end. Maybe I could give it another try. Lsmcd reported 'error' to all commands i provided to it, and therefore we switched to memcached. Should there be a performance increasement, by using Lsmcd, instead of memcached? It won't take long time to upgrade and switch back 👍 |
There should be little performance difference between memcached and lsmcd. There are a number of advantages of lsmcd:
|
Hi, I've now updated to the last version (compiled the code, and secured it's updated and so on...) But it keeps reporting
The service looks fine (not enabled yet, cause I need to know if it's now working as it should):
And the config looks normal, too. What can that be? That part of the problem was also present. before i switched our system to memcached. |
Are there any issues with our (almost default) configuration?
|
Hi, Bob |
You just need one additional parameter on nc: Bob Perper |
I guess I've missed that parameter, after using memcached. The command for socat is Thanks for the help again, rperper :-) Everything is now wkring as expected. Cleared the shared memory file was required. For people who find this issue in the future, here's a few things to secure the proper traffic from Google - and the solution, too. After updating the lsmcd-service, the following error was reported: So fix this, I stopped lsmcd ( And oh: The output should look something like this:
|
Hi
I'm using the default configs for lsmcd. In my
node.conf
I've the following configs defined for LogLevel and LogFile:However,
2020-06-20 07:48:51.511 [NOTICE] [__root] Binary data is too long
is reported over and over again - many times every second. (Let's just say it was above 1GB. I spotted it while making some maintenance of the server 🔥 🍔 )If I take a look at the source, I can find the logics - but I'm not really sure that it means.
lsmcd/src/memcache/lsmemcache.cpp
Line 1828 in baddf74
...
What does the
!chkItemSize(m_parms.val.len)
logics check, and what can I do to fix this? The log are growing every minute. I can log-rotate if I want, but there must be a problem with the setup, or something else.Let me know if I need to provide anything else.
The text was updated successfully, but these errors were encountered: