Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Johannes Töger
Yeah, I could absolutely compile my own version. I think it might be better to 
try with the .deb packages you linked first though.

I need to ask my users for a window where I can shut down everything first, so 
might take a few days before I can organize this.

— 
Johannes Töger

Associate Senior Lecturer
Cardiac MR Group
Department of Clinical Sciences Lund, Clinical Physiology
Lund University, Sweden

-Original Message-
From: Ulrich Sibiller  
Sent: Thursday, January 23, 2020 19:43
To: Johannes Töger 
Cc: Bernd Schubert ; x2go-user@lists.x2go.org
Subject: Re: [X2Go-User] Long-running x2goagent, high memory usage

On Thu, Jan 23, 2020 at 7:35 PM Johannes Töger  wrote:
>
> Thanks to you both for getting involved in this.
>
> I've been swamped with other things, so not much to report. I did manage to 
> plot the x2goagent memory use over time though. Maybe this can help.
>
> Link to plot:
> https://imgur.com/a/lDqZ2zd
>
> As you see, several users have a constant memory use. However, 3 of them have 
> a constantly increasing memory use. So not isolated incidents that leak, but 
> rather a continuous drip.

OK, well, do you think you could compile an own version of x2go?

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Bernd Schubert


On 1/23/20 2:52 PM, Ulrich Sibiller wrote:
> Just a little update: I have tried to integrate valgrind into the x2go
> setup but I failed. I'll try again...

I guess I should try to compile x2go myself, but typically ASAN (which
then also runs LSAN) is much faster than valgrind. A bit tricky, though,
to get the reports for daemon processes.
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Ulrich Sibiller
Just a little update: I have tried to integrate valgrind into the x2go
setup but I failed. I'll try again...

In your initial bug report you showed some measurement where you
accumulated the memory per user. Can you verify that this amount is is
tied to x2goagent processes?

Uli

On Tue, Jan 21, 2020 at 11:43 AM Ulrich Sibiller  wrote:
>
> On Tue, Jan 21, 2020 at 11:24 AM Johannes Töger
>  wrote:
> >
> > Great, I see in the blog that you did a lot of work on fixing memory leaks. 
> > I'll try to install the .22 version.
> >
> > But isn't it strange that I can't find or have an nx-libs package 
> > installed? What's going on there? Is the packaging for Ubuntu 18.04 LTS 
> > done in some other way?
>
> No, this is a mistake from my side. The project is called nx-libs and
> produces a number of packages. You can replace the relevant x2go
> packages by the arctica ones.
>
> Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Ulrich Sibiller
On Thu, Jan 23, 2020 at 2:52 PM Ulrich Sibiller  wrote:
>
> Just a little update: I have tried to integrate valgrind into the x2go
> setup but I failed. I'll try again...
>
> In your initial bug report you showed some measurement where you
> accumulated the memory per user. Can you verify that this amount is is
> tied to x2goagent processes?

Forget that, I had missed the grep..

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Ulrich Sibiller
Ok, that's fine, too! I am curious about the results!

Uli

PS: Well, Johannes started the thread and I tried to help him, I am a
bit confused that now you (Bernd) kick in. Are you a colleague of
Johannes or are you also seeing that problem?

On Thu, Jan 23, 2020 at 3:23 PM Bernd Schubert
 wrote:
>
>
>
> On 1/23/20 2:52 PM, Ulrich Sibiller wrote:
> > Just a little update: I have tried to integrate valgrind into the x2go
> > setup but I failed. I'll try again...
>
> I guess I should try to compile x2go myself, but typically ASAN (which
> then also runs LSAN) is much faster than valgrind. A bit tricky, though,
> to get the reports for daemon processes.
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Bernd Schubert


On 1/23/20 3:41 PM, Ulrich Sibiller wrote:
> Ok, that's fine, too! I am curious about the results!
> 
> Uli
> 
> PS: Well, Johannes started the thread and I tried to help him, I am a
> bit confused that now you (Bernd) kick in. Are you a colleague of
> Johannes or are you also seeing that problem?

Ah sorry, no, I'm just reading the thread. I had similar issues in the
past with x2go, but right now long running sessions work pretty well.
I'm also coding all the time and the compiler sanitizers are great help
and work so much faster than valgrind - I just tried to point that out.
Sorry for confusion.

 - Bernd
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Ulrich Sibiller
On Thu, Jan 23, 2020 at 7:35 PM Johannes Töger  wrote:
>
> Thanks to you both for getting involved in this.
>
> I've been swamped with other things, so not much to report. I did manage to 
> plot the x2goagent memory use over time though. Maybe this can help.
>
> Link to plot:
> https://imgur.com/a/lDqZ2zd
>
> As you see, several users have a constant memory use. However, 3 of them have 
> a constantly increasing memory use. So not isolated incidents that leak, but 
> rather a continuous drip.

OK, well, do you think you could compile an own version of x2go?

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Long-running x2goagent, high memory usage

2020-01-23 Thread Johannes Töger
Thanks to you both for getting involved in this.

I've been swamped with other things, so not much to report. I did manage to 
plot the x2goagent memory use over time though. Maybe this can help.

Link to plot:
https://imgur.com/a/lDqZ2zd

As you see, several users have a constant memory use. However, 3 of them have a 
constantly increasing memory use. So not isolated incidents that leak, but 
rather a continuous drip.

— 
Johannes Töger

Associate Senior Lecturer
Cardiac MR Group
Department of Clinical Sciences Lund, Clinical Physiology
Lund University, Sweden

-Original Message-
From: x2go-user  On Behalf Of Bernd Schubert
Sent: Thursday, January 23, 2020 16:11
To: Ulrich Sibiller 
Cc: x2go-user@lists.x2go.org
Subject: Re: [X2Go-User] Long-running x2goagent, high memory usage



On 1/23/20 3:41 PM, Ulrich Sibiller wrote:
> Ok, that's fine, too! I am curious about the results!
> 
> Uli
> 
> PS: Well, Johannes started the thread and I tried to help him, I am a 
> bit confused that now you (Bernd) kick in. Are you a colleague of 
> Johannes or are you also seeing that problem?

Ah sorry, no, I'm just reading the thread. I had similar issues in the past 
with x2go, but right now long running sessions work pretty well.
I'm also coding all the time and the compiler sanitizers are great help and 
work so much faster than valgrind - I just tried to point that out.
Sorry for confusion.

 - Bernd
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user