forked from I2P_Developers/i2p.i2p
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
debian/patches/0004-oom-listener.patch
vendored
Normal file
11
debian/patches/0004-oom-listener.patch
vendored
Normal file
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1,3 +1,4 @@
|
|||||||
0001-path-substitution.patch
|
0001-path-substitution.patch
|
||||||
0002-jbigi-soname.patch
|
0002-jbigi-soname.patch
|
||||||
0003-renaming-jcpuid.patch
|
0003-renaming-jcpuid.patch
|
||||||
|
0004-oom-listener.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user