rosetta-home / brood

Cloud backend for RosettaHome devices
9 stars 5 forks source link

MongoDB crash #1

Open AKstudios opened 6 years ago

AKstudios commented 6 years ago

MongoDB randomly crashes on standalone installations of brood where data is saved locally.

entone commented 6 years ago

Can you provide crash dump or screen capture of the logs?

AKstudios commented 6 years ago

here is a dump of the logs when it crashed:

May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: 
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: 20:40:10.700 [error] GenServer #PID<0.10538.128> terminating
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: ** (stop) exited in: :gen_server.call(#PID<0.10538.128>, {:checkout, #Reference<0.4114941423.1182793729.250729>, true, 5000}, 5000)
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]:     ** (EXIT) time out
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: Last message: []
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: State: {Mongo.Protocol, %{connection_type: :monitor, database: "admin", host: "mongodb:27017", request_id: 0, socket: {:gen_tcp, #Port<0.24104>}, ssl: false, timeout: 5000, topology_pid: #PID<0.10533.128>, wire_version: 5, write_concern: %{w: 1}}}
May 29 15:40:10 berg-pc 3a3905fa8c54[8195]: 
May 29 15:40:11 berg-pc 0adf0dc3b4e2[8195]: 2018-05-29T20:40:11.392+0000 I NETWORK  [thread1] connection accepted from 172.18.0.6:55355 #45 (10 connections now open)
May 29 15:40:11 berg-pc 0adf0dc3b4e2[8195]: 2018-05-29T20:40:11.392+0000 I NETWORK  [thread1] connection accepted from 172.18.0.6:56423 #46 (11 connections now open)
May 29 15:40:11 berg-pc 031f645d7fc8[8195]: [httpd] 172.18.0.6 - - [29/May/2018:20:40:11 +0000] "POST /write?db=brood&rp=realtime_inf HTTP/1.1" 204 0 "-" "hackney/1.8.6" 7b5269ec-6380-11e8-b7a8-000000000000 369132
May 29 15:40:11 berg-pc 031f645d7fc8[8195]: [httpd] 172.18.0.6 - - [29/May/2018:20:40:11 +0000] "POST /write?db=brood&rp=realtime_inf HTTP/1.1" 204 0 "-" "hackney/1.8.6" 7b66c263-6380-11e8-b7aa-000000000000 247909
May 29 15:40:11 berg-pc 031f645d7fc8[8195]: [httpd] 172.18.0.6 - - [29/May/2018:20:40:10 +0000] "POST /write?db=brood&rp=realtime_inf HTTP/1.1" 204 0 "-" "hackney/1.8.6" 7b39f40e-6380-11e8-b79c-000000000000 541892