LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-09-2013, 09:41 AM   #1
ComputrGeek
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
Memory Leak in Pulse / LVSD


I am configuring a load balanced web application to replace it's Windows based equivalent and have a problem with lvsd chewing up all the memory on my system.

If I just setup load balancing for http traffic then all works as it should, but if I configure load balancing for https traffic then lvsd slowly leaks memory until either lvsd stops working or the system is rebooted.

If I stop lvsd then the memory consumption stops. If the load balancer is in passive state (not managing traffic) then the memory consumption stops. It's only when it's handling https traffic and in active state.

I've been working on this for several days now and I can't find any other reference to this anywhere so I'm hoping someone here can shed some light on this for me.

I'm using CentOS 6.4, fully patched. My load balance solution includes Piranha and IPVSADM.
 
Old 04-10-2013, 08:48 AM   #2
ComputrGeek
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
So, after some major work I discovered that the montoring script I was using to check my web servers was causing the memory consumption. Can someone tell me why this would cause a problem when used with ipvsadm and pulse?

Code:
#!/bin/bash

if [ $# -eq 0 ]; then
       echo "host not specified"
       exit 1
fi

curl -s --insecure \
      https://${1}:443/ridgeworth/SPFinancialRW | grep "DOCTYPE" \
     &> /dev/null

if [ $? -eq 0 ]; then
     echo "OK"
else
     echo "FAIL"
fi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulse counter or frequency of incoming pulse train jayhorizon Programming 15 10-29-2010 04:29 AM
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 12:00 AM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 03:19 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration