memcache connections are not closing
ppragin at SolutionSet.com
Mon Mar 3 16:18:04 UTC 2008
[ppragin at 132022-app5 tmp]$ fgrep "192.168.1.49:11211" netstat.1.app5.txt | wc -l
This is the output I get now but there is only 1k total connection right now. So most of them are memcache related.
I am sure if I ran this during the outage this numbers would be higher.
ppragin at solutionset.com
T > 650.328.3900
M > 650.521.4377
F > 650.328.3901
The Brand Technology Company
PA > 131 Lytton Ave., Palo Alto, CA 94301
SF > 85 Second St., San Francisco, CA 94105
From: Brian Moon [mailto:brianm at dealnews.com]
Sent: Sunday, March 02, 2008 6:20 PM
To: Pavel Pragin
Cc: memcached at lists.danga.com
Subject: Re: memcache connections are not closing
Pavel Pragin wrote:
> tcp 0 0 192.168.1.49:45231
> 192.168.1.51:11211 ESTABLISHED
> tcp 0 0 192.168.1.49:11211
> 192.168.1.51:46507 ESTABLISHED
This netstat command is clearly showing both incoming and outgoing
connections. So, does the 3000 include both incoming and outgoing? It
looks like you should run:
nestat -anp | fgrep "192.168.1.49:11211" | wc -l
Then see how many incoming connections there are.
According to your Apache configuration, There could be as may as 768
connections from Apache. I would need to see the full output of the
above netstat/fgrep to determine anything further.
When you care enough to spend the very least.
More information about the memcached