Re: Performance degradation due to zombie log:tail commands

2018-02-09 Thread João Assunção
Hello JB,

I haven't tried with Karaf 4.1.4. I was planning to wait for 4.1.5 due to
KARAF-5384 .
Yes. By client I meant the SSH client.
Thank you.

Regards,

João Assunção

Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com



On Fri, Feb 9, 2018 at 10:56 AM, Jean-Baptiste Onofré 
wrote:

> By the way, when you say "client", you mean SSH client (like Karaf
> bin/client) ?
>
> Regards
> JB
>
> On 02/09/2018 11:16 AM, João Assunção wrote:
> > Hello all,
> >
> > I'm experiencing a considerable performance degradation as a result of
> zombie
> > log:tail commands. By zombie, I mean cases where the client session
> > terminates abruptly or due to timeout.
> > The performance degradation is caused by logging as a result of the
> appenders
> > trying to write to a terminal stream that is closed. In this situation,
> for
> > every character written to the appender, PrintStream will
> call ensureOpen and
> > thrown an IOException resulting in a considerable performance penalty.
> > I'm running Karaf 4.1.3
> >
> > Since the logging is provided by Pax Logging but the terminal is the
> realm of
> > Karaf I'm not sure where I should open an issue.
> > Thanks,
> >
> > Regards,
> >
> > João Assunção
> >
> > Email: joao.assun...@exploitsys.com  >
> > Mobile: +351 916968984
> > Phone: +351 211933149
> > Web: www.exploitsys.com 
> >
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: Performance degradation due to zombie log:tail commands

2018-02-09 Thread Jean-Baptiste Onofré
By the way, when you say "client", you mean SSH client (like Karaf bin/client) ?

Regards
JB

On 02/09/2018 11:16 AM, João Assunção wrote:
> Hello all,
> 
> I'm experiencing a considerable performance degradation as a result of zombie
> log:tail commands. By zombie, I mean cases where the client session
> terminates abruptly or due to timeout. 
> The performance degradation is caused by logging as a result of the appenders
> trying to write to a terminal stream that is closed. In this situation, for
> every character written to the appender, PrintStream will call ensureOpen and
> thrown an IOException resulting in a considerable performance penalty.
> I'm running Karaf 4.1.3
> 
> Since the logging is provided by Pax Logging but the terminal is the realm of
> Karaf I'm not sure where I should open an issue. 
> Thanks,
> 
> Regards,
> 
> João Assunção
> 
> Email: joao.assun...@exploitsys.com 
> Mobile: +351 916968984
> Phone: +351 211933149
> Web: www.exploitsys.com 
> 
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Performance degradation due to zombie log:tail commands

2018-02-09 Thread Jean-Baptiste Onofré
Hi Joao,

AFAIR, this has been already fixed.

Did you try with 4.1.4 ?

I will take a look anyway.

Regards
JB

On 02/09/2018 11:16 AM, João Assunção wrote:
> Hello all,
> 
> I'm experiencing a considerable performance degradation as a result of zombie
> log:tail commands. By zombie, I mean cases where the client session
> terminates abruptly or due to timeout. 
> The performance degradation is caused by logging as a result of the appenders
> trying to write to a terminal stream that is closed. In this situation, for
> every character written to the appender, PrintStream will call ensureOpen and
> thrown an IOException resulting in a considerable performance penalty.
> I'm running Karaf 4.1.3
> 
> Since the logging is provided by Pax Logging but the terminal is the realm of
> Karaf I'm not sure where I should open an issue. 
> Thanks,
> 
> Regards,
> 
> João Assunção
> 
> Email: joao.assun...@exploitsys.com 
> Mobile: +351 916968984
> Phone: +351 211933149
> Web: www.exploitsys.com 
> 
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Performance degradation due to zombie log:tail commands

2018-02-09 Thread João Assunção
Hello all,

I'm experiencing a considerable performance degradation as a result of
zombie log:tail commands. By zombie, I mean cases where the client session
terminates abruptly or due to timeout.
The performance degradation is caused by logging as a result of the
appenders trying to write to a terminal stream that is closed. In this
situation, for every character written to the appender, PrintStream will
call ensureOpen and thrown an IOException resulting in a considerable
performance penalty.
I'm running Karaf 4.1.3

Since the logging is provided by Pax Logging but the terminal is the realm
of Karaf I'm not sure where I should open an issue.
Thanks,

Regards,

João Assunção

Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com