LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Memory Leak in Pulse / LVSD (https://www.linuxquestions.org/questions/linux-server-73/memory-leak-in-pulse-lvsd-4175457496/)

ComputrGeek 04-09-2013 09:41 AM

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.

ComputrGeek 04-10-2013 08:48 AM

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



All times are GMT -5. The time now is 01:18 AM.