mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Reference /etc/i2p/wrapper.config when OOM when using Debian packages
When I2P terminates with an OOM error, users are advised to update $I2P/wrapper.config. That path isn't accurate for the Debian packages.
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
--- a/router/java/src/net/i2p/router/tasks/OOMListener.java
|
||||
+++ b/router/java/src/net/i2p/router/tasks/OOMListener.java
|
||||
@@ -33,7 +33,7 @@
|
||||
// gobble
|
||||
}
|
||||
}
|
||||
- log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config");
|
||||
+ log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config");
|
||||
_context.router().shutdown(Router.EXIT_OOM);
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
0001-path-substitution.patch
|
||||
0002-jbigi-soname.patch
|
||||
0003-renaming-jcpuid.patch
|
||||
0004-oom-listener.patch
|
||||
|
||||
Reference in New Issue
Block a user