<div dir="ltr"><span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">Hi all,</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">I have followed the steps mentioned in wiki to create a filelog, but the filelog is too big so that run out of the memory. For example, I used an instrument to establish ipsec tunnels at the speed of 100 per second, the filelog soon reached 1.5G .</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">Following is my strongswan.conf:</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">charon</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">load = openssl random x509 pubkey hmac xcbc stroke kernel-pfkey kernel-netlink eap-radius socket-default dhcp ha</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">threads = 1000</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">ikesa_table_size = 2048</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">ikesa_table_segments = 128</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">half_open_timeout = 20</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">init_limit_half_open = 1000</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">cookie_threshold = 10000</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">plugins</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">dhcp</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">server = 10.2.6.255</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">filelog</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">/tmp/log/charon.log</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">time_format = %b %e %T</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">append = no</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">default = 1</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">flush_line = yes</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">stderr</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">default = </span><span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">-1</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify"># prepend connection name, simplifies grepping</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">ike_name = yes</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">syslog</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">daemon</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">default = -1</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">auth</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">{</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">default = -1</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">}</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">I want to know how to limit the size of the filelog ?</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">Thank you for your help.</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">Yourth,</span><br style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">
<span style="color:rgb(0,0,0);font-family:helvetica,verdana,san-serif;font-size:16px;line-height:24px;text-align:justify">alma</span><br></div>