You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-computation of the cache size in this func is quite intense especially with infinite loop
Mutex lock used inconsistently. Why to unlock while checking file stats and then lock for deletion.
Suggestion: refactor the func.
Next. We start these helping funcs here The thing is that the value for loggin is hardcoded and set to false. So we need to change that. Verbosity should be a choice
After rebuilding the interx with all true value here
It crashes without any error messages.
I collected all errors which preceding the crash:
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a timestamp=2024-12-01T17:09:12Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" timestamp=2024-12-01T17:09:12Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af timestamp=2024-12-01T17:09:12Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" timestamp=2024-12-01T17:09:12Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854 timestamp=2024-12-01T17:09:14Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" timestamp=2024-12-01T17:09:14Z
5:09PM ERR [saveGenesis][getGenesisCheckSum] Failed to fetch genesis checksum. error=null timestamp=2024-12-01T17:09:14Z
5:09PM ERR [GetGenesisResults][Unmarshal] Failed to unmarshal genesis doc. error=null timestamp=2024-12-01T17:09:14Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a timestamp=2024-12-01T17:09:22Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" timestamp=2024-12-01T17:09:22Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af timestamp=2024-12-01T17:09:22Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" timestamp=2024-12-01T17:09:22Z
5:09PM ERR [saveGenesis][getGenesisCheckSum] Failed to fetch genesis checksum. error=null timestamp=2024-12-01T17:09:24Z
5:09PM ERR [GetGenesisResults][Unmarshal] Failed to unmarshal genesis doc. error=null timestamp=2024-12-01T17:09:24Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854 timestamp=2024-12-01T17:09:32Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" timestamp=2024-12-01T17:09:32Z
5:09PM ERR [saveGenesis][getGenesisCheckSum] Failed to fetch genesis checksum. error=null timestamp=2024-12-01T17:09:32Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a timestamp=2024-12-01T17:09:32Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" timestamp=2024-12-01T17:09:32Z
5:09PM ERR [GetGenesisResults][Unmarshal] Failed to unmarshal genesis doc. error=null timestamp=2024-12-01T17:09:32Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af timestamp=2024-12-01T17:09:32Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" timestamp=2024-12-01T17:09:32Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854 timestamp=2024-12-01T17:09:42Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" timestamp=2024-12-01T17:09:42Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a timestamp=2024-12-01T17:09:42Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" timestamp=2024-12-01T17:09:42Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af timestamp=2024-12-01T17:09:42Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" timestamp=2024-12-01T17:09:42Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854 timestamp=2024-12-01T17:09:44Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/8ae288159346d481d8322cca0b1e1cf86fd36e096bad714f648b8d0ad0e844d1/d4f7e316bac8c7c8bbe7d58c244aae4aaee5d5af9067610405b51f1ac83b3854: no such file or directory" timestamp=2024-12-01T17:09:44Z
5:09PM ERR [saveGenesis][getGenesisCheckSum] Failed to fetch genesis checksum. error=null timestamp=2024-12-01T17:09:45Z
5:09PM ERR [saveGenesis][getGenesisCheckSum] Failed to fetch genesis checksum. error=null timestamp=2024-12-01T17:09:45Z
5:09PM ERR [GetGenesisResults][Unmarshal] Failed to unmarshal genesis doc. error=null timestamp=2024-12-01T17:09:45Z
5:09PM ERR [GetGenesisResults][Unmarshal] Failed to unmarshal genesis doc. error=null timestamp=2024-12-01T17:09:45Z
5:09PM ERR [CacheHeaderCheck] Failed to check cache headers error="remove /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed: directory not empty" timestamp=2024-12-01T17:09:49Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af timestamp=2024-12-01T17:09:52Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/aecb22ab26b9c48eadd2daca023e7abdce9737cf17e43179b00df6d4ce89a091/ec4d709902c6b0441ad2856300479d92978e657fae737ec548564f2032f169af: no such file or directory" timestamp=2024-12-01T17:09:52Z
5:09PM ERR [GetCache] Failed to read data from the named file. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a: no such file or directory" file_Path=/interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba41e4b5a4f8829ea15ac7b02276b4a3cf06ce518599d92c343e5dbd5/42f671ed10790a6ab162fd78cb42401d413d67a76103819808746c7917d9ed6a timestamp=2024-12-01T17:09:52Z
5:09PM ERR [SearchCache] Failed to run GetCache function. error="open /interx/cache/response/c2e2368cae8d3edd8406b2c324cbfb5edd470db71204959ef00a1bd36dc939ed/5ac7d3dba4r
What would I expect:
On start the stack consumes less than ~4Gb. So let's add 2 Gb cache. Withing the limit of ~6Gb the stack should work stable without crashing and extra memory consumption.
The text was updated successfully, but these errors were encountered:
The interx consumed all the memory and was killed by OOM. The last logs are follows:
My guess would be that the caching limit was exceeded.
The function responsible for the cache check.
Suggestion: refactor the func.
Next. We start these helping funcs here The thing is that the value for loggin is hardcoded and set to false. So we need to change that. Verbosity should be a choice
Tree of the cache dir:
Size of the cache dir:
After rebuilding the interx with all true value here
It crashes without any error messages.
I collected all errors which preceding the crash:
What would I expect:
On start the stack consumes less than ~4Gb. So let's add 2 Gb cache. Withing the limit of ~6Gb the stack should work stable without crashing and extra memory consumption.
The text was updated successfully, but these errors were encountered: