Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F4461064B for ; Wed, 13 Nov 2013 18:05:40 +0000 (UTC) Received: (qmail 75662 invoked by uid 500); 13 Nov 2013 18:05:34 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 75293 invoked by uid 500); 13 Nov 2013 18:05:26 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 75151 invoked by uid 99); 13 Nov 2013 18:05:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 18:05:24 +0000 Date: Wed, 13 Nov 2013 18:05:24 +0000 (UTC) From: "Mateo Ramey (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-2552) Running log:tail on admin:console causes full CPU usage. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821604#comment-13821604 ] Mateo Ramey commented on KARAF-2552: ------------------------------------ [~ffang] & [~jbonofre] - I noticed that the log output still goes to console even after that sleep period. It's been a few minutes since I hit CTRL-C and log messages are still showing up. I am seeing this on the 2.3.4-SNAPSHOT that I built from yesterday (revision 1541391). > Running log:tail on admin:console causes full CPU usage. > -------------------------------------------------------- > > Key: KARAF-2552 > URL: https://issues.apache.org/jira/browse/KARAF-2552 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 2.3.3 > Environment: Mac OS X on java version "1.7.0_45" and java version "1.6.0_65" > Windows 7 on java version "1.6.0_41" > Reporter: Mateo Ramey > Assignee: Freeman Fang > Priority: Critical > Fix For: 2.4.0, 3.0.0, 2.3.4 > > > Running log:tail on the admin console causes 100% cpu usage. There were no logs being shown during the tail, just simply running the tail is causing the CPU to spike up. > Steps to reproduce: > 1) Download Karaf 2.3.3 distribution. > 2) Start karaf > 3) run log:tail command > 4) Watch CPU monitor (top in *nix or task manager in windows) show full cpu usage > 5) ctrl-c out of log:tail and CPU usage goes back to idle. > Attaching a profiler to Karaf identified the method taking up CPU as: > org.apache.karaf.shell.console.jline.DelayedStarted.run() > Not sure if that is fully accurate, but might be a place to start. > Note: Was unable to reproduce issue on Karaf 2.3.2 and as a result we have had to revert back to that version. > Let me know if you have any additional questions. > Thanks! -- This message was sent by Atlassian JIRA (v6.1#6144)