Locked up computer - memory pressure relief?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Locked up computer - memory pressure relief?

Gnome Evolution - General mailing list
Evolution 3.32.5 - Fedora 30

I had an issue this morning where my laptop 'locked up' while I was replying to a mail. I was in the process of typing and had completed maybe 4 or 5 lines when the laptop froze with the disc activity light constantly on. This went on for minutes until I eventually re-powered the machine.
The issue may not have been in Evolution at all, as I have three or four processes start when I boot (virus scan, terminal sessions, browser, file manager, music player...) - so it may have been just the virus scan (clam) slowing everything down.

I am only posting this here as once I rebooted, I checked the message log and it had a series of message, roughly at the time when the 'lock up' occurred, coming from Evolution:
May 30 06:48:35 E6540-64 clamd[5883]: SelfCheck: Database status OK.
May 30 06:51:17 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 15634432/12214272/-3420160, res+swap = 14970880/14970880/0
May 30 06:51:26 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12173312/12173312/0, res+swap = 11509760/11509760/0
May 30 06:52:05 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12173312/12173312/0, res+swap = 11517952/11517952/0
May 30 06:52:36 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12169216/12173312/4096, res+swap = 11517952/11517952/0
May 30 06:52:41 E6540-64 chronyd[938]: Selected source 178.62.18.76
May 30 06:53:07 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12169216/12169216/0, res+swap = 11513856/11513856/0
May 30 06:53:38 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12169216/12169216/0, res+swap = 11522048/11522048/0
May 30 06:54:09 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12156928/12161024/4096, res+swap = 11513856/11513856/0
May 30 06:54:40 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12161024/12161024/0, res+swap = 11522048/11522048/0
May 30 06:55:11 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12152832/12152832/0, res+swap = 11513856/11513856/0
May 30 06:55:42 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12148736/12152832/4096, res+swap = 11513856/11513856/0
May 30 06:56:13 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12152832/12152832/0, res+swap = 11522048/11522048/0
May 30 06:56:44 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12152832/12152832/0, res+swap = 11530240/11530240/0
May 30 06:57:15 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12132352/12136448/4096, res+swap = 11517952/11517952/0
May 30 06:57:46 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12132352/12132352/0, res+swap = 11517952/11517952/0
May 30 06:58:17 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12128256/12128256/0, res+swap = 11517952/11517952/0
May 30 06:58:35 E6540-64 clamd[5883]: SelfCheck: Database status OK.
May 30 06:58:48 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12124160/12124160/0, res+swap = 11522048/11522048/0
May 30 06:59:19 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12115968/12115968/0, res+swap = 11517952/11517952/0
May 30 06:59:50 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12115968/12115968/0, res+swap = 11522048/11522048/0
May 30 07:00:21 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12103680/12103680/0, res+swap = 11517952/11517952/0
May 30 07:00:52 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12099584/12099584/0, res+swap = 11522048/11522048/0
May 30 07:01:23 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12091392/12091392/0, res+swap = 11513856/11513856/0
May 30 07:01:54 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12087296/12091392/4096, res+swap = 11522048/11522048/0
May 30 07:02:25 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12083200/12083200/0, res+swap = 11522048/11522048/0
May 30 07:03:03 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12083200/12083200/0, res+swap = 11522048/11522048/0
May 30 07:03:35 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12070912/12075008/4096, res+swap = 11513856/11513856/0
May 30 07:04:25 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12075008/12075008/0, res+swap = 11513856/11513856/0
May 30 07:04:41 E6540-64 systemd[1698]: Starting Tracker metadata database store and lookup manager...
May 30 07:04:41 E6540-64 systemd[1698]: Started Tracker metadata database store and lookup manager.
May 30 07:05:12 E6540-64 tracker-store[8292]: OK
May 30 07:05:12 E6540-64 systemd[1698]: tracker-store.service: Succeeded.
May 30 07:08:35 E6540-64 clamd[5883]: SelfCheck: Database status OK.
May 30 07:08:53 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 13737984/11722752/-2015232, res+swap = 13094912/13094912/0
May 30 07:08:53 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 22265856/20705280/-1560576, res+swap = 15630336/15630336/0
May 30 07:08:59 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 20889600/20848640/-40960, res+swap = 14254080/14254080/0
May 30 07:09:00 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 11698176/11620352/-77824, res+swap = 11055104/11055104/0
May 30 07:09:31 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 21934080/21884928/-49152, res+swap = 15298560/15298560/0
May 30 07:09:32 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 7639040/8462336/823296, res+swap = 7630848/8331264/700416
May 30 07:10:01 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 21815296/21778432/-36864, res+swap = 15175680/15175680/0
May 30 07:10:03 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 7733248/7811072/77824, res+swap = 7864320/7864320/0
May 30 07:10:32 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 22671360/22630400/-40960, res+swap = 16035840/16035840/0
May 30 07:10:34 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 6541312/6545408/4096, res+swap = 6619136/6619136/0
May 30 07:11:03 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 23166976/23085056/-81920, res+swap = 16531456/16531456/0
May 30 07:11:05 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 6467584/6475776/8192, res+swap = 6545408/6545408/0
May 30 07:11:34 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 24076288/24035328/-40960, res+swap = 17440768/17440768/0
May 30 07:11:36 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 6283264/6295552/12288, res+swap = 6365184/6365184/0

...is this just a perfect storm - clam, tracker... or is this problem specifically Evolution related?

Thanks in advance.

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Andre Klapper
On Sat, 2020-05-30 at 08:46 +0100, Steve T via evolution-list wrote:
> Evolution 3.32.5 - Fedora 30

You are running an unsupported Fedora version which won't receive any
security updates anymore. "Viruses" are your smallest problem I'd say.

> I had an issue this morning where my laptop 'locked up' while I was
> replying to a mail. I was in the process of typing and had completed
> maybe 4 or 5 lines when the laptop froze with the disc activity light
> constantly on. This went on for minutes until I eventually re-powered
> the machine.
> The issue may not have been in Evolution at all, as I have three or
> four processes start when I boot (virus scan, terminal sessions,
> browser, file manager, music player...) - so it may have been just
> the virus scan (clam) slowing everything down.
>
> ...is this just a perfect storm - clam, tracker... or is this problem
> specifically Evolution related?

Hard to say but I've also experienced this in the past. However, first
question would be if that still happens in a recent Evolution version.

Cheers,
andre
--
Andre Klapper  |  [hidden email]
https://blogs.gnome.org/aklapper/


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Gnome Evolution - General mailing list
On Sat, 2020-05-30 at 10:36 +0200, Andre Klapper wrote:

You are running an unsupported Fedora version which won't receive any
security updates anymore. "Viruses" are your smallest problem I'd say.



Hard to say but I've also experienced this in the past. However, first
question would be if that still happens in a recent Evolution version.

Thanks Andre - to be honest, I hadn't realised FC30 was unsupported (I had an update on the 27th May) as I tend to move up in 'twos' anyway. I'll move up to FC32 and report an issue if it reappears in whatever version Evolution is under that release.



_______________________________________________
evolution-list mailing list
[hidden email]

To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Patrick O'Callaghan
On Sat, 2020-05-30 at 09:44 +0100, Steve T via evolution-list wrote:

> On Sat, 2020-05-30 at 10:36 +0200, Andre Klapper wrote:
> > You are running an unsupported Fedora version which won't receive
> > anysecurity updates anymore. "Viruses" are your smallest problem I'd
> > say.
> >
> >
> > Hard to say but I've also experienced this in the past. However,
> > firstquestion would be if that still happens in a recent Evolution
> > version.
>  Thanks Andre - to be honest, I hadn't realised FC30 was unsupported (I
> had an update on the 27th May) as I tend to move up in 'twos' anyway.
> I'll move up to FC32 and report an issue if it reappears in whatever
> version Evolution is under that release.

F30 was EOLed a few days ago.

poc

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Gnome Evolution - General mailing list
In reply to this post by Gnome Evolution - General mailing list
On Sat, 2020-05-30 at 08:46 +0100, Steve T via evolution-list wrote:

May 30 06:51:17 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 15634432/12214272/-3420160, res+swap = 14970880/14970880/0
May 30 06:51:26 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12173312/12173312/0, res+swap = 11509760/11509760/0
May 30 06:52:05 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 12173312/12173312/0, res+swap = 11517952/11517952/0

When I start seeing that message on my system, it typically means that I have or are about to step off memory into swap space.

My main system has 12GB of ram and when htop shows me at  more than 11 GB in use,  I start seeing that message and periodic
system freezes the further I get into swap space.

Mike

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Zan Lynx
In reply to this post by Gnome Evolution - General mailing list
On 5/30/2020 1:46 AM, Steve T via evolution-list wrote:
> I had an issue this morning where my laptop 'locked up' while I was
> replying to a mail. I was in the process of typing and had completed
> maybe 4 or 5 lines when the laptop froze with the disc activity light
> constantly on. This went on for minutes until I eventually re-powered
> the machine.
> The issue may not have been in Evolution at all, as I have three or four
> processes start when I boot (virus scan, terminal sessions, browser,
> file manager, music player...) - so it may have been just the virus scan
> (clam) slowing everything down.

The problem certainly can be Evolution. I haven't seen it happen to me
in several years but it's had bugs where it just endlessly allocates
memory until it fails.

If you want to get fancy you can experiment with customizing the
.desktop file to run Evolution using systemd-run and a memory limit.
Then it goes in a cgroup and cannot exceed 1 GB, or whatever limit you pick.

--
                 Knowledge is Power -- Power Corrupts
                         Study Hard -- Be Evil
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Locked up computer - memory pressure relief?

Pete Biggs
In reply to this post by Gnome Evolution - General mailing list
On Sat, 2020-05-30 at 08:46 +0100, Steve T via evolution-list wrote:

> Evolution 3.32.5 - Fedora 30
>
> I had an issue this morning where my laptop 'locked up' while I was
> replying to a mail. I was in the process of typing and had completed
> maybe 4 or 5 lines when the laptop froze with the disc activity light
> constantly on. This went on for minutes until I eventually re-powered
> the machine.
> The issue may not have been in Evolution at all, as I have three or
> four processes start when I boot (virus scan, terminal sessions,
> browser, file manager, music player...) - so it may have been just
> the virus scan (clam) slowing everything down.
>
> I am only posting this here as once I rebooted, I checked the message
> log and it had a series of message, roughly at the time when the
> 'lock up' occurred, coming from Evolution:
> May 30 06:48:35 E6540-64 clamd[5883]: SelfCheck: Database status OK.
> May 30 06:51:17 E6540-64 org.gnome.Evolution.desktop[2430]: Memory pressure relief: Total: res = 15634432/12214272/-3420160, res+swap = 14970880/14970880/0
>

Apologies if you already know this.  The system use memory both for
running programs and for file buffer cache. Sometimes a program
requires memory that the cache is using - this is memory pressure. The
relief is when the cache's are cleared and memory free'd up for
programs.

> ...is this just a perfect storm - clam, tracker... or is this problem
> specifically Evolution related?
>
It's probably a combination of a number of things - tracker can use a
lot of memory and it, of course, accesses disk, so creates cache. If
clamd is scanning a big file, especially an archive, it too can be a
significant consumer of memory. Evolution can also chew memory - I've
seen it for some (HTML) messages that have a complex structure; the
last time it happened was because some nice person sent me a Gb size
message (kill evolution, start without preview, delete message, shout
at person).

If you receive an over-size message that clamd is trying to scan,
tracker is trying to index and Evolution trying to display, then your
system might become a little sluggish.

I think your plan of upgrading to F32 (do it, it's much nicer!) and
seeing if the problem recurs is the correct course of action.

P.




_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list