MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. juergschwarz
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    juergschwarz

    @juergschwarz

    0
    Reputation
    417
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    juergschwarz Unfollow Follow

    Latest posts made by juergschwarz

    • RE: MM is eating all memory and crash!

      @yawns Thanks. But last “overnight” test with only original config.js also crashed with stretch. So now a new test with jessie looks much better. Including pi-hole. It runs since 22 mins and 47% free ram. :-)

      posted in Troubleshooting
      J
      juergschwarz
    • RE: MM is eating all memory and crash!

      @all Ok sorry. Now my realy newest installation on Raspi 3 stretch wiht realy original config.js and no additional modules or other changes:

      pi@raspi32:~/MagicMirror $ npm ls | grep electron
      ├─┬ electron@1.7.9
      │ ├─┬ electron-download@3.3.0
      │ ├─┬ electron-chromedriver@1.6.0
      │ │ ├── electron-download@3.3.0 deduped
      │ │ │ └── electron-to-chromium@1.3.27
      
      PageSize:4KB     RAM-Memory  Swap-space     High-Memory     Low-Memory                                    │
      │ Total in MB           927.3       100.0     - not in use   - not in use                                   │
      │ Free  in MB           424.9       100.0                                                                   │
      │ Free Percent           45.8%      100.0%                                                                  │
      │ Linux Kernel Internal Memory (MB)                                                                         │
      │                        Cached=     254.6     Active=     259.0                                            │
      │ Buffers=      36.2 Swapcached=       0.0  Inactive =     203.0                                            │
      │ Dirty  =       0.1 Writeback =       0.0  Mapped   =     147.6                                            │
      │ Slab   =      25.3 Commit_AS =    1412.1 PageTables=       4.6                                            │
      │ Top Processes Procs=161-mode=3-1=Base 3=Perf 4=Size 5=I/O[RootOnly] u=Args────────────────────────────────│
      │  PID    %CPU  Size   Res   Res   Res   Res Shared   Faults  Command                                       │
      │          Used    KB   Set  Text  Data   Lib    KB  Min  Maj                                               │
      │     922 354.8   297m   98m52660   131m    0 56268  249    0 electron                                      │
      │     928   5.4   295m69924 52660   143m    0 48540  111    0 electron                                      │
      │     865   4.4   454m85120 52660   297m    0 58716    0    0 electron                                      │
      │     896   2.0  6156  3828   156  3572     0  1572    0    0 nmon                                          │
      │     521   1.5   134m43540  1896 62820     0 21740    0    0 Xorg        
      

      Now i will check it out with jessie :-(

      posted in Troubleshooting
      J
      juergschwarz
    • RE: MM is eating all memory and crash!

      @Mykle1 Yes i read it. All of this suggestions i already checked out. If you tell me to test standard installation whitout any additional modules - what the hell do all this people building such modules when i only can use standard modules?

      Dont misunderstand me. But i manage two root servers with kvm - lvm and aprox. 30 official domains and nearly 200 email accounts. Longest uptime was 772 days. Nobody can tell me a application with black background and some “only text foreground apps” should not be able to run more than 2 hours or not?

      posted in Troubleshooting
      J
      juergschwarz
    • RE: MM is eating all memory and crash!

      @Mykle1 With Rasp 3 i checked again with this six modules on 1. thread. Whitch Raspi .iso do you guy use for MM? Maybee i should install all things manual instead of this automatic installation? Memory leak not possible couse of Raspi 2 was the same issue and 2 different SD Cards.

      posted in Troubleshooting
      J
      juergschwarz
    • RE: MM is eating all memory and crash!

      Now i changed to Raspberry 3. After 2h system crashed. 4MB memory left.

      This is my sylog

      Nov 9 22:03:06 raspi32 kernel: [ 5458.473560] Out of memory: Kill process 880 (electron) score 948 or sacrifice child
      Nov 9 22:03:06 raspi32 kernel: [ 5458.473695] Killed process 880 (electron) total-vm:981380kB, anon-rss:671832kB, file-rss:104kB, shmem-rss:7180kB
      Nov 9 22:05:58 raspi32 systemd[1]: Started Session c4 of user pi.

      This is not realy what i can use. I dont like to change to debian 8.

      posted in Troubleshooting
      J
      juergschwarz
    • RE: MM is eating all memory and crash!

      Is anyone able to show me a list of used modules, memory and uptime ?

      posted in Troubleshooting
      J
      juergschwarz
    • MM is eating all memory and crash!

      Now after two weeks, two different SD Cards and two totaly separated new installations i am at the end of my brain.

      Raspberry 2 B+ with latest stretch

      First i had to downgrade electron to 1.4.15 couse of high cpu usage (over 300%) and stocking seconds on screen in clock module. Like 21…25…35… till nothing anymore.

      Now i am checking my ram usage. With maybee 6 modules like
      clock
      weather
      weatherforecast
      MMM-cryptocurrency.git
      MMM-swisstransport.git
      MMM-pihole-stats.git

      my MM is running only 2 or 3 hours. After that my memory is less than 13% or apr. 100MB free i got the same problem as above.

      Now i check same problem with only 3 standard module. Since last 12h my memory decreased from 50% free to 28% now and counting down.

      What the hell can i do?

      posted in Troubleshooting
      J
      juergschwarz