Announcement

Collapse
No announcement yet.

python3 update issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    python3 update issues

    Hello,

    On March 25, 2015, I installed several updates for python3. Since than, computer goes unusually hot when booting, on the Internet on some pages but also when downloading 2 or 3 files in the same time, when using dolphin to transfer files to an external HD. Before this update computer was running cold, even if downloading 10 files in the same time (mp3 and/or mp4). Why do I suspect python3? Opening the System Activity window (ctrl+esc), every time python3 runs, temperatures are boosting unusually high (for graphical card and at least one core, first).

    My machine: i3-2350M with intel 3000 graphics, Kubuntu 14.04.1 with the latest updates installed.

    A deeper explanation could be the 3D accelerator, who become "unknown" after upgrading to kernel 3.13.0-48, on March 23. If I recall well, when installed 14.04.1, I had an intel 3D accelerator. Actually, this was the difference between my laptop with i3, and my netbook (Acer Aspire One) with Celeron, because Celerons have the 3D accelerators inhabited for power saving. But strangely, my netbook does not heat after the same python3 updates and kernel upgrade. The question becomes now: could python3 heat the i3 machine in absence of a 3D accelerator? Because, what's for sure is that python3 causes the heating right now.

    Code:
    lspci
    with latest kernel 3.13.0-48, came up with:
    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
    00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
    00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
    01:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    Should I wait for several days, maybe a hardware support update will be available for the new kernel? Also, does anybody else experience these same recent issue?
    Thanks,
    Last edited by aria; Apr 01, 2015, 02:22 PM.
    aria

    #2
    Restarted the computer with the previous kernel, 3.13.0-46, and no 3D accelerator was shown in the KinfoCenter. Also, experienced the same heating issues. Last week, computer was running much, much colder!

    Code:
    lspci
    with previous kernel 3.13.0-46 came up with:
    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
    00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
    00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
    01:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    which looks quite the same with the latest kernel.
    But maybe exactly this is the issue!?
    Last edited by aria; Mar 30, 2015, 12:00 PM.
    aria

    Comment


      #3
      It could have no relation to hardware and instead be some buggy Python code running. I've seen this happen with VeroMix on occasion. The computer will get quite hot, the fans blasting like crazy. Viewing the output of top in a console shows that python is consuming 100% of the CPU; checking the PID against ps -ef shows the VeroMix command line.

      Next time this happens to you, try the same procedure. Look at the output of top and find the matching PID in ps -ef. What's the cause?

      Comment


        #4
        Thanks Steve,

        Did top and than run muon update manager, who I've seen heats the machine. Python didn't appear to use too much %CPU. Instead over 75%CPU (sometimes over 85%CPU) was used by copy, kworker, muon-updat+, apt-check, and python3 (which went up to 99%CPU).

        When started to heat, checked in another console ps -ef (actually did several trials at different moments). Than searched the output for python. Got these lines:
        Belonging to the user: python /usr/bin/jupiter (jupiter shouldn't be an issue, same line appeared on my netbook too, and the netbook doesn't heat like the laptop)
        Belonging to root: /usr/bin/python /usr/share/apt-xapian-ind (not sure if this is the whole line, because sometimes it came shorter, like .../apt-x)
        Finally got the python3, belonging to the user: /usr/bin/python3 /usr/lib/update-notifier (only line with python3)

        In the same ps -ef output, searched for copy, with no result. Searched for kworker, and got 18 lines, all belonging to root.

        Back to top, while computer was doing nothing: no application showed more than 1.3%CPU.

        Like suspected, python3 consumes almost 100%CPU. And it seems it does this when transferring information: update check, downloads, copying files from the internal HD to an external one, on some web sites (not all, just some, maybe those asking for location information from my computer).

        Did reinstall all installed packages appearing in Muon Package Manager when searching with python3. Only the "rebuilding search index" busted the temperature and the fan far above normal. Did restart the laptop, but no change.

        Did reinstall Jupiter, than reboot, and... HURAH !!! The picks in the temperature diagrams disappear, temperature doesn't boost abnormally anymore (checked with Muon Update Manager). Everything seems to be back to normal. Will test it tomorrow, pushing it more (web, downloads, file transfers, etc.) and will confirm if all OK. In the meantime will also reinstall Jupiter on the netbook (just to be sure all is right with the baby-comp too).

        Steve, thanks again,
        Last edited by aria; Apr 01, 2015, 02:25 PM.
        aria

        Comment


          #5
          Originally posted by aria View Post
          Belonging to the user: python /usr/bin/jupiter (jupiter shouldn't be an issue, same line appeared on my netbook too, and the netbook doesn't heat like the laptop)
          Jupiter is -- or rather was -- a power management utility somewhat popular a few years ago. It is no longer maintained; you probably should remove it because it likely interferes with more modern power management utilities. I like TLP a lot; it consolidates many settings into a single well-documented text file.

          Originally posted by aria View Post
          Belonging to root: /usr/bin/python /usr/share/apt-xapian-ind (not sure if this is the whole line, because sometimes it came shorter, like .../apt-x)
          This is most likely the cause. Xapian is a search engine. Muon stores information about packages in a Xapian database. I've seen instances of where Xapian can throw CPU utilization through the roof when it's indexing files and packages -- which is exactly what's happening whenever you use Muon.

          Originally posted by aria View Post
          Did reinstall all installed packages appearing in Muon Package Manager when searching with python3. Only the "rebuilding search index" busted the temperature and the fan far above normal.
          Confirms my suspicion.

          I have a hunch about the cause. First, what's the output of
          Code:
          steve@t520:~$ grep . /sys/block/sd*/queue/scheduler
          Second, what kind of drive(s) is/are in your machine -- only SSD, only spinning rust, or both? If both, which drive (by sdX) is which?

          Comment


            #6
            Steve, reinstalling Jupiter (from downloaded file) fixed the overheating issue. I can confirm it again, after really pushing the computer today: all works just like before python3 updated. For sure it happened so because Jupiter is discontinued and new python3 issues are not made to take it into account. But reinstalling it reestablished the dialogue. Gave TLP a trial several months ago, but totally disliked it (confirmed my previously bad experience with Lenovo products).

            I also use another discontinued app: k9copy. Just by caution, did reinstall this too, reading about python3 to be related to some sound and video aspects (libraries, aps, etc.).

            As for xapian, since 14.04.1 had no more issues with heating during indexing. Had in 12.04, but not critical, and in the first release of 14.04 (if xapian was related to baloo). But no more issues since 14.04.1.

            So, things are fixed now. Thank you very much for pointing me to ps -ef (believe python /usr/bin/jupiter was the issue).
            Bests,
            aria

            Comment

            Working...
            X