I have switched to persistent connection and the number of connestions for 11211 netstat shows me has indeed decreased. However Now I get Memcache::pconnect() [<a href='function.Memcache- pconnect'>function.Memcache-pconnect</a>]: Can't connect to 127.0.0.1:11211, Unknown error (0)
This happens occasionaly and memcache does continue to work for other connections,. Need a way to understand whats going on. By the way. netstat shows 1000s of connections on port :www in TIME_WAIT state. On Feb 17, 1:50 pm, Niro <[email protected]> wrote: > Connections in TIME WAIT (currently when the server is not in its > highest load time) > for port 1211 - 441 connections > port 80 - 423 connections > Port 3306 - 440 connections. > > I'll try to activate persistent connections. PHPinfo shows Active > persistent connections 0 so I guess its off. > > Which brings me to these questions: > How can I tell if the number of connections was really the problem? > How can I increase the number of open connections the server can > handle? > Any other advice? > > On Feb 17, 1:26 pm, Trond Norbye <[email protected]> wrote: > > > On Feb 17, 2010, at 11:59 AM, Niro wrote: > > > > Thanks for the quick response. > > > > Server's version: 1.2.2. Below you will find current stats. > > > Wow.. you should upgrade!!! that's really really old.. > > > > How can I determine whether I'm using persistent or single-shot > > > connections? > > > 'total_connections' => '810678' > > > I guess this would indicate that your clients connect for every command > > they want to run... Persistent connections is a client feature, and I don't > > use PHP so I can't tell you how to activate that.. > > > > Also netstat gave me a long list of connections. How can I use it to > > > pinpoint relevant issues ? > > > Do you have a high number of connections in TIME_WAIT? > > > Cheers, > > > Trond
