We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800d3ee commit 453252dCopy full SHA for 453252d
rootfs/etc/s6-overlay/s6-rc.d/teslamate/run
@@ -113,7 +113,11 @@ if [[ -z $(PGPASSWORD="$DATABASE_PASS" psql -h "$DATABASE_HOST" -p "$DATABASE_PO
113
bashio::log.notice "=> Dashboards: $grafana_ingress"
114
bashio::log.notice ""
115
fi
116
-ulimit -n 1048576
+
117
+# Set max open file limit to avoid memory allocation issues
118
+if [ "$(ulimit -Hn)" -gt 524288 ]; then
119
+ ulimit -n 524288
120
+fi
121
122
bashio::log.info "Starting TeslaMate..."
123
0 commit comments