Re: Issue 375 in memcached: Accept4 on FreeBSD 10 - sockets stuck in CLOSE

2014-10-23 Thread memcached


Comment #22 on issue 375 by mlav...@gmail.com: Accept4 on FreeBSD 10 -  
sockets stuck in CLOSE

https://code.google.com/p/memcached/issues/detail?id=375

Same problem :(

When it stuck - in kernel log

kernel: sonewconn: pcb 0xf80328c68930: Listen queue overflow: 1 already  
in queue awaiting acceptance (14114 occurrences)


and this line disappears from netstat -Lan
tcp4  0/0/1024   192.168.0.32.11211






--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- 
You received this message because you are subscribed to the Google Groups "memcached" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Added timestamp to log file

2014-10-23 Thread ppp0
Hello all,

just want to inform you that there is a PR I've just added 
(https://github.com/memcached/memcached/pull/83) which prepends every line 
in the log with a high resolution timestamp. It needs the binary ts which 
is provided in the debian/ubuntu package "moreutils" (see 
https://packages.debian.org/wheezy/moreutils).

If it's not installed, nothing will change. You need to restart memcached, 
obviously, in order to reopen the log files.

Looking forward to getting some feedback!

Cheers,
ppp0

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is memcached server response guaranteed to be in order?

2014-10-23 Thread dormando
with the ascii protocol, yes. It would not work otherwise.

with the binary protocol, the answer is also currently yes, but the
ordering isn't strict and could be up to the individual commands.

On Wed, 22 Oct 2014, Yaowen Tu wrote:

>
> If I have a client that creates a TCP connection, and send multiple commands 
> to the memcached server, will server guaranteed to respond to these
> commands in the same order?
>
>
> Thanks,
>
> Yaowen
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to memcached+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is memcached server response guaranteed to be in order?

2014-10-23 Thread Yaowen Tu
Thanks for your response.

Could you please give me more information about individual commands? In
which case it would be out of order?

I am using xmemcached client and seeing some weird behavior with binary
command, but text command works.

I know there are some bugs in xmemcached client binary command code, I am
trying to dig deeper to see if it is because of ordering of memcached
responses.

Based on your answer it is highly possible, so I would be really
appreciated if you could share with me more detailed information.

Thanks,
Yaowen

Yaowen

On Thu, Oct 23, 2014 at 5:19 PM, dormando  wrote:

> with the ascii protocol, yes. It would not work otherwise.
>
> with the binary protocol, the answer is also currently yes, but the
> ordering isn't strict and could be up to the individual commands.
>
> On Wed, 22 Oct 2014, Yaowen Tu wrote:
>
> >
> > If I have a client that creates a TCP connection, and send multiple
> commands to the memcached server, will server guaranteed to respond to these
> > commands in the same order?
> >
> >
> > Thanks,
> >
> > Yaowen
> >
> >
> > --
> >
> > ---
> > You received this message because you are subscribed to the Google
> Groups "memcached" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to memcached+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
> >
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to memcached+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is memcached server response guaranteed to be in order?

2014-10-23 Thread dormando
I don't believe any binprot commands are out of order presently. However
the protocol *allows* them to be out of order. it's probably a bug you're
seeing in the client. also make sure your memcached daemon is up to date.

On Thu, 23 Oct 2014, Yaowen Tu wrote:

> Thanks for your response.
> Could you please give me more information about individual commands? In which 
> case it would be out of order?
>
> I am using xmemcached client and seeing some weird behavior with binary 
> command, but text command works. 
>
> I know there are some bugs in xmemcached client binary command code, I am 
> trying to dig deeper to see if it is because of ordering of memcached
> responses. 
>
> Based on your answer it is highly possible, so I would be really appreciated 
> if you could share with me more detailed information.
>
> Thanks,
> Yaowen
>
> Yaowen
>
> On Thu, Oct 23, 2014 at 5:19 PM, dormando  wrote:
>   with the ascii protocol, yes. It would not work otherwise.
>
>   with the binary protocol, the answer is also currently yes, but the
>   ordering isn't strict and could be up to the individual commands.
>
>   On Wed, 22 Oct 2014, Yaowen Tu wrote:
>
>   >
>   > If I have a client that creates a TCP connection, and send multiple 
> commands to the memcached server, will server guaranteed to
>   respond to these
>   > commands in the same order?
>   >
>   >
>   > Thanks,
>   >
>   > Yaowen
>   >
>   >
>   > --
>   >
>   > ---
>   > You received this message because you are subscribed to the Google 
> Groups "memcached" group.
>   > To unsubscribe from this group and stop receiving emails from it, 
> send an email to memcached+unsubscr...@googlegroups.com.
>   > For more options, visit https://groups.google.com/d/optout.
>   >
>   >
>
>   --
>
>   ---
>   You received this message because you are subscribed to the Google 
> Groups "memcached" group.
>   To unsubscribe from this group and stop receiving emails from it, send 
> an email to memcached+unsubscr...@googlegroups.com.
>   For more options, visit https://groups.google.com/d/optout.
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to memcached+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.