[Swan] Pluto consumes all available memory

Will Roberts ironwill42 at gmail.com
Wed May 20 21:20:11 EEST 2015


Paul,


On 04/30/2015 04:38 PM, Paul Wouters wrote:
> So possibly, the leak only happens in some failure case that keeps
> repeating. I'd suggest to leave it running longer. Look at the pluto
> memory size, and only when it gets really big do the restart and check
> for leaks.

The error was triggered again, but unfortunately the leak detector still 
shows the same exact leaks.

The following errors were printed during the shutdown process:

May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP"[15046] 
69.90.78.100: deleting connection "wonderproxy-L2TP" instance with peer 
69.90.78.100 {isakmp=#0/ipsec=#0}
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34623: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34623: 
ERROR: netlink response for Del SA esp.b7f1c7e7 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34635: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34635: 
ERROR: netlink response for Del SA esp.56e0e7de at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34629: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34629: 
ERROR: netlink response for Del SA esp.e70a8e9b at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34617: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34617: 
ERROR: netlink response for Del SA esp.728d1b9d at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP"[15042] 
176.58.89.113: deleting connection "wonderproxy-L2TP" instance with peer 
176.58.89.113 {isakmp=#0/ipsec=#0}
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34615: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34615: 
ERROR: netlink response for Del SA esp.3f38c6c1 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34627: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34627: 
ERROR: netlink response for Del SA esp.787395f1 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34633: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34633: 
ERROR: netlink response for Del SA esp.8ff2d154 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34621: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34621: 
ERROR: netlink response for Del SA esp.8020154f at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP"[15041] 
198.58.96.25: deleting connection "wonderproxy-L2TP" instance with peer 
198.58.96.25 {isakmp=#0/ipsec=#0}
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34631: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34631: 
ERROR: netlink response for Del SA esp.93d60211 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34613: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34613: 
ERROR: netlink response for Del SA esp.89e088f2 at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34625: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34625: 
ERROR: netlink response for Del SA esp.60924c1a at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34619: 
deleting state (STATE_QUICK_R1)
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34619: 
ERROR: netlink response for Del SA esp.af3458bc at 198.199.98.122 included 
errno 3: No such process
May 20 18:01:57 sanfrancisco pluto[7864]: "wonderproxy-L2TP" #34588: 
deleting state (STATE_MAIN_R3)

198.199.98.122 - is that machine's local IP
69.90.78.100, 176.58.89.113, and 198.58.96.25 are the IPs of our 
monitoring servers

--Will


More information about the Swan mailing list