Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Javascript adapter stürzt ab

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Javascript adapter stürzt ab

    This topic has been deleted. Only users with topic management privileges can see it.
    • Segway
      Segway last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC
      Arbeitsspeicher: 8GB testweise 14Gb
      Festplattenart: SSD
      Betriebssystem: Debian
      Node-Version: 18.19.0
      Nodejs-Version: 10.2.3
      NPM-Version: 18.19.0
      Installationsart: Skript

      Seit heute habe ich das Problem dass der Javascript Adapter über 1Gb an Sam zieht und dann abstürzt:
      0b8a5620-3fbc-441e-8e98-6a961e7e165c-image.png

      Ich frag mich was da los ist ? Habe nichts geändert auch kein neues Script eingefügt und dann kommt sowas hier:

      instance system.adapter.javascript.0 terminated due to SIGABRT
      

      Wenn noch etwas benötigt wird bitte sagen, im Moment weiss ich nciht was los ist.

      Hier das Log:

      host.IoB
      	2024-01-09 20:01:08.939	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
      host.IoB
      	2024-01-09 20:01:08.939	error	Caught by controller[17]: 17: 0x170dfb9 [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[16]: 16: 0xdf4fe6 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[15]: 15: 0x1054e9f v8::internal::JsonParser<unsigned char>::ParseJson() [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[14]: 14: 0x105430e v8::internal::JsonParser<unsigned char>::ParseJsonValue() [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[13]: 13: 0x104d379 v8::internal::JsonParser<unsigned char>::BuildJsonArray(v8::internal::JsonParser<unsigned char>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[12]: 12: 0xf26692 v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[11]: 11: 0xf26425 v8::internal::Factory::NewJSArrayWithUnverifiedElements(v8::internal::Handle<v8::internal::FixedArrayBase>, v8::internal::ElementsKind, int, v8::internal::AllocationType) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[10]: 10: 0xf25dac v8::internal::Factory::NewJSObjectFromMap(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[9]: 9: 0xf1b552 v8::internal::Factory::AllocateRawWithAllocationSite(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[8]: 8: 0xf3ab57 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[7]: 7: 0xf3978e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[6]: 6: 0xf5f08d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[5]: 5: 0xf4cba5 [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[4]: 4: 0xd6f697 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[3]: 3: 0xd6f2f0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[2]: 2: 0xa9a7f8 [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.938	error	Caught by controller[1]: 1: 0xb95b60 node::Abort() [io.javascript.0]
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: <--- JS stacktrace --->
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: [4294:0x5ae3870] 49223 ms: Scavenge 2032.1 (2076.7) -> 2031.4 (2098.9) MB, 1011.7 / 0.0 ms (average mu = 0.615, current mu = 0.362) allocation failure;
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: [4294:0x5ae3870] 48210 ms: Scavenge 2031.4 (2075.7) -> 2031.8 (2076.7) MB, 14.0 / 0.0 ms (average mu = 0.615, current mu = 0.362) allocation failure;
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: [4294:0x5ae3870] 48167 ms: Scavenge 2024.6 (2064.7) -> 2024.4 (2075.7) MB, 9.0 / 0.0 ms (average mu = 0.615, current mu = 0.362) allocation failure;
      host.IoB
      	2024-01-09 20:01:08.937	error	Caught by controller[0]: <--- Last few GCs --->
      
      arteck paul53 Glasfaser 3 Replies Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @Segway last edited by

        @segway zeigmal
        2b41e2ba-4e4e-4a20-8e6e-65ce48fdb0a4-grafik.png

        und im LOG die 10 Zeilen die unter dem

        2024-01-09 20:01:08.937	error	Caught by controller[0]: <--- Last few GCs --->
        

        stehen

        1 Reply Last reply Reply Quote 0
        • Segway
          Segway last edited by Segway

          @arteck sagte in Javascript adapter stürzt ab:

          @segway zeigmal
          1e8d2d67-ad0d-4710-bf92-694df840c299-image.png

          und im LOG die 10 Zeilen die unter dem

          javascript.0
          	2024-01-09 20:01:55.247	info	requesting all objects
          javascript.0
          	2024-01-09 20:01:55.228	info	requesting all states
          javascript.0
          	2024-01-09 20:01:40.525	info	starting. Version 7.1.6 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.19.0, js-controller: 5.0.17
          host.IoB
          	2024-01-09 20:01:39.066	info	instance system.adapter.javascript.0 started with pid 4341
          host.IoB
          	2024-01-09 20:01:08.939	info	Restart adapter system.adapter.javascript.0 because enabled
          host.IoB
          	2024-01-09 20:01:08.939	info	instance system.adapter.javascript.0 terminated with code null ()
          host.IoB
          	2024-01-09 20:01:08.939	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
          host.IoB
          	2024-01-09 20:01:08.939	error	Caught by controller[17]: 17: 0x170dfb9 [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[16]: 16: 0xdf4fe6 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[15]: 15: 0x1054e9f v8::internal::JsonParser<unsigned char>::ParseJson() [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[14]: 14: 0x105430e v8::internal::JsonParser<unsigned char>::ParseJsonValue() [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[13]: 13: 0x104d379 v8::internal::JsonParser<unsigned char>::BuildJsonArray(v8::internal::JsonParser<unsigned char>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[12]: 12: 0xf26692 v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[11]: 11: 0xf26425 v8::internal::Factory::NewJSArrayWithUnverifiedElements(v8::internal::Handle<v8::internal::FixedArrayBase>, v8::internal::ElementsKind, int, v8::internal::AllocationType) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[10]: 10: 0xf25dac v8::internal::Factory::NewJSObjectFromMap(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[9]: 9: 0xf1b552 v8::internal::Factory::AllocateRawWithAllocationSite(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
          host.IoB
          	2024-01-09 20:01:08.938	error	Caught by controller[8]: 8: 0xf3ab57 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
          
          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Segway last edited by

            @segway sagte: Javascript Adapter über 1Gb an Sam zieht und dann abstürzt:

            Das sieht nach Endlosschleife oder Trigger im Trigger aus.

            Segway 1 Reply Last reply Reply Quote 1
            • Segway
              Segway @paul53 last edited by

              @paul53 sagte in Javascript adapter stürzt ab:

              @segway sagte: Javascript Adapter über 1Gb an Sam zieht und dann abstürzt:

              Das sieht nach Endlosschleife oder Trigger im Trigger aus.

              Und woher und warum auf einmal ? Habe nichts angefasst.

              1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Segway last edited by

                @segway sagte in Javascript adapter stürzt ab:

                Seit heute habe ich das Problem dass der Javascript Adapter über 1Gb an Sam zieht und dann abstürzt:

                danach mal ein Neustart deines Systems durchgeführt ... was ist dann !?

                Segway 1 Reply Last reply Reply Quote 0
                • Segway
                  Segway @Glasfaser last edited by

                  @glasfaser sagte in Javascript adapter stürzt ab:

                  @segway sagte in Javascript adapter stürzt ab:

                  Seit heute habe ich das Problem dass der Javascript Adapter über 1Gb an Sam zieht und dann abstürzt:

                  danach mal ein Neustart deines Systems durchgeführt ... was ist dann !?

                  Schon 3x gemacht ... immer dasgleiche (leider).
                  Ich spiele jetzt das backup von heute Nacht ein da es mein Prod-System ist.

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Segway last edited by

                    @segway sagte in Javascript adapter stürzt ab:

                    Ich spiele jetzt das backup von heute Nacht ein da es mein Prod-System ist.

                    Stop ,
                    hast du den Fehler jetzt noch !?

                    Dann bitte einmal

                    iob diag
                    

                    zeigen ,
                    mich würde dazu zb. die jsonl interessieren

                    Segway 2 Replies Last reply Reply Quote 0
                    • Segway
                      Segway @Glasfaser last edited by

                      @glasfaser sagte in Javascript adapter stürzt ab:

                      @segway sagte in Javascript adapter stürzt ab:

                      Ich spiele jetzt das backup von heute Nacht ein da es mein Prod-System ist.

                      Stop ,
                      hast du den Fehler jetzt noch !?

                      Dann bitte einmal

                      iob diag
                      

                      zeigen ,
                      mich würde dazu zb. die jsonl interessieren

                      Sorry zu spät. Wie gesagt ist mein Prod.-System.
                      Ich denke aber es liegt an diesem Issue hier weil auch die Influx Instanz ne Macke zeigt und die Influx VM ebenso auf 100% steigt.
                      Ich hoffe das wird kurzfristig gelöst !

                      Hier

                      1 Reply Last reply Reply Quote 0
                      • Segway
                        Segway @Glasfaser last edited by Segway

                        @glasfaser sagte in Javascript adapter stürzt ab:

                        > iob diag
                        

                        Hätte ich auch nicht machen können da ich bei 100% CPU und 100% RAM Auslastung mich nciht mehr mit der Konsole verbinden kann geschweige denn einen Befehl absetzen kann.

                        Segway 1 Reply Last reply Reply Quote 0
                        • Segway
                          Segway @Segway last edited by

                          Nach backup einspielen alles wieder gut !
                          36ad4f1e-3e99-4425-962f-675e793502ad-image.png

                          Keine Ahnung was da los war ???
                          Übrigens hatte ich noch gesehen obwohl die js Instanz offline war die Admin Adapter Instanz auch sich locker 1Gb Sam reingezogen hat.

                          Glasfaser 2 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @Segway last edited by

                            @segway sagte in Javascript adapter stürzt ab:

                            Nach backup einspielen alles wieder gut !

                            Dann zeige mal jetzt

                            iob diag
                            
                            Segway 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Segway last edited by

                              @segway

                              Ich spiele jetzt das backup von heute Nacht ein da es mein Prod-System ist.

                              Nach backup einspielen alles wieder gut !

                              Das waren gerade mal 23 Minuten und das mit einem BackitUp ( Restore ) !?

                              Segway 1 Reply Last reply Reply Quote 0
                              • Segway
                                Segway @Glasfaser last edited by

                                @glasfaser sagte in Javascript adapter stürzt ab:

                                Das waren gerade mal 23 Minuten und das mit einem BackitUp ( Restore ) !?

                                Was meinst du jetzt ? Ist das gut oder schlecht ?
                                Es war nicht backitup sondern ich hab das Promox VM Backup zurückgespielt

                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • Segway
                                  Segway @Glasfaser last edited by

                                  @glasfaser sagte in Javascript adapter stürzt ab:

                                  @segway sagte in Javascript adapter stürzt ab:

                                  Nach backup einspielen alles wieder gut !

                                  Dann zeige mal jetzt

                                  iob diag
                                  

                                  Bitte schön 🙂

                                  ======================= SUMMARY =======================
                                  			v.2023-10-10
                                  
                                  
                                   Static hostname: IoB
                                         Icon name: computer-vm
                                           Chassis: vm 🖴
                                    Virtualization: kvm
                                  Operating System: Debian GNU/Linux 12 (bookworm)
                                            Kernel: Linux 6.1.0-17-amd64
                                      Architecture: x86-64
                                   Hardware Vendor: QEMU
                                    Hardware Model: Standard PC _i440FX + PIIX, 1996_
                                  Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
                                  
                                  Installation: 		kvm
                                  Kernel: 		x86_64
                                  Userland: 		amd64
                                  Timezone: 		Europe/Berlin (CET, +0100)
                                  User-ID: 		1000
                                  X-Server: 		false
                                  Boot Target: 		graphical.target
                                  
                                  Pending OS-Updates: 	0
                                  Pending iob updates: 	1
                                  
                                  Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
                                  			/usr/bin/node 		v18.19.0
                                  			/usr/bin/npm 		10.2.3
                                  			/usr/bin/npx 		10.2.3
                                  			/usr/bin/corepack 	0.22.0
                                  
                                  Recommended versions are nodejs 18.19.0 and npm 10.2.3
                                  Your nodejs installation is correct
                                  
                                  MEMORY: 
                                                 total        used        free      shared  buff/cache   available
                                  Mem:            8.3G        3.2G        4.6G        569K        746M        5.1G
                                  Swap:           1.0G          0B        1.0G
                                  Total:          9.3G        3.2G        5.7G
                                  
                                  Active iob-Instances: 	34
                                  Active repo(s): Stable (default)
                                  
                                  ioBroker Core: 		js-controller 		5.0.17
                                  			admin 			6.12.0
                                  
                                  ioBroker Status: 	iobroker is running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: redis
                                  
                                  Status admin and web instance:
                                  + system.adapter.admin.0                  : admin                 : IoB                                      -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  + system.adapter.web.0                    : web                   : IoB                                      -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                  
                                  Objects: 		49236
                                  States: 		34083
                                  
                                  Size of iob-Database:
                                  
                                  47M	/opt/iobroker/iobroker-data/objects.jsonl
                                  21M	/opt/iobroker/iobroker-data/objects.json.migrated
                                  21M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                  8.0M	/opt/iobroker/iobroker-data/objects.json.broken
                                  21M	/opt/iobroker/iobroker-data/states.json.bak
                                  21M	/opt/iobroker/iobroker-data/states.json
                                  
                                  
                                  
                                  =================== END OF SUMMARY ====================
                                  
                                  Glasfaser 2 Replies Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Segway last edited by Glasfaser

                                    @segway

                                    Mit einem Snapshot´s schleppst du Fehler mit !

                                    1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @Segway last edited by

                                      @segway

                                      Die Summary sagt nicht viel aus !
                                      Ich würde es jetzt beobachten ob es mit diesem Backup (Snapshot ) wieder der Fehler kommt .

                                      Segway 1 Reply Last reply Reply Quote 0
                                      • Segway
                                        Segway @Glasfaser last edited by

                                        @glasfaser sagte in Javascript adapter stürzt ab:

                                        @segway

                                        Die Summary sagt nicht viel aus !
                                        Ich würde es jetzt beobachten ob es mit diesem Backup (Snapshot ) wieder der Fehler kommt .

                                        Ja genau das werde ich beobachten.

                                        Frage noch:
                                        Auch wenn ich mit backitup das backup machen würde so würde ich einen Fehler doch mit schleppen beim zurückspielen oder nicht ?

                                        Glasfaser 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Segway last edited by

                                          @segway sagte in Javascript adapter stürzt ab:

                                          States type: redis

                                          Seit wann hast du Redis ...
                                          ich würde auch das mal beobachen ( VM Redis-Server )

                                          Segway 1 Reply Last reply Reply Quote 0
                                          • Segway
                                            Segway @Glasfaser last edited by Segway

                                            @glasfaser sagte in Javascript adapter stürzt ab:

                                            @segway sagte in Javascript adapter stürzt ab:

                                            States type: redis

                                            Seit wann hast du Redis ...
                                            ich würde auch das mal beobachen ( VM Redis-Server )

                                            Das wurde mir vor sehr langer Zeit mal empfohlen, seitdem habe ich es. Der läuft aber auf dem Iobroker.

                                            Glasfaser 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            921
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            41
                                            1332
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo