{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/9774","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/9774/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/9774/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/9774/events","html_url":"https://github.com/influxdata/influxdb/issues/9774","id":317552821,"node_id":"MDU6SXNzdWUzMTc1NTI4MjE=","number":9774,"title":"Influx restart service : write snapshot failed: file too large","user":{"login":"TokajiF","id":35221335,"node_id":"MDQ6VXNlcjM1MjIxMzM1","avatar_url":"https://avatars0.githubusercontent.com/u/35221335?v=4","gravatar_id":"","url":"https://api.github.com/users/TokajiF","html_url":"https://github.com/TokajiF","followers_url":"https://api.github.com/users/TokajiF/followers","following_url":"https://api.github.com/users/TokajiF/following{/other_user}","gists_url":"https://api.github.com/users/TokajiF/gists{/gist_id}","starred_url":"https://api.github.com/users/TokajiF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TokajiF/subscriptions","organizations_url":"https://api.github.com/users/TokajiF/orgs","repos_url":"https://api.github.com/users/TokajiF/repos","events_url":"https://api.github.com/users/TokajiF/events{/privacy}","received_events_url":"https://api.github.com/users/TokajiF/received_events","type":"User","site_admin":false},"labels":[{"id":491812597,"node_id":"MDU6TGFiZWw0OTE4MTI1OTc=","url":"https://api.github.com/repos/influxdata/influxdb/labels/area/storage","name":"area/storage","color":"fbca04","default":false},{"id":875026015,"node_id":"MDU6TGFiZWw4NzUwMjYwMTU=","url":"https://api.github.com/repos/influxdata/influxdb/labels/oom","name":"oom","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T09:42:43Z","updated_at":"2018-10-22T10:41:35Z","closed_at":null,"author_association":"NONE","body":"Influx service was down due to OOM issue. When try to restart the service, the error: Error writing snapshot-file too large keep happening when try to write _internal/monitor/###/xxx.tms. Influx is running on an instance with 32G RAM. Is there any way that I can restart the service without increasing memory size or loading the monitor files? \r\n\r\n**Error message:**\r\n2018-04-25T08:56:45.432204Z     info    Cache snapshot (end)    {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09KfW000\", \"op_name\": \"tsm1_cache_snapshot\", \"op_event\": \"end\", \"op_elapsed\": \"461.327ms\"}\r\n2018-04-25T08:56:45.432217Z     info    Error writing snapshot  {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"error\": \"write /mnt/db/data/_internal/monitor/4297/000000001-000000001.tsm.tmp: file too large\"}\r\n2018-04-25T08:56:45.970911Z     info    Cache snapshot (start)  {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09O_W000\", \"op_name\": \"tsm1_cache_snapshot\", \"op_event\": \"start\"}\r\n2018-04-25T08:56:46.423638Z     info    Error writing snapshot from compactor   {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09O_W000\", \"op_name\": \"tsm1_cache_snapshot\", \"error\": \"write /mnt/db/data/_internal/monitor/4297/000000002-000000001.tsm.tmp: file too large\"}\r\n2018-04-25T08:56:46.423693Z     info    Snapshot for path written       {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09O_W000\", \"op_name\": \"tsm1_cache_snapshot\", \"path\": \"/mnt/db/data/_internal/monitor/4297\", \"duration\": \"452.799ms\"}\r\n2018-04-25T08:56:46.423719Z     info    Cache snapshot (end)    {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09O_W000\", \"op_name\": \"tsm1_cache_snapshot\", \"op_event\": \"end\", \"op_elapsed\": \"452.820ms\"}\r\n2018-04-25T08:56:46.423728Z     info    Error writing snapshot  {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"error\": \"write /mnt/db/data/_internal/monitor/4297/000000002-000000001.tsm.tmp: file too large\"}\r\n2018-04-25T08:56:46.970919Z     info    Cache snapshot (start)  {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09SUW000\", \"op_name\": \"tsm1_cache_snapshot\", \"op_event\": \"start\"}\r\n2018-04-25T08:56:47.410604Z     info    Error writing snapshot from compactor   {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09SUW000\", \"op_name\": \"tsm1_cache_snapshot\", \"error\": \"write /mnt/db/data/_internal/monitor/4297/000000003-000000001.tsm.tmp: file too large\"}\r\n2018-04-25T08:56:47.410646Z     info    Snapshot for path written       {\"log_id\": \"07g07S20000\", \"engine\": \"tsm1\", \"trace_id\": \"07g09SUW000\", \"op_name\": \"tsm1_cache_snapshot\", \"path\": \"/mnt/db/data/_internal/monitor/4297\", \"duration\": \"439.745ms\"}\r\n\r\nthe error was looping for a long time without failed the service. "},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/431799507","html_url":"https://github.com/influxdata/influxdb/issues/9774#issuecomment-431799507","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/9774","id":431799507,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTc5OTUwNw==","user":{"login":"TokajiF","id":35221335,"node_id":"MDQ6VXNlcjM1MjIxMzM1","avatar_url":"https://avatars0.githubusercontent.com/u/35221335?v=4","gravatar_id":"","url":"https://api.github.com/users/TokajiF","html_url":"https://github.com/TokajiF","followers_url":"https://api.github.com/users/TokajiF/followers","following_url":"https://api.github.com/users/TokajiF/following{/other_user}","gists_url":"https://api.github.com/users/TokajiF/gists{/gist_id}","starred_url":"https://api.github.com/users/TokajiF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TokajiF/subscriptions","organizations_url":"https://api.github.com/users/TokajiF/orgs","repos_url":"https://api.github.com/users/TokajiF/repos","events_url":"https://api.github.com/users/TokajiF/events{/privacy}","received_events_url":"https://api.github.com/users/TokajiF/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T10:41:35Z","updated_at":"2018-10-22T10:41:35Z","author_association":"NONE","body":"Hi, \r\n\r\nI came into this problem again. \r\nThe influxdb version 1.5.0, RAM 64G. Try to restart influxdb \r\n![image](https://user-images.githubusercontent.com/35221335/47288749-feb3ce80-d629-11e8-8e54-d503324c5ad7.png)\r\n\r\nCan anyone suggest ways to restart the service without using out so much RAM?"}}
{"actor":{"display_login":"TokajiF"}}