Joystream / joystream

Joystream Monorepo
http://www.joystream.org
GNU General Public License v3.0
1.42k stars 115 forks source link

[Colossus ] Crash "Error 500: Command failed" #5005

Closed yasiryagi closed 9 months ago

yasiryagi commented 9 months ago

Discerption: Node crash with the log command failed Product: colossus Version:3.9.1 log:

2023-12-16 00:16:42:1642 http: HTTP GET /api/v1/state/data
2023-12-16 00:16:42:1642 error: GET /api/v1/state/data: Error 500: Command failed: du -sb .
du: cannot access './985358': Bad message
du: cannot access './985355': Bad message
du: cannot access './985354': Bad message
du: cannot access './985353': Bad message
du: cannot access './985190': Bad message
du: cannot access './985188': Bad message
du: cannot access './985361': Bad message
du: cannot access './985356': Bad message
du: cannot access './985187': Bad message

Error: Command failed: du -sb .
du: cannot access './985358': Bad message
du: cannot access './985355': Bad message
du: cannot access './985354': Bad message
du: cannot access './985353': Bad message
du: cannot access './985190': Bad message
du: cannot access './985188': Bad message
du: cannot access './985361': Bad message
du: cannot access './985356': Bad message
du: cannot access './985187': Bad message

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:350:12)
2023-12-16 00:16:42:1642 http: HTTP GET /api/v1/files/1343
2023-12-16 00:16:47:1647 http: HTTP GET /api/v1/version
mnaamani commented 9 months ago

This looks like a disk/file system issue, not a colossus specific issue. I think the node is handling the error by responding with a 500 error, which seems to me the correct behavior.