After CPU limit change : Docker Error: (HTTP code 400) bad parameter,
-
wrote on Aug 27, 2024, 8:25 AM last edited by joseph Aug 27, 2024, 10:38 AM
Hello, i recently changed the CPU use limit n8n can use, since then the parameter can't get applied and the app is in constant error mode.
I have tried restoring a backed up version, but it wont change.
Here's the error i cant gest past : "Docker Error: (HTTP code 400) bad parameter - invalid JSON: json: cannot unmarshal number 8279999999.999999 into Go struct field HostConfig.HostConfig.NanoCpus of type int64"
Any idea on hove to solve it ?
Thanks for your help !
-
Hello, i recently changed the CPU use limit n8n can use, since then the parameter can't get applied and the app is in constant error mode.
I have tried restoring a backed up version, but it wont change.
Here's the error i cant gest past : "Docker Error: (HTTP code 400) bad parameter - invalid JSON: json: cannot unmarshal number 8279999999.999999 into Go struct field HostConfig.HostConfig.NanoCpus of type int64"
Any idea on hove to solve it ?
Thanks for your help !
-
-
wrote on Aug 27, 2024, 5:05 PM last edited by
hi, i just did, here's the output : +----------+
| cpuQuota |
+----------+
| 100 |
| 100 |
| 69 |
| 100 |
| 100 |
+----------+No fractional values, every other app is at 100, the 69 is what i wanted to set for n8n
-
wrote on Aug 27, 2024, 5:08 PM last edited by Bob_247 Aug 27, 2024, 5:12 PMThis post is deleted!
-
wrote on Aug 27, 2024, 8:59 PM last edited by
okk great, did, and works back !
Thanks !
-
Fixed in https://git.cloudron.io/cloudron/box/-/commit/abf445e96949ab952c07b457610a1a890cf4e339 for next release.
-