Simon_83666
Sep 22, 2008Nimbostratus
syslog-ng & alertd CPU usage
We're having an issue with our new LTM 6400 box. With the following iRule enabled for logging, the syslog-ng & alertd processes are taking up almost 100% of one CPU during a performance testing. The second CPU which I think is dedicated to TMM is not doing much but we're not sure what can be done to reduce the CPU 00 usage without disabling logging. Is this something to do with the way the irules was written ?
when HTTP_REQUEST {
set client_ip [IP::client_addr]
set http_request [HTTP::request]
set http_request_time [clock clicks -milliseconds]
log local0. "Client connected, IP: $client_ip, HTTP request: $http_request "
}
when HTTP_RESPONSE {
set http_status [HTTP::status]
set lb_server [LB::server]
log local0. "Pool Info: $lb_server - HTTP Status: $http_status (request/response delta: [expr [clock clicks -milliseconds] - $http_request_time]ms)"
}