Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cdn cache video out of size #507

Open
Andywugh opened this issue Jul 25, 2019 · 0 comments
Open

Cdn cache video out of size #507

Andywugh opened this issue Jul 25, 2019 · 0 comments

Comments

@Andywugh
Copy link

dadi-cli version: 3.6.0
node version: 10.15

stdout error:

⠋ Starting @dadi/cdn...
[2019-07-25 22:17:07.221] [ERROR]  RangeError [ERR_INVALID_OPT_VALUE]: The value "2190991286" is invalid for option "size"
    at Function.allocUnsafe (buffer.js:291:3)
    at Function.concat (buffer.js:473:23)
    at IncomingMessage.res.on (/Users/andywu/test/cdn_data/node_modules/@dadi/cdn/dadi/lib/storage/http.js:68:62)
    at IncomingMessage.emit (events.js:187:15)
    at IncomingMessage.EventEmitter.emit (domain.js:441:20)
    at endReadableNT (_stream_readable.js:1094:12)
    at process._tickCallback (internal/process/next_tick.js:63:19) 'Uncaught Exception thrown'
[2019-07-25 22:17:07.223] [ERROR]  Trace
    at process.on.on.err (/Users/andywu/test/cdn_data/node_modules/@dadi/cdn/dadi/lib/index.js:31:13)
    at process.emit (events.js:187:15)
    at process.EventEmitter.emit (domain.js:441:20)
    at processEmit [as emit] (/Users/andywu/test/cdn_data/node_modules/signal-exit/index.js:155:32)
    at process._fatalException (internal/bootstrap/node.js:494:27)
⠼ Starting @dadi/cdn...[2019-07-25 22:17:07.488] [LOG]    Worker 11357 died with code: 1, and signal: null
[2019-07-25 22:17:07.488] [LOG]    Starting a new worker
⠴ Starting @dadi/cdn...[2019-07-25 22:17:07.628] [LOG]    Worker 11582 is online
⠹ Starting @dadi/cdn...[2019-07-25 22:17:13.124] [LOG]    Process 11582 is listening for incoming requests
✔ Started DADI CDN
@ http://0.0.0.0:8080

When I cache a video of 2.2G, it will report the above error.Is there a file size limit in the code?
Or other problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant