ffmpeg EAGAIN

23-10-2023 22:35:54 A: Error: spawn /home/container/node_modules/ffmpeg-static/ffmpeg EAGAIN
    at ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -11,
  code: 'EAGAIN',
  syscall: 'spawn /home/container/node_modules/ffmpeg-static/ffmpeg',
  path: '/home/container/node_modules/ffmpeg-static/ffmpeg',
  spawnargs: [
    '-i',
    'https://cdn.galaxybot.de/sounds/support/close-mika.mp3',
    '-analyzeduration',
    '0',
    '-loglevel',
    '0',
    '-f',
    's16le',
    '-ar',
    '48000',
    '-ac',
    '2',
    'pipe:1'
  ]
}


I am playing a file with @discord.js/voice and it works 35 Times.
At the 36th attempt i get this error every time the bot is trying to start a playback
Was this page helpful?