Comments (2)
I did a quick search on Wago PFC200 and came up with this website which seems to indicate that the device (Gen 2) has a maximum RAM allocation of 512MB (looks like some of the earlier models even had 256MB). You're going to be very memory-constrained on the 512MB model--Ignition won't be feasible at all on the 256MB RAM model (output of free
or cat /proc/meminfo
would tell you). I just took a look at the entrypoint script and it looks like the environment variables GATEWAY_INIT_MEMORY
and GATEWAY_MAX_MEMORY
that I have for driving the memory allocation enforces max memory at >=512MB.. Thankfully, as of kcollins/ignition:8.1.4
, you can actually feed JVM/wrapper args directly through the command options on your container run, e.g.:
$ docker run -d -p 8088:8088 --privileged --name my-ignition-edge \
-e GATEWAY_ADMIN_PASSWORD=password \
-e IGNITION_EDITION=edge \
kcollins/ignition:8.1.4 \
wrapper.java.initmemory=256 \
wrapper.java.maxmemory=384
I'd try the above first, just to see if you can get any further in the launch--it looks like, based on your logs, that the JVM probably isn't able to allocate the required default amount of memory (init of 256M, max of 1024M).
from ignition-docker.
That did the trick, thanks a lot for the quick reply.
I had to dial them back to 200 and 250 but that got the container to at least stop choking. However I couldn't get past the "gateway starting" webpage, pretty sure it's a memory/resource issue. I do have the 512MB model and was doing this mostly to see if it was possible, since I am drawn to Ignition's ability to buffer MQTT messages on the sender when the broker connection is unreliable. However it seems it isn't a realistic application for the PFC200.
from ignition-docker.
Related Issues (20)
- Update README with links to Official Image
- Add support for Docker Buildx Bake
- Linking ApexCharts-signed.modl third-party module causes container to fail-to-start HOT 1
- Third party jdbc driver not loading from /jdbc mount HOT 4
- `IGNITION_GID` value that conflicts with built-in container groups is fatal error
- host volume path HOT 11
- Modules Paths HOT 2
- Specifying only `GATEWAY_INIT_MEMORY` can cause container not to start
- Remove extracted jre-nix from -slim image
- Restoring Edge GWBK through `/restore.gwbk` comes up in Full edition mode
- Adapt auto-commissioning to use upstream capabilities HOT 1
- Correct bug in handling of GATEWAY_SYSTEM_NAME with spaces HOT 2
- Blank leased-activation config being written to disk causing error on startup
- Volume marker not being placed properly in data volume
- Empty Volume Mode for WSL2<>Windows bindings causing failures on startup
- JDBC Drivers not being properly linked in on 8.1.8
- Third-party modules licenses with filenames other than `license.html` fail to link HOT 1
- Linking Sepasoft modules HOT 3
- Add ability to run-as-root
- Upgraded module from /modules ended up in Quarantine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignition-docker.