{"action":"created","issue":{"url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/619","labels_url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/619/comments","events_url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/619/events","html_url":"https://github.com/ChicagoBoss/ChicagoBoss/issues/619","id":108830011,"number":619,"title":"Mnesia crash ","user":{"login":"huanchuanjian","id":1667892,"avatar_url":"https://avatars.githubusercontent.com/u/1667892?v=3","gravatar_id":"","url":"https://api.github.com/users/huanchuanjian","html_url":"https://github.com/huanchuanjian","followers_url":"https://api.github.com/users/huanchuanjian/followers","following_url":"https://api.github.com/users/huanchuanjian/following{/other_user}","gists_url":"https://api.github.com/users/huanchuanjian/gists{/gist_id}","starred_url":"https://api.github.com/users/huanchuanjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huanchuanjian/subscriptions","organizations_url":"https://api.github.com/users/huanchuanjian/orgs","repos_url":"https://api.github.com/users/huanchuanjian/repos","events_url":"https://api.github.com/users/huanchuanjian/events{/privacy}","received_events_url":"https://api.github.com/users/huanchuanjian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-29T09:22:54Z","updated_at":"2015-10-12T04:01:07Z","closed_at":null,"body":"Our login server based on cb, we use mnesia, we meet one problem, below is error log\r\n\r\n```\r\n2015-09-29 11:12:18.577 [error] <0.117.0> CRASH REPORT Process <0.117.0> with 0 neighbours exited with reason: {failed,{error,{file_error,\"/home/longtu/ErlServer/gateway/mnesia/PREVIOUS.LOG\",enoent}}} in disk_log:reopen/2 in disk_log:do_exit/4 line 1188\r\n2015-09-29 11:12:18.578 [error] <0.105.0> Supervisor disk_log_sup had child disk_log started with {disk_log,istart_link,undefined} at <0.117.0> exit with reason {failed,{error,{file_error,\"/home/longtu/ErlServer/gateway/mnesia/PREVIOUS.LOG\",enoent}}} in disk_log:reopen/2 in context child_terminated\r\n2015-09-29 11:12:18.637 [error] <0.93.0> Mnesia('master@192.168.80.102'): ** ERROR ** (core dumped to file: \"/home/longtu/ErlServer/gateway/MnesiaCore.master@192.168.80.102_1443_496338_616843\")\r\n ** FATAL ** {error,{\"Cannot rename disk_log file\",latest_log,\"/home/longtu/ErlServer/gateway/mnesia/PREVIOUS.LOG\",{log_header,trans_log,\"4.3\",\"4.12.4\",'master@192.168.80.102',{1443,496338,568410}},{file_error,\"/home/longtu/ErlServer/gateway/mnesia/PREVIOUS.LOG\",enoent}}}\r\n\r\n2015-09-29 11:12:28.617 [error] <0.93.0> Mnesia('master@192.168.80.102'): ** ERROR ** mnesia_event got unexpected event: {'EXIT',<0.96.0>,killed}\r\n\r\n2015-09-29 11:12:28.617 [error] <0.93.0> CRASH REPORT Process mnesia_event with 0 neighbours exited with reason: killed in gen_event:terminate_server/4 line 302\r\n2015-09-29 11:12:28.618 [error] <0.90.0> CRASH REPORT Process <0.90.0> with 0 neighbours exited with reason: killed in application_master:terminate/2 line 227\r\n2015-09-29 11:13:30.141 [error] <0.205.0> gen_server lib_game terminated with reason: {aborted,{no_exists,[server,1]}} in mnesia:abort/1 line 310\r\n2015-09-29 11:13:30.142 [error] <0.205.0> CRASH REPORT Process lib_game with 0 neighbours exited with reason: {aborted,{no_exists,[server,1]}} in gen_server:terminate/7 line 804\r\n2015-09-29 11:13:30.142 [error] <0.55.0> Supervisor boss_sup had child lib_game started with lib_game:start_link() at <0.205.0> exit with reason {aborted,{no_exists,[server,1]}} in context child_terminated\r\n2015-09-29 11:33:00.768 [error] <0.147.0> gen_server <0.147.0> terminated with reason: {aborted,{no_exists,account,attributes}} in mnesia:abort/1 line 310\r\n2015-09-29 11:33:00.768 [error] <0.147.0> CRASH REPORT Process <0.147.0> with 0 neighbours exited with reason: {aborted,{no_exists,account,attributes}} in gen_server:terminate/7 line 804\r\n2015-09-29 11:33:00.768 [error] <0.142.0> Supervisor {<0.142.0>,poolboy_sup} had child boss_db_controller started with {boss_db_controller,start_link,undefined} at <0.147.0> exit with reason {aborted,{no_exists,account,attributes}} in context child_terminated\r\n```\r\n\r\nAnybody meet this problem? \r\n\r\nSimilar prolem in RabbitMQ: \r\n\r\nhttp://comments.gmane.org/gmane.comp.networking.rabbitmq.general/28794\r\n\r\nhttp://comments.gmane.org/gmane.comp.networking.rabbitmq.general/21366\r\n"},"comment":{"url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/comments/147286541","html_url":"https://github.com/ChicagoBoss/ChicagoBoss/issues/619#issuecomment-147286541","issue_url":"https://api.github.com/repos/ChicagoBoss/ChicagoBoss/issues/619","id":147286541,"user":{"login":"mihawk","id":916808,"avatar_url":"https://avatars.githubusercontent.com/u/916808?v=3","gravatar_id":"","url":"https://api.github.com/users/mihawk","html_url":"https://github.com/mihawk","followers_url":"https://api.github.com/users/mihawk/followers","following_url":"https://api.github.com/users/mihawk/following{/other_user}","gists_url":"https://api.github.com/users/mihawk/gists{/gist_id}","starred_url":"https://api.github.com/users/mihawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihawk/subscriptions","organizations_url":"https://api.github.com/users/mihawk/orgs","repos_url":"https://api.github.com/users/mihawk/repos","events_url":"https://api.github.com/users/mihawk/events{/privacy}","received_events_url":"https://api.github.com/users/mihawk/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T04:01:07Z","updated_at":"2015-10-12T04:01:07Z","body":"i think you better ask on erlang mailling list, you will have better answer."}}