ts low overhead (few instructions for detached
probe site, simple shared library call for enabled probe site) and
native access to application data make it a tool of choice not only
for debugging and tracing the application during development, but also
for monitoring (and even extending!) live production systems.
More details on http://wiki.github.com/kroki/XProbes/
Play with it in your project, it's a lot of fun!
--
Tomash Brechko
yone, if you can't sleep knowing
that there's something that it not properly logged in your system yet,
then you better not using it. But logging aside, what your app does
when it receives "NOT STORED" from set? I'm not saying that you never
need a result from set, but I really wonder what real-world cases
might be, couldn't think of any myself.
--
Tomash Brechko
. But straightforward compression
will likely introduce spaces and newlines as part of binary data.
--
Tomash Brechko
.lock
> 0 60 255
> >8 CLIENT_ERROR bad data chunk
> <8
> -
> >8 ERROR
There seem to be a space in your key between "W=Add/Remove" and
"World::..." Spaces are not allowed there.
--
Tomash Brechko
ementation, but I think
other clients do the same thing).
--
Tomash Brechko
etama uses
server address to compute server to keyspace mapping.
--
Tomash Brechko
it temporary sets SIGPIPE action to SIG_IGN. The latter is
not 100% correct, as it affects all threads in the application, but
will do for most users.
--
Tomash Brechko
dd($key, $value, 1)) {
>if ($attempt_add++ == $op_attempts) {
You set expiration time to one second. Since memcached has the timer
of 1 second granularity, it happens so that you add an item at the
edge of a second, and it expires immediately. The solution is to not
set the expiration time ;).
--
Tomash Brechko
lared (first use in this
> function)
> memcached.c:2477: error: (Each undeclared identifier is reported only
> once
> memcached.c:2477: error: for each function it appears in.)
> *** Error code 1
Run
./configure CPPFLAGS=-DAI_ADDRCONFIG=0
AI_ADDRCONFIG is indeed undefined on some BSDs, but it's not a vital
flag, zero is a safe value then.
--
Tomash Brechko
then how to deal with the above?
--
Tomash Brechko
tches are always welcome, even
partial UDP support may suit some.
Until then, cache your C::M::F objects! ;)
P.S.: above is just my speculation, if someone send me a script to
reproduce the problem, I'll try to look into it this weekend.
--
Tomash Brechko
11 matches
Mail list logo