Any problems with pmcputemp?

Using applications, configuring, problems
Post Reply
Message
Author
OldAcer
Posts: 55
Joined: Fri 22 Jul 2016, 17:52

Any problems with pmcputemp?

#1 Post by OldAcer »

When looking into excessive CPU & memory use by PaleMoon after being idle (with no IP connection) for 10+ hours, I found that Htop was also reporting 100+ MB usage for pmcputemp.

Haven't seen it since, but haven't let pmcputemp run all the time either.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#2 Post by ozsouth »

My slacko64 shows 165Mb usage when polling, momentarily about every 5 sec.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#3 Post by SFR »

Can you rebuilt pmcputemp with the attached patch and run it for some time?
The patch should fix 2 memory leaks.
I think there's at least one, small memleak left, because mem usage still grows, but much (~10x) slower now.

Greetings!
Attachments
pmcputemp-memleaks.patch.zip
(542 Bytes) Downloaded 56 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

OldAcer
Posts: 55
Joined: Fri 22 Jul 2016, 17:52

#4 Post by OldAcer »

Can you rebuild pmcputemp with the attached patch
I tried to find a way to contact Michael Amadio, without success.

If that was a traditional, binary patch, would Puppy have a means to incorporate it?

Xenial 7.5 doesn't have a hex editor to look in binaries! pmcputemp.sh is some kind of shell script. Is it called by the pmcputemp binary?

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#5 Post by SFR »

You can easily build pmcputemp from sources yourself, here's how:
- make sure you have appropriate devx.sfs loaded; you can find it here, in either 32 or 64 subdir, depending on which arch you're using,
- download and unpack https://github.com/01micko/pmcputemp/archive/master.zip,
- unpack the patch and put it in the unpacked sources' dir,
- open terminal there and:

Code: Select all

patch -p1 < pmcputemp-memleaks.patch
./configure
make
./pmcputemp
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply