question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"No space left on device" when running dev server

See original GitHub issue

🐛 bug report

Running dev server outputs an error saying there’s no empty space left on the device.

🎛 Configuration (.babelrc, package.json, cli command)

Zero configuration, running yarn serve --https --host 0.0.0.0 --no-cache

🤔 Expected Behavior

Dev server should start

😯 Current Behavior

It immediately fails with:

[Error: inotify_add_watch failed: No space left on device]

🌍 Your Environment

Software Version(s)
Parcel 2.0.0-nightly.426
Node 14.12.0
npm/Yarn yarn 1.22.5
Operating System Ubuntu 20.04.1 LTS

This issue does not happen on 2.0.0-nightly.388 so I figure it has been introduced after.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:10
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
drachehavoccommented, May 22, 2021

I am experiencing this problem ATM as well. Just that I do not need to google out the sysctl commands every time, here’s the workaround:

# sysctl fs.inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 8192

# sysctl fs.inotify.max_user_watches=16384

My environment: Software Version(s) Parcel 2.0.0-nightly.314+cc5b4862 Node v14.15.4 npm/Yarn yarn 1.22.5 Operating System Debian Buster

this workaround works for me.

My environment:

Software Version(s)
Parcel 2.0.0-nightly.314+cc5b4862
Node v14.15.4
npm/Yarn npm 7.7.6
Operating System Zorin OS 15.3
2reactions
Megiddcommented, Jul 1, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 3 Ways to Fix “No Space Left on Device” Error in Linux
Fix 1: Restart Processes Using Deleted Files ... The most probable cause of the “No space left on device” error is a process...
Read more >
ENOSPC no space left on device -Nodejs - Stack Overflow
This error happens when there's not enough space available on the disk. If you are using Docker and building the containers from the...
Read more >
No space left on device @ dir_s_mkdir, your server UP again ...
It means you're running out of Inodes. If you ever run into such trouble most likely you have too many small or 0-sized...
Read more >
Error: No space left on device: (deleted)/dev/zero - Server Fault
Do you actually have enough space on / ? The /dev/ploop.... indicates a loopback file system on the VPS host and if the...
Read more >
No space left on device - Perforce
This isn't the server's determination: the "No space left on device" message is reported by the operating system to the server, and the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found