Re: Rising number of connections

2009-07-05 Thread Willy Tarreau
On Sun, Jul 05, 2009 at 08:06:17PM +0100, Peter Miller wrote:
 Ah, we downloaded from the 'Download' section on the site, which is still 
 defaulting to 1.3.17 rather than the 'Latest versions' which has the link to 
 the 1.3.18 source. Luckily we're on 32-bit x86, but will upgrade asap.

Oops, you're right :-(
I'm fixing the page. I believe that I don't always think about updating
that section.

Regards,
Willy




RE: Rising number of connections

2009-07-02 Thread John Marrett
Have you perhaps incorrectly configured your SNMP tool to graph the
value as a gauge instead of a counter (I assume that the SNMP module
returns counters)? That would produce a continuously increasing graph.

As to the old processes still running there were some bugs that caused
this issue which have now been resolved. I can't find the specific
version that this bug is resolved in, but I have been affected by it in
the past. 

As Joseph asks, what version and OS?

-JohnF 

 -Original Message-
 From: Joseph Hardeman [mailto:jharde...@colocube.com] 
 Sent: June 30, 2009 9:00 PM
 To: Peter Miller
 Cc: haproxy@formilux.org
 Subject: Re: Rising number of connections
 
 Hi Pete,
 
 What version of Haproxy are you running and on what OS?  Did 
 you build from source or install the prebuilt binaries they 
 provide?  I do not see the same issue on the haproxies we are 
 running, but I would be interested in the snmp plugins and 
 scripts you are using to convert to rrdtool.  If you can 
 share them that is.  If we could see them that might assist 
 in figuring out the issue.
 
 Joe
 
 Peter Miller wrote: 
 
   I monitor various statistics about HAProxy through a 
 plugin in snmp, and oddly I'm seeing that the number of 
 connections as reported by the front-end is increasing 
 steadily, even though the traffic is up and down (predictably).
 

 
   This increase in number of connections is also reported 
 in HAProxys stats page. If I restart HAProxy, the connection 
 amount restarts from 0 and slowly risese over a couple of 
 days... although, even though the new process ends up taking 
 over the requests, the old processes are still running (I 
 have about 4 now - is that normal?).
 

 
   See cacti graphs:
 
   
 
   
 

 
   Many thanks for any help.
 

 
   Pete
 
 
   ** Please consider the environment before printing this 
 e-mail **
   
   The information contained in this e-mail is of a 
 confidential nature and is intended only for the addressee. 
 If you are not the intended addressee, any disclosure, 
 copying or distribution by you is prohibited and may be 
 unlawful. Disclosure to any party other than the addressee, 
 whether inadvertent or otherwise, is not intended to waive 
 privilege or confidentiality. Internet communications are not 
 secure and therefore Conde Nast does not accept legal 
 responsibility for the contents of this message. Any views or 
 opinions expressed are those of the author.
   
   Company Registration details:
   The Conde Nast Publications Ltd
   Vogue House
   Hanover Square
   London W1S 1JU
   
   Registered in London No. 226900
   
   -- 
   This message has been scanned for viruses and 
   dangerous content by MailScanner 
 http://www.mailscanner.info/ , and is 
   believed to be clean. 
 
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner 
 http://www.mailscanner.info/ , and is 
 believed to be clean. 
 



Re: Rising number of connections

2009-07-02 Thread Willy Tarreau
On Thu, Jul 02, 2009 at 03:08:39PM -0400, John Marrett wrote:
 Have you perhaps incorrectly configured your SNMP tool to graph the
 value as a gauge instead of a counter (I assume that the SNMP module
 returns counters)? That would produce a continuously increasing graph.
 
 As to the old processes still running there were some bugs that caused
 this issue which have now been resolved. I can't find the specific
 version that this bug is resolved in, but I have been affected by it in
 the past. 

stupid question guys : are you sure you have set your timeouts ? What
you describe is the behaviour of an instance without any timeout on which
some clients randomly disappear from the net leaving a dead connection.

Willy