Forum Discussion
memory usage grows up daily in unexpected way
We have a pair of two LTMs 1500 appliances. They are loadbalancing BEA WEBLOGIC servers and iPlanet servers. We are having problems due to memory. The memory grows up daily (40 Megas per day) in each system. When the memory reaches 260 Megas approximately, the active system reboots. I have a case opened with support and they tell me that in the qkviews, it seems as if the problem is related to the iRules we have configured in order to maintain universal persistence with BEA WEBLOGIC Severs and iPlanet servers.
The iRules we have configured are:
rule Persist_iPlanet {
when HTTP_REQUEST {
if { [HTTP::cookie exists WEBSRV] } {
persist uie [HTTP::cookie WEBSRV];
}
}
when HTTP_RESPONSE {
if { not [HTTP::cookie exists WEBSRV ] } {
set ip_srv [IP::server_addr];
set valor [ string range $ip_srv [ expr [string last . $ip_srv ] + 1] 15];
set val_cookie "WEBSRV=$valor; path=/"
HTTP::header insert Set-Cookie $val_cookie;
persist add uie $valor;
}
}
}
rule Persist_Weblogic {
when HTTP_REQUEST {
if { [HTTP::cookie exists WLSRV] } {
persist uie [HTTP::cookie WLSRV];
}
}
when HTTP_RESPONSE {
if { not [HTTP::cookie exists WLSRV ] } {
set ip_srv [IP::server_addr];
set valor [ string range $ip_srv [ expr [string last . $ip_srv ] + 1] 15];
set val_cookie "WLSRV=$valor; path=/"
HTTP::header insert Set-Cookie $val_cookie;
persist add uie $valor;
}
}
}
rule Adapta_SecureConnection {
when HTTP_REQUEST {
if { [HTTP::header SecureConnection] equals "true" } {
HTTP::header replace "WL-Proxy-SSL" true;
}
HTTP::header remove SecureConnection;
}
}
Perhaps the problem is because the Persistence table grows and it is not erased properly...?
Perhaps the problems is due to the timeouts...if so, when can we configure it and how (in an appropiate way)?
Perhaps we have to change some parameters/commands in the iRules?
We are having this problem from the beginning of the installation and we do not know what to do.
I would appreciate your help very much!!
Thanks in advance,
María
- hoolio
Cirrostratus
Hi Maria, - Maria_Ramirez_5
Nimbostratus
Thank you very much Aaron. - hoolio
Cirrostratus
No problem... what's your case number? I tried looking but didn't find it. - Maria_Ramirez_5
Nimbostratus
Hello, - mrintzler
Nimbostratus
JonDid you ever find an answer to your memory leak? I too am seeing a similar memory leak in my iRules in 10.1.0. The memory consumption rate is steady- not tied to traffic load. I'm showing similar numbers in my tmctl output:
name allocated max_allocated held size
tcl (variable) 376576032 376680192 376576032 1
tcl_ip_addr 19320 30880 770 40
tcl_strcache 235902880 235910784 7372212 32
umem (variable) 16304800 16304800 12375214 1
xfrag 100382720 239679488 116849 2048
- hoolio
Cirrostratus
Hi mrintzler,
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com