nut icon indicating copy to clipboard operation
nut copied to clipboard

Nut is killed with no useful error message

Open douglaslps opened this issue 3 years ago • 5 comments

I'm running nut inside a docker container and for some reason, it is looping loading titles and showing a Killed error with no additional details of the actual failure. You can see the logs below. I have the impression that this might be disk space-related, but I couldn't prove it yet. Any help is appreciated.

loading blacklist /nut/conf/blacklist.online.txt
could not load keys.txt, all crypto operations will fail
loaded user guest
                        ,;:;;,
                       ;;;;;
               .=',    ;:;;:,
              /_', "=. ';:;:;
              @=:__,  \,;:;:'
                _(\.=  ;:;;'
               `"_(  _/="`
                `"'
downloading titledb files

  0% 0.00/42.3M [00:00<?, ?B/s]
  2% 1.05M/42.3M [00:00<00:04, 8.63MB/s]
  7% 3.15M/42.3M [00:00<00:04, 9.08MB/s]
 10% 4.19M/42.3M [00:00<00:04, 9.18MB/s]
 15% 6.29M/42.3M [00:00<00:03, 10.2MB/s]
 20% 8.39M/42.3M [00:00<00:03, 11.1MB/s]
 25% 10.5M/42.3M [00:00<00:02, 11.3MB/s]
 30% 12.6M/42.3M [00:01<00:02, 10.1MB/s]
 37% 15.7M/42.3M [00:01<00:02, 11.1MB/s]
 42% 17.8M/42.3M [00:01<00:02, 11.2MB/s]
 47% 19.9M/42.3M [00:02<00:03, 6.64MB/s]
 50% 21.0M/42.3M [00:02<00:05, 4.14MB/s]
 52% 22.0M/42.3M [00:03<00:06, 3.07MB/s]
 54% 23.1M/42.3M [00:03<00:07, 2.47MB/s]
 57% 24.1M/42.3M [00:04<00:08, 2.07MB/s]
 59% 25.2M/42.3M [00:05<00:09, 1.83MB/s]
 62% 26.2M/42.3M [00:05<00:08, 1.81MB/s]
 64% 27.3M/42.3M [00:05<00:06, 2.39MB/s]
 67% 28.3M/42.3M [00:06<00:05, 2.52MB/s]
 69% 29.4M/42.3M [00:06<00:05, 2.57MB/s]
 74% 31.5M/42.3M [00:06<00:03, 3.28MB/s]
 77% 32.5M/42.3M [00:07<00:02, 3.68MB/s]
 84% 35.7M/42.3M [00:07<00:01, 4.59MB/s]
 89% 37.7M/42.3M [00:07<00:00, 5.97MB/s]
 94% 39.8M/42.3M [00:07<00:00, 6.20MB/s]
 97% 40.9M/42.3M [00:08<00:00, 5.90MB/s]
 99% 41.9M/42.3M [00:08<00:00, 6.02MB/s]
                                        
could not get title id from filename, name needs to contain [titleId] : titledb/db.nza
unknown extension titledb/db.nza
loaded titledb/BG.en.json in 2.4284146379795857 seconds
loaded titledb/BR.en.json in 1.9166137750144117 seconds
loaded titledb/BR.pt.json in 5.507364007004071 seconds
Killed

Done.
-------------------------------------

[cont-init.d] 03-update-titledb: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
loading blacklist /nut/conf/blacklist.online.txt
could not load keys.txt, all crypto operations will fail
loaded user guest
                        ,;:;;,
                       ;;;;;
               .=',    ;:;;:,
              /_', "=. ';:;:;
              @=:__,  \,;:;:'
                _(\.=  ;:;;'
               `"_(  _/="`
                `"'
downloading titledb files

  0% 0.00/42.3M [00:00<?, ?B/s]
  2% 1.05M/42.3M [00:00<00:05, 6.90MB/s]
  5% 2.10M/42.3M [00:00<00:05, 6.86MB/s]
 10% 4.19M/42.3M [00:00<00:04, 7.87MB/s]
 15% 6.29M/42.3M [00:00<00:04, 8.37MB/s]
 20% 8.39M/42.3M [00:00<00:03, 8.98MB/s]
 25% 10.5M/42.3M [00:01<00:03, 8.33MB/s]
 32% 13.6M/42.3M [00:01<00:02, 10.5MB/s]
 37% 15.7M/42.3M [00:01<00:02, 10.8MB/s]
 42% 17.8M/42.3M [00:01<00:02, 10.8MB/s]
 47% 19.9M/42.3M [00:01<00:02, 11.2MB/s]
 52% 22.0M/42.3M [00:02<00:02, 7.37MB/s]
 54% 23.1M/42.3M [00:02<00:03, 6.07MB/s]
 57% 24.1M/42.3M [00:02<00:03, 5.12MB/s]
 59% 25.2M/42.3M [00:03<00:03, 4.38MB/s]
 62% 26.2M/42.3M [00:03<00:04, 3.82MB/s]
 64% 27.3M/42.3M [00:03<00:04, 3.40MB/s]
 67% 28.3M/42.3M [00:04<00:04, 3.05MB/s]
 69% 29.4M/42.3M [00:04<00:04, 2.76MB/s]
 72% 30.4M/42.3M [00:05<00:04, 2.56MB/s]
 74% 31.5M/42.3M [00:05<00:04, 2.57MB/s]
 77% 32.5M/42.3M [00:06<00:03, 2.53MB/s]
 79% 33.6M/42.3M [00:06<00:03, 2.85MB/s]
 82% 34.6M/42.3M [00:06<00:02, 3.08MB/s]
 84% 35.7M/42.3M [00:06<00:01, 3.35MB/s]
 87% 36.7M/42.3M [00:07<00:01, 3.78MB/s]
 89% 37.7M/42.3M [00:07<00:01, 3.97MB/s]
 92% 38.8M/42.3M [00:07<00:00, 4.35MB/s]
 94% 39.8M/42.3M [00:07<00:00, 4.44MB/s]
 97% 40.9M/42.3M [00:08<00:00, 4.33MB/s]
 99% 41.9M/42.3M [00:08<00:00, 4.55MB/s]
                                        
could not get title id from filename, name needs to contain [titleId] : titledb/db.nza
unknown extension titledb/db.nza
loaded titledb/BG.en.json in 2.8233920100028627 seconds
loaded titledb/BR.en.json in 2.719140698987758 seconds
loaded titledb/BR.pt.json in 8.48986075699213 seconds
./run: line 8:   274 Killed                  s6-setuidgid nut /usr/local/bin/python /nut/nut.py --scan --server
loading blacklist /nut/conf/blacklist.online.txt
...

douglaslps avatar Feb 07 '22 19:02 douglaslps

titledb (and conf) folder needs to be writeable/a mount

bd82aa5c1aaecdb2559d avatar Feb 08 '22 03:02 bd82aa5c1aaecdb2559d

titledb (and conf) folder needs to be writeable/a mount

They both are. I see new content on the titledb directory. Including the files mentioned in the logs (like BG.en.json).

douglaslps avatar Feb 08 '22 11:02 douglaslps

@douglaslps could you please provide your docker file?

introkun avatar Feb 20 '22 17:02 introkun

I'm running it on Portainer (on top of OpenMediaVault) and I don't really have a docker file :( Sorry.

douglaslps avatar Feb 21 '22 11:02 douglaslps

Killed is generally when you are running out of memory and the linux OOM Killer killed it to free some memory. You should see logs in /var/log/syslog of with the dmesg command

BestPig avatar Mar 13 '22 17:03 BestPig