Tag Archives: Apache Superset Error

[Solved] Error: ENOSPC: System limit for number of file watchers rea

describe:

Apache Superset is an open source data visualization platform.

To reproduce:

kali@kali:~/Desktop/superset$ sudo docker-compose up

The error is reported during the startup process of superset with docker as follows

Error from chokidar (/app/superset-frontend/images/viz_thumbnails): Error: ENOSPC: System limit for number of file watchers reached, watch

** **

Solution:

kali@kali:~/Desktop/superset$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p 
​[
 sudo] password for kali: 
​fs.inotify.max_user_watches
 =524288 
​fs.inotify.max_user_watches
 = 524288 
​kali
 @kali:~/Desktop/superset$

Re-docker run superset, green shows no errors

Problem reference:

https://github.com/gatsbyjs/gatsby/issues/11406