zzz.i2p

Development discussions
Slow down, error, out of memory. I believe related to 32 bit JAVA lack of memory « Bugs, Complaints, Requests, Questions ... « I2P Help, Hints, Advice
 
Fri, 16 Nov 2018, 02:24am #1
YesYesYes well maybe
I2P Legend

I have a 64 bit Win7 system with 8 GB. When I installed JAVA and I2P I used 32-bit JAVA because my browser was 32 bit at the time. I'm getting all the below errors even after I've increased the memory,[Maximum Java Heap Size (in MB)] in wrapper.config to 256 then to 512. Still have the same errors and it says I have "Configured for 6.06MiBps share bandwidth but only 123.75MiB available memory" when in actuality I have 4GB of memory free. So I've come to the conclusion that I need to install 64 bit JAVA. Problem stated below,

1. Does this hypothesis sound correct or reasonable?
2. If I install 64-bit JAVA what's the best way to utilize it in I2P. I have I2P installed in a removable drive.
A. I see in wrapper.config where it says you can specify the location. Should I specify where my 64-bit JAVA is there???Shown below this,

## PORTABLE installation:
# A portable Java installation can be configured thusly:
#set.JAVA_HOME=C:\path\to\your\portable\java\installation
#wrapper.java.command=%JAVA_HOME\bin\java.exe
##

B. Or I see in wrapper.config where it says, shown below,

# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE

Which is best to do. I like "B" but it's not clear what to put in this line. Should it be,

wrapper.java.additional.auto_bits=64

C. Or will I2P, using the "wrapper.java.additional.auto_bits=TRUE" command automatically find and use the 64 bit-JAVA????

What to do?????

Logs below********************************

http://127.0.0.1:7657/logs

I2P version: 0.9.37-0
Java version: Oracle Corporation 1.8.0_181 (Java(TM) SE Runtime Environment 1.8.0_181-b13)
Wrapper version: none
Server version: 9.2.25.v20180606
Servlet version: Jasper JSP 2.3 Engine
JSTL version: standard-taglib 1.2.0
Platform: Windows 7 x86 6.1 ####It may say x86 here but the system is 100% 64 bit. Positive
Processor: Phenom II / Opteron Gen 3 (Shanghai/Deneb/Heka/Callisto, 45 nm) (k10)
JBigI status: Locally optimized library jbigi-windows-k10.dll loaded from file
GMP version: 6.0.0
JBigI version: 3
JCpuId version: 3
Encoding: Cp1252
Charset: windows-1252
Built By: zzz

# on log below I disn't include all just a few parts that usually repeat over and over. Comments I made start with "#"

Critical Logs

11/12/18 9:06:12 PM CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion. Watchdog starts barking!
11/12/18 8:43:12 AM CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion. Watchdog starts barking!

Router Logs
[Configure]

File location: C:\Users\anon\AppData\Roaming\I2P\logs\log-router-1.txt

11/13/18 2:51:07 AM ↓↓↓ 1 similar message omitted ↓↓↓
11/13/18 2:37:14 AM ↓↓↓ 1 similar message omitted ↓↓↓
11/13/18 2:27:05 AM ↓↓↓ 1 similar message omitted ↓↓↓
11/13/18 2:23:14 AM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin #repeats many times....

Event Logs

View event logs

11/12/18 11:23:28 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing # when this happens speed tends to be higher. Not 100% positive
11/12/18 11:20:33 PM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/12/18 11:04:34 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing

11/12/18 9:57:41 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/12/18 9:56:21 PM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/12/18 9:37:59 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/12/18 9:31:14 PM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/12/18 9:19:50 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/12/18 9:18:28 PM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/12/18 9:06:12 PM Watchdog warning #Normally lines up with out of memory
11/12/18 9:02:43 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/12/18 8:59:41 PM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/12/18 8:24:04 PM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing #repeats many times

Service (Wrapper) Logs

File location: C:\Users\anon\AppData\Roaming\I2P\wrapper.log

11/12/18 6:30:30 AM CRIT [ShutdownHook] net.i2p.router.Router : Shutdown(2) complete #shut down immediate restart
INFO: Native CPUID library jcpuid-x86-windows loaded from file
INFO: Locally optimized library jbigi-windows-k10.dll loaded from file
WARN: Configured for 6.06MiBps share bandwidth but only 123.75MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in X:\FirefoxPortableESR_52.7.3\I2P\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
11/12/18 8:43:12 AM CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion. Watchdog starts barking!
11/12/18 9:06:12 PM CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion. Watchdog starts barking!

http://127.0.0.1:7657/peers

#On this page I have

NTCP connections: 4. Limit: 550.

#All of these are (arrow up) Outbound connection and this is typical

UDP connections: 24. Limit: 1650.

#Most of these are (arrow up) Outbound connection, 10 are (little arrow down) They offered to introduce us (help other peers traverse our firewall) and usually there's less arrows down (coming in). I haven't seen any (arrow down) Inbound connection...none

# Only 1 or 2 IPV6 UDP connections usually

Fri, 16 Nov 2018, 06:03am #2
zab
I2P Legend

Before you bite the bullet and upgrade to 64-bit java, you need to figure out why increasing the heap size is still giving you the warning in the log files. Even with 32-bit java you should be able to go as high as 2048 MB of heap.

What I'm saying is, this shouldn't be happening:

I'm getting all the below errors even after I've increased the memory,[Maximum Java Heap Size (in MB)] in wrapper.config to 256 then to 512. Still have the same errors and it says I have "Configured for 6.06MiBps share bandwidth but only 123.75MiB available memory"

Until you figure out why that is happening there's not much point in going to 64 bit.. well it is faster but the memory is the biggest bottleneck in your situation.


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Fri, 16 Nov 2018, 08:00am #3
YesYesYes well maybe
I2P Legend

"...What I'm saying is, this shouldn't be happening:..."

I agree and the only thing I could come up with is that it's not using the top 4GB of memory I have available. Maybe the rest of my programs are using enough memory to take up some of the lower 4GB of memory so the top 4GB to 32-bit JAVA can't access,[to be specific I'm using 4.71GB of memory right now and that's typically what I've seen used every time I look at my system memory usage. Around 4GB or so.]. The top 4GB doesn't exist for 32-JAVA or so I surmise. It can't get more memory and it can't take it from other programs so it croaks. Going from 256 to 512 I was getting the same "need to increase heap size memory". I know the other errors were the same. It appears to act the same no matter 256 or 512.

"...Until you figure out why that is happening there's not much point in going to 64 bit.. well it is faster but the memory is the biggest bottleneck in your situation..."

For me...well I have no idea at all what else to do so that's a dead end for me. It seems to be acting as if it doesn't have enough memory even though I know there's some available. Another thing is the "JAVA platform binary file, javaw.exe*32" is only using about 220MB and doesn't stray far from that figure after running for several hours. I2PSnark also does better if I pause most of the torrents.

I had the same problems with XP. One of the reasons I moved to Win7 was so I could have more memory and also use 4TB drives.
It actually works better now than it did. The NTCP2 upgrade caused it to peak receiving in I2PSnark much higher but it fluctuates back and fourth from 120KB/s to as low as 12KB/s. It's really annoying.

And I've tried reinstalling and it was no better.

Last edited: Fri, 16 Nov 2018, 08:09am by YesYesYes well maybe

Fri, 16 Nov 2018, 11:18am #4
zab
I2P Legend

Looks like I2P is not reading your wrapper.config at all. Do you mind posting the contents of that file?

Also, which executable are you using to start I2P?

A wild guess - this may have something to do with the fact that you're running I2P from a removable drive. Can you try installing to the default location on "c:\Program Files (x86)\I2p" ?


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Fri, 16 Nov 2018, 05:39pm #5
YesYesYes well maybe
I2P Legend

Things I changed. I didn't do this all at once. I tried them one at a time to test. When I changed something I noted it with a comment and left the original above it with it commented out.

wrapper.java.additional.5=-server

wrapper.java.maxmemory=520

I think that's it.

I don't want I2P on my C drive at all, even though some is. I haven't worked out how to make it portable because...I have enough problems now. I installed the installer to O: drive, as you can see. I start it by clicking on i2p.exe in the O:\FirefoxPortableESR_52.7.3\I2P/ folder. Then I run a portable Firefox set up for I2P.

I see the commented out line in the wrapper.config file(below). I'll uncomment it and a wrapper.log should show up in the folder "if" it's reading it. I do not at all wish to reinstall in C:. I think that would just open up a whole can of other worms.

#wrapper.logfile=O:\FirefoxPortableESR_52.7.3\I2P/wrapper.log

Also I'm fairly sure the wrapper.config file is running. There's no wrapper.config file in the other location where config files are,,,

C:\Users\anon\AppData\Roaming\I2P\

#encoding=UTF-8
#********************************************************************
# Wrapper Properties
#
# WARNING - for any changes to take effect, you must completely
# stop the router and the wrapper. Clicking 'Restart' on your
# router console will NOT reread this file! You must
# click "Shutdown", wait 11 minutes, then start i2p.
#
# WARNING - The wrapper is NOT run (and this file is not used)
# if you start I2P with the 'no window' icon on Windows, or
# with the runplain.sh script on Linux. Use the 'restartable'
# icon on Windows or the i2prouter script on Linux to run the wrapper.
#
# NOTE - Directory organization:
# The standard I2P Installation will set up a "split" directory structure
# with code in the install directory, data and configuration files in the
# user's home directory, and temporary files in the system temporary directory.
# To set up a single-directory "portable" installation suitable for
# a USB stick, make several changes specified below (search for PORTABLE).
#
# NOTE - The izpack installer performs variable subsitiution on this
# file upon installation. If you did not use izpack, you must
# find and replace all instances of (dollar)INSTALL_PATH and
# (dollar)SYSTEM_java_io_tmpdir with appropriate values
# (perhaps . and /var/tmp, respectively)
#
#********************************************************************
# Java Application
wrapper.java.command=java
# Specify a specific java binary:
#set.JAVA_HOME=/java/path
#wrapper.java.command=%JAVA_HOME%/bin/java
# Gentoo uses the following:
#wrapper.java.command=/etc/java-config-2/current-system-vm/bin/java
#
# Tell the Wrapper to log the full generated Java command line.
#wrapper.java.command.loglevel=INFO
##
## PORTABLE installation:
# A portable Java installation can be configured thusly:
#set.JAVA_HOME=C:\path\to\your\portable\java\installation
#wrapper.java.command=%JAVA_HOME\bin\java.exe
##

# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you. See the Integration section
# of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
#
# Doing it this way means we can add new apps without asking people
# to update their wrapper.config.
# The downside is that we lose control over classpath order,
# This is fine for new installs (where the uninstall jars
# copy.jar, delete.jar, and exec.jar containing duplicate FileUtil
# classes, or all the classes of i2p.jar, are in a different directory).
# Be sure there are no other duplicate classes.
#
wrapper.java.classpath.1=O:\FirefoxPortableESR_52.7.3\I2P/lib\*.jar
# uncomment this to use the system classpath as well (e.g. to get tools.jar)
# wrapper.java.classpath.2=%CLASSPATH%

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=O:\FirefoxPortableESR_52.7.3\I2P
wrapper.java.library.path.2=O:\FirefoxPortableESR_52.7.3\I2P/lib

# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters
# Numbers must be consecutive (except for stripquotes)
wrapper.java.additional.1=-DloggerFilenameOverride=logs\log-router-@.txt
wrapper.java.additional.2=-Di2p.dir.base="O:\FirefoxPortableESR_52.7.3\I2P"
wrapper.java.additional.2.stripquotes=TRUE

# Prevent the JVM from exporting stats (and thereby causing hundreds of
# ms long pauses during GC)
# http://www.evanjones.ca/jvm-mmap-pause.html
#wrapper.java.additional.3=-XX:+PerfDisableSharedMem

# On some IPv6 enabled systems, I2P and other network-enabled java applications
# may fail to start. For examples see
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bu....
# Two things that may help if you experience this issue
# 1) "echo 0 > /proc/sys/net/ipv6/bindv6only" as root; or
# 2) uncomment the next two lines:
#wrapper.java.additional.3=-Djava.net.preferIPv4Stack=true
#wrapper.java.additional.4=-Djava.net.preferIPv6Addresses=false

# Jetty says this is a security risk
# Uncommenting this won't help as the router forces it to true
# If you really need this, you have to set it in jetty.xml
# somehow - not sure exactly but here's a clue:
# org.mortbay.util.FileResource.setCheckAliases(false)
# wrapper.java.additional.8=-Dorg.mortbay.util.FileResource.checkAliases=false
# PORTABLE installation:
# uncomment the following
#wrapper.java.additional.3=-Di2p.dir.pid="O:\FirefoxPortableESR_52.7.3\I2P"
#wrapper.java.additional.3.stripquotes=TRUE
#wrapper.java.additional.4=-Di2p.dir.temp="O:\FirefoxPortableESR_52.7.3\I2P"
#wrapper.java.additional.4.stripquotes=TRUE
#wrapper.java.additional.5=-Di2p.dir.config="O:\FirefoxPortableESR_52.7.3\I2P"
#wrapper.java.additional.5.stripquotes=TRUE
#
# Uncomment this for better performance.
# If it doesn't work, server mode is not available in your JVM.
# This may not be required if your machine is already "server-class".
# See http://java.sun.com/j2se/1.5.0/docs/guide/vm/se...
# wrapper.java.additional.5=-server (uncommented below)
wrapper.java.additional.5=-server

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=4

# Maximum Java Heap Size (in MB)
# The JVM's default is 64MB, and I2P can work fine in that, but to handle
# lots of I2PSnark activity in the same JVM, increasing the default max heap
# size should help. Feel free to reduce this if not using I2PSnark in the jvm
# High-bandwidth routers may need to increase to 256 or more.
#
# WARNING - for any changes to take effect, you must completely
# stop the router and the wrapper. Clicking 'Restart' on your
# router console will NOT reread this file! You must
# click "Shutdown", wait 11 minutes, then start i2p.
#
#(original below)
#wrapper.java.maxmemory=128
#(changed below)
wrapper.java.maxmemory=520

# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=net.i2p.router.Router

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM

# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
# You may wish to change this.
# NOTE: On Linux/Mac this is overridden in the i2prouter script; changes here will have no effect.
# System temp directory:
wrapper.logfile=%appdata%\i2p\wrapper.log
# PORTABLE installation:
# Use the following instead. I2P will find the logfile here,
# no need for a wrapper.java.additional line too.
#wrapper.logfile=O:\FirefoxPortableESR_52.7.3\I2P/wrapper.log

# Format of output for the log file.
# The format consists of the tokens 'L' for log level, 'P' for prefix, 'D' for thread,
# 'T' for time, 'Z' for millisecond time, and 'M' for message
# Unfortunately the log timezone cannot be changed, see
# http://www.nabble.com/Log-message-timezone-td23...
wrapper.logfile.format=TM

# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=4m

# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=2

# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE

# these will shut down or crash the JVM
wrapper.signal.mode.usr1=IGNORE
wrapper.signal.mode.usr2=IGNORE

# choose what to do if the JVM kills itself based on the exit code
wrapper.on_exit.default=SHUTDOWN
wrapper.on_exit.0=SHUTDOWN
wrapper.on_exit.1=SHUTDOWN
# OOM
wrapper.on_exit.10=RESTART
# graceful shutdown
wrapper.on_exit.2=SHUTDOWN
# hard shutdown
wrapper.on_exit.3=SHUTDOWN
# hard restart
wrapper.on_exit.4=RESTART
# hard restart
wrapper.on_exit.5=RESTART

# the router may take a few seconds to save state, etc
wrapper.jvm_exit.timeout=60

# give the OS 60s to clear all the old sockets / etc before restarting
# Let's change the default from 60 to 15 seconds and see if anyone moans..
wrapper.restart.delay=15

wrapper.ping.interval=300
# The ping timeout must be at least 5 seconds longer than the value of wrapper.ping.interval.
# Extend this if you are getting 'JVM appears hung' shutdowns.
wrapper.ping.timeout=320

# use the wrapper's internal timer thread. otherwise this would
# force a restart of the router during daylight savings time as well
# as any time that the OS clock changes
wrapper.use_system_time=false

# pid file for the JVM
# If you plan to have multiple wrappers running on the same machine,
# you should copy this file, change the location or file name,
# and edit the i2prouter script to change the WRAPPER_CONF setting
# to point to the new wrapper.config location.
# Windows users may wish to uncomment.
# Linux/Mac users, do not set here, see settings in the i2prouter script.
# Directory must exist or the wrapper will fail to start.
# System temp directory:
#wrapper.java.pidfile=%appdata%\i2p\routerjvm.pid
# PORTABLE installation:
# Use the following instead.
#wrapper.java.pidfile=%appdata%\i2p\routerjvm.pid
# pid file for the service monitoring the JVM
#
# From i2prouter:
#
# PIDDIR="."
# APP_NAME="i2p"
# PIDFILE="$PIDDIR/$APP_NAME.pid"
#
# This means i2prouter looks for './i2p.pid'.
# See comments above for wrapper.java.pidfile
# Windows users may wish to uncomment.
# Linux/Mac users, do not set here, see settings in the i2prouter script.
# Directory must exist or the wrapper will fail to start.
# System temp directory:
#wrapper.pidfile=%appdata%\i2p\i2p.pid
# PORTABLE installation:
# Use the following instead.
#wrapper.pidfile=%appdata%\i2p\i2p.pid

#********************************************************************
# Wrapper General Properties
#********************************************************************
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE

# Title to use when running as a console
wrapper.console.title=I2P Service

# Set permissions used when creating files
# See http://wrapper.tanukisoftware.com/doc/english/p...
# for a detailed explanation of these settings.
wrapper.umask=0022
wrapper.java.umask=0022
wrapper.logfile.umask=0077

#********************************************************************
# Wrapper NT Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.

# Name of the service
wrapper.ntservice.name=i2p

# Display name of the service
wrapper.ntservice.displayname=I2P Service

# Description of the service
wrapper.ntservice.description=The I2P router service

# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false

# http://wrapper.tanukisoftware.com/doc/english/p...
# requires wrapper 3.5.0 or higher
# interval is seconds
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=3699
wrapper.check.deadlock.action=DUMP,RESTART
wrapper.check.deadlock.output=FULL

Fri, 16 Nov 2018, 07:28pm #6
zab
I2P Legend

qq: does I2P show a "restart" button on the console or just a "shutdown"? Because in wrapper.log it says:

WARN: Configured for 6.06MiBps share bandwidth but only 123.75MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in X:\FirefoxPortableESR_52.7.3\I2P\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.

(emphasis mine)

which leads me to think that you are running an "unwrapped" version of I2P

Edit:
Also, when i2p.exe launches, does it show any errors in the command prompt?


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Fri, 16 Nov 2018, 09:45pm #7
YesYesYes well maybe
I2P Legend

"...does I2P show a "restart" button on the console or just a "shutdown"?..."

Just a button to turn off. Specifically if you go to this page

http://127.0.0.1:7657/configsidebar

It is called a "restart status button". There is no button with "restart" shown on it. The one I have is just an icon and when you hover over it it shows "shutdown".

"...Recommend running the restartable version of I2P..."

I think that I have the restartable version, [due to the fact I can restart it]. There was, at one time I believe, a I2P version that was a MSI or MSU install file. It would automatically start up I2P when the system came on. I believe that's what it is referencing but I don't have that.

Fri, 16 Nov 2018, 10:34pm #8
zab
I2P Legend

Ok, you're definitely not running a wrapped version of I2P because that shows two buttons - one for restart and one for shutdown. That explains why your changes to wrapper.config are not being picked up.

I just checked the install on my windows VM and saw that the standard installation, when creating start menu shortcuts will actually create a shortcut to "i2psvc.exe", not "i2p.exe". There is also an "i2prouter.bat" file which may launch the wrapped version correctly. Can you try starting with that?


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Fri, 16 Nov 2018, 10:42pm #9
YesYesYes well maybe
I2P Legend

I don't think O:\FirefoxPortableESR_52.7.3\I2P\wrapper.config is running at all. I got the same warning when it started up,

11/16/18 4:16:20 PM WARN [main ] .tunnel.BloomFilterIVValidator: Configured for 1.52MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in O:\FirefoxPortableESR_52.7.3\I2P\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.

Also I changed in wrapper.config to

#wrapper.logfile=O:\FirefoxPortableESR_52.7.3\I2P/wrapper.log #changed to put wrapper log in O: drive
wrapper.logfile=O:\FirefoxPortableESR_52.7.3\I2P/wrapper.log

and there's no wrapper.log there. So wrapper.config is not running.

The good news is I installed java-64 bit and I assume it's running. Before it had javaw.exe*32 in task manager now it says javaw.exe is running with no *32 on the end of the executable.

I suspect unless I can get wrapper.config to run I will keep having problems with memory running out but maybe not because now java can reach all the memory???? Remains to be seen.

What exactly runs wrapper.config??? It's odd as hell it's not running. What does I2P.exe start???? if not the wrapper.config????

Fri, 16 Nov 2018, 10:51pm #10
YesYesYes well maybe
I2P Legend

I forgot to answer one of your questions.

"...Edit:
Also, when i2p.exe launches, does it show any errors in the command prompt?..."

There is no command prompt if you mean a black dos type command prompt screen. I only get a large I2P ICON screen that stays on for maybe 3-4 seconds then goes away.

It shouldn't matter if it's on a removable drive. What I did was install it on an encrypted drive. The drive letter stays the same every time it's run. It's really more like just changing the install location when you install it. It's not like I have it on a thumb drive moving it around with different drive letters all the time.

A good question is since I haven't done anything strikingly weird. Just install to a different encrypted drive that the drive letter stays the same why would it have problems?

Fri, 16 Nov 2018, 11:01pm #11
YesYesYes well maybe
I2P Legend

I think I also have confirmation that java 64 bit will use more memory than java 32-bit. The 32-bit memory usage would only go up to about 220KB. Now I'm using 320KB with 64 bit java. Maybe it slightly fix my problem. The speed seems to be increasing a little. I will have to let it run a couple days and see if it has those times where it plummets to 20KB/s over and over.

Fri, 16 Nov 2018, 11:11pm #12
zab
I2P Legend

What exactly runs wrapper.config??? It's odd as hell it's not running. What does I2P.exe start???? if not the wrapper.config????

The desktop/program menu shortcut that gets created during "standard" installation starts

i2psvc.exe -c wrapper.config

Maybe you can try running that from a command (dos) prompt?


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Sat, 17 Nov 2018, 03:04am #13
YesYesYes well maybe
I2P Legend

THANKS! I bet that's the problem. I made a .BAT file, which I know very little about after a few minutes of DuckDuckGoFu, that I will try.

START O:\FirefoxPortableESR_52.7.3\I2P\i2p.exe
START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c wrapper.config

That's kind of a surprise. Why should a short cut run a different program???

While I was writing this I realized the

START O:\FirefoxPortableESR_52.7.3\I2P\i2p.exe

part would be wrong so I shortened it to

START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c wrapper.config

and named it "I2P start I2P batch file.BAT"

going to try it now.

Sat, 17 Nov 2018, 03:39am #14
zab
I2P Legend

You may need to pass the full path to the wrapper.config in the .bat file, something like

START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c O:\FirefoxPortableESR_52.7.3\I2P\wrapper.config

Or alternatively first change to the directory, like this:

cd O:\FirefoxPortableESR_52.7.3\I2P\
I2Psvc.exe -c wrapper.config

You may need to play around and try a few things, but the basic idea is that instead of I2P.exe another file is used to launch the "restartable" I2P - I2Psvc.exe


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Sat, 17 Nov 2018, 04:11am #15
YesYesYes well maybe
I2P Legend

Thanks for your help. Close but not quite. I got a lot of errors related to my now having 64 bit java while the wrapper.dll is 32 bit. Sigh...

Funny thing is I left open the Firefox browser and it displayed the I2P router console page. I saw the restart button, which I haven't seen before. Of course it wouldn't refresh or none of the other pages worked.

Sigh...

So if you start I2P.exe it will work fine with 32 or 64 bit java but it won't run the wrapper.config

With the .BAT file I get these errors in the command console, DOS w, window

wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Community Edition 32-bit 3.5.25
wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.com
wrapper |
wrapper | Launching a JVM...
jvm 1 | WrapperManager: Initializing...
jvm 1 | WrapperManager:
jvm 1 | WrapperManager: WARNING - Unable to load the Wrapper''s native library 'wrapper.dll'.
jvm 1 | WrapperManager: The file is located on the path at the following location but
jvm 1 | WrapperManager: could not be loaded:
jvm 1 | WrapperManager: O:\FirefoxPortableESR_52.7.3\I2P\lib\wrapper.dll
jvm 1 | WrapperManager: Please verify that the file is both readable and executable by the
jvm 1 | WrapperManager: current user and that the file has not been corrupted in any way.
jvm 1 | WrapperManager: One common cause of this problem is running a 32-bit version
jvm 1 | WrapperManager: of the Wrapper with a 64-bit version of Java, or vica versa.
jvm 1 | WrapperManager: This is a 64-bit JVM.
jvm 1 | WrapperManager: Reported cause:
jvm 1 | WrapperManager: O:\FirefoxPortableESR_52.7.3\I2P\lib\wrapper.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
jvm 1 | WrapperManager: System signals will not be handled correctly.
jvm 1 | WrapperManager:
jvm 1 | Starting I2P 0.9.37-0
jvm 1 | INFO: Native CPUID library jcpuid-x86-windows.dll loaded from resource
jvm 1 | INFO: Loaded library: jar:file:/O:/FirefoxPortableESR_52.7.3/I2P/lib/jbigi.jar!/jbigi-windows-k10_64.dll
jvm 1 | INFO: Native BigInteger library jbigi-windows-k10_64.dll loaded fromresource

So I'm guessing I installed with 32-bit java and now it refuses to use anything else.

Sigh...

Silly because it runs fine if you don't run the wrapper with 64 bit java.

I used to jack around with computers a bit but this kind of fuckwittery is what made me despise them. There's so many "unknown" gotchas and most of the time there's no easy straight forward logical explanation for why things work or not. Just some undocumented whizbang command hidden in the depths of...somewhere that a person with any sort of sense would never figure out in a million years unless... they just knew.

I got this attitude when I had a problem with a new install of XP many years ago. I couldn't open the drive tool to format a drive. So I spent days and days doing all this stuff. Now mind you most of this advice was from Microsoft. Reams of instructions and programs to add. Running this, checking that. Finally I gave up and worked on another problem which I can't even remember what it was. I installed, something and fixed it. Later I went back to the formatting drive problem and...it worked. The problem is I couldn't remember what it was I did to fix and the realization that the people who made Windows XP, the experts, did not have one fucking clue of how to fix anything. Deep contempt for the whole computing system set in. The whole thing is middens like in archeology where they just pile the trash higher and higher and no one knows what the hell is beneath them.

thank you very much for your help zab.

Not quite sure where to go from here. I guess I could uninstall 64-java, not good, or reinstall I2P very not good.

If I was to reinstall I2P what files/folders would I need to save to keep what I have now??? Addresses, torrents???

Sat, 17 Nov 2018, 04:24am #16
YesYesYes well maybe
I2P Legend

[Accidental double post. Deleted text]

Last edited: Tue, 20 Nov 2018, 12:28am by YesYesYes well maybe

Sat, 17 Nov 2018, 04:38am #17
zab
I2P Legend

At least you got the first step right - getting the wrapped I2P to start. Now, the fact that the wrapper is 32 bit is due to a bug in the IzPack system which zzz found. I don't know if it has been fixed for 0.9.37, that means that even if you reinstall I2P you may still get a 32-bit wrapper.dll.

The easiest thing you can do is go back to 32-bit Java. That means uninstall the 64-bit version, then open a command (dos) prompt and type "java -version". If that errors out or doesn't explicitly show 32-bits, re-install a 32-bit version.

Let's get the wrapper loaded correctly and the maxmemory value fixed, then we'll take it from there.


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Sat, 17 Nov 2018, 06:02am #18
YesYesYes well maybe
I2P Legend

Sorry about the double post. It showed it as not going through.

I reinstalled the most recent I2P to a different folder but did not run it. I then compared the lib folder files. There's a difference in a lot of them so I replaced all my files with the new files I got from the new I2P install. Then I replaced all the eepsite folder files and all in the webapps folder.

Damn it worked???? Surely one of the most retarded things I've ever done but it is working. So far.

The log file shows that the log has been moved and there's no error about the wrapper.java.maxmemory not big enough(so apparently the wrapper.config is working]. Speed is up too. 138KB/s YES!. I know this is pitiful to most but I've had it plummeting to 12KB/s or less for long periods.

I'll make a comment with this
#
where I restarted. As you can see same errors before without replacing files yet.

2018/11/16 21:11:39 | --> Wrapper Started as Console
2018/11/16 21:11:39 | Java Service Wrapper Community Edition 32-bit 3.5.25
2018/11/16 21:11:39 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
2018/11/16 21:11:39 | http://wrapper.tanukisoftware.com
2018/11/16 21:11:39 |
2018/11/16 21:11:40 | Launching a JVM...
2018/11/16 21:11:40 | WrapperManager: Initializing...
2018/11/16 21:11:40 | WrapperManager:
2018/11/16 21:11:40 | WrapperManager: WARNING - Unable to load the Wrapper''s native library 'wrapper.dll'.
2018/11/16 21:11:40 | WrapperManager: The file is located on the path at the following location but
2018/11/16 21:11:40 | WrapperManager: could not be loaded:
2018/11/16 21:11:40 | WrapperManager: O:\FirefoxPortableESR_52.7.3\I2P\lib\wrapper.dll
2018/11/16 21:11:40 | WrapperManager: Please verify that the file is both readable and executable by the
2018/11/16 21:11:40 | WrapperManager: current user and that the file has not been corrupted in any way.
2018/11/16 21:11:40 | WrapperManager: One common cause of this problem is running a 32-bit version
2018/11/16 21:11:40 | WrapperManager: of the Wrapper with a 64-bit version of Java, or vica versa.
2018/11/16 21:11:40 | WrapperManager: This is a 64-bit JVM.
2018/11/16 21:11:40 | WrapperManager: Reported cause:
2018/11/16 21:11:40 | WrapperManager: O:\FirefoxPortableESR_52.7.3\I2P\lib\wrapper.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
2018/11/16 21:11:40 | WrapperManager: System signals will not be handled correctly.
2018/11/16 21:11:40 | WrapperManager:

2018/11/16 21:11:40 | Starting I2P 0.9.37-0
2018/11/16 21:11:41 | INFO: Native CPUID library jcpuid-x86-windows.dll loaded from resource
2018/11/16 21:11:41 | INFO: Loaded library: jar:file:/O:/FirefoxPortableESR_52.7.3/I2P/lib/jbigi.jar!/jbigi-windows-k10_64.dll
2018/11/16 21:11:41 | INFO: Native BigInteger library jbigi-windows-k10_64.dll loaded from resource
WARN: Old router was not shut down gracefully, deleting C:\Users\anon\AppData\Roaming\I2P\router.ping
INFO: Native CPUID library jcpuid-x86-windows.dll loaded from resource
INFO: Loaded library: jar:file:/O:/FirefoxPortableESR_52.7.3/I2P/lib/jbigi.jar!/jbigi-windows-k10_64.dll
INFO: Native BigInteger library jbigi-windows-k10_64.dll loaded from resource
WARN: Configured for 1.52MiBps share bandwidth but only 123.00MiB available memory. Recommend running the restartable version of I2P, and increasing wrapper.java.maxmemory in O:\FirefoxPortableESR_52.7.3\I2P\wrapper.config to at least 140 (MB) if the actual share bandwidth exceeds 512.00KiBps.
11/16/18 10:50:42 PM CRIT [ShutdownHook] net.i2p.router.Router : Graceful shutdown progress: No more tunnels, starting final shutdown
11/16/18 10:50:44 PM CRIT [ShutdownHook] net.i2p.router.Router : Starting final shutdown(2)
11/16/18 10:50:46 PM CRIT [ShutdownHook] net.i2p.router.Router : Shutdown(2) complete

# here's where I restarted after copying all the files from a new install into a second folder into my older I2P install. I restarted with the .bat file that only had the line.

#START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c wrapper.config

2018/11/16 23:09:52 | --> Wrapper Started as Console
2018/11/16 23:09:52 | Java Service Wrapper Community Edition 32-bit 3.5.25
2018/11/16 23:09:52 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
2018/11/16 23:09:52 | http://wrapper.tanukisoftware.com
2018/11/16 23:09:52 |
2018/11/16 23:09:52 | Launching a JVM...
2018/11/16 23:09:52 | WrapperManager: Initializing...
2018/11/16 23:09:52 | Starting I2P 0.9.37-0
2018/11/16 23:09:52 | New jbigi.jar detected, moved jcpuid library to O:\FirefoxPortableESR_52.7.3\I2P\jcpuid.dll.bak
2018/11/16 23:09:52 | Check logs for successful installation of new library
2018/11/16 23:09:52 | New jbigi.jar detected, moved jbigi library to O:\FirefoxPortableESR_52.7.3\I2P\jbigi.dll.bak
2018/11/16 23:09:52 | Check logs for successful installation of new library
2018/11/16 23:09:53 | INFO: Native CPUID library jcpuid-x86-windows.dll loaded from resource
2018/11/16 23:09:53 | INFO: Loaded library: jar:file:/O:/FirefoxPortableESR_52.7.3/I2P/lib/jbigi.jar!/jbigi-windows-k10_64.dll
2018/11/16 23:09:53 | INFO: Native BigInteger library jbigi-windows-k10_64.dll loaded from resource

zab thanks again for all your help. Most appreciated.

After watching it a little while it does slow down some 60KB/s but nothing, so far, like before. I'm happy,[takes so little to make me happy], but it seems to speed back up.

I now only have one error!

11/16/18 11:10:05 PM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin

over and over and over...

Reading the forum I believe it was Qubes that said there was UPnP error that has been around a long time. Maybe it's still there. This could probably be my retarded chiclet internet and chiclet router probably made by little Chinese slave girls constantly passing out from hunger or throwing themselves off the building to spare themselves the torture. I've given up on forwarding my ports because every time the power goes off, and it's frequent, the router loses all it settings.

I'll leave it alone a while and see if it melts down out or sputters onward.

Sat, 17 Nov 2018, 06:07am #19
YesYesYes well maybe
I2P Legend

"...Now, the fact that the wrapper is 32 bit is due to a bug in the IzPack system which zzz found. I don't know if it has been fixed for 0.9.37, that means that even if you reinstall I2P you may still get a 32-bit wrapper.dll..."

The new wrapper.dll is I believe 64 bit or will work with it. A new dll, wrapper-windows-x86-32.dll, has been added to the "lib" folder.

Sat, 17 Nov 2018, 08:16am #20
YesYesYes well maybe
I2P Legend

I still have a few problems. The .BAT file is left open. When I closed it it immediately shut down I2P. What command is there to hide the cmd window without shutting down I2P?

On another front I've had HUGE progress. I kept getting up and down bandwidth. I also had changes in the I2P Event Log,

Time Event Details
11/17/18 12:49:49 AM Soft restart
11/17/18 12:45:47 AM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/17/18 12:45:01 AM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/17/18 12:32:35 AM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/17/18 12:31:16 AM Reachability change from IPv4: Firewalled; IPv6: OK to Firewalled
11/17/18 12:17:02 AM Reachability change from IPv4: Testing; IPv6: OK to IPv4: Firewalled; IPv6: OK
11/17/18 12:16:05 AM Started router 0.9.37-0

This just repeated on and on. Finally I got a "WARN - Firewalled with Inbound TCP Enabled" in the I2P Router Console.

I went to I2P Network Configuration

http://127.0.0.1:7657/confignet

and selected,

IPv4 Configuration:

Disable inbound (Firewalled by Carrier-grade NAT or DS-Lit)

IPv6 Configuration:

Enable IPv6

Disable inbound (Firewalled by Carrier-grade NAT or DS-Lite)

I don't remember seeing these particular selections being there when I installed. Maybe the upgrade had them and I never went back and looked???? I'm not sure but I do know I looked at this several times earlier. I believe this has solved my bandwidth problems. I'm downloading in I2PSnark at 98KB/s but have hit 200KB/s. I also increased the in tunnels in I2PSnark to 4.

It's so nice to have some speed. Before it was so slow that some torrents all the seeders went away before I could finish the torrent. Very sad. It doesn't have to be blinding fast but not being able to finish torrents because of the glacial download was disheartening.

the program javaw.exe is up to 600MB at times now. I'm going to raise the memory to 1GB and see what happens.

Sat, 17 Nov 2018, 08:36am #21
zab
I2P Legend

I still have a few problems. The .BAT file is left open. When I closed it it immediately shut down I2P. What command is there to hide the cmd window without shutting down I2P?

Good question. I think the "START" in the beginning of the line is already closing the cmd window, but the I2Psvc.exe is opening a new one. Reason I'm saying that is because if you choose to create Start Menu / Desktop shortcuts when installing I2P it will create .lnk instead of .bat files. Those are not supposed to open a cmd prompt, but they open one anyway. TL;DR: I don't know how to solve this, haven't solved it myself on my Windows box.

Idk about the network status issues, seems like you have a funky router. If you want to continue investigating that please start another thread - let's keep this one for the memory issues. Those seem like they're resolved! :)


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Sat, 17 Nov 2018, 04:27pm #22
YesYesYes well maybe
I2P Legend

I still have a few problems. The .BAT file is left open. When I closed it it immediately shut down I2P. What command is there to hide the cmd window without shutting down I2P?

On another front I've had HUGE progress. I kept getting up and down bandwidth. I also had changes in the I2P Event Log,

Time Event Details
11/17/18 12:49:49 AM Soft restart
11/17/18 12:45:47 AM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/17/18 12:45:01 AM Reachability change from IPv4: Firewalled; IPv6: Testing to Firewalled
11/17/18 12:32:35 AM Reachability change from Firewalled to IPv4: Firewalled; IPv6: Testing
11/17/18 12:31:16 AM Reachability change from IPv4: Firewalled; IPv6: OK to Firewalled
11/17/18 12:17:02 AM Reachability change from IPv4: Testing; IPv6: OK to IPv4: Firewalled; IPv6: OK
11/17/18 12:16:05 AM Started router 0.9.37-0

This just repeated on and on. Finally I got a "WARN - Firewalled with Inbound TCP Enabled" in the I2P Router Console.

I went to I2P Network Configuration

http://127.0.0.1:7657/confignet

and selected,

IPv4 Configuration:

Disable inbound (Firewalled by Carrier-grade NAT or DS-Lit)

IPv6 Configuration:

Enable IPv6

Disable inbound (Firewalled by Carrier-grade NAT or DS-Lite)

I don't remember seeing these particular selections being there when I installed. Maybe the upgrade had them and I never went back and looked???? I'm not sure but I do know I looked at this several times earlier. I believe this has solved my bandwidth problems. I'm downloading in I2PSnark at 98KB/s but have hit 200KB/s. I also increased the in tunnels in I2PSnark to 4.

It's so nice to have some speed. Before it was so slow that some torrents all the seeders went away before I could finish the torrent. Very sad. It doesn't have to be blinding fast but not being able to finish torrents because of the glacial download was disheartening.

the program javaw.exe is up to 600MB at times now. I'm going to raise the memory to 1GB and see what happens.

Sat, 17 Nov 2018, 05:54pm #23
YesYesYes well maybe
I2P Legend

Raised memory to 1GB and now java.exe hovering around 600K.

Speed, low...56KB/s. I don't know what happens. When I make a big change it rockets up to 120KB/s, 299KB/s. Excellent. Then it plummets back down. It must be my ISP throttling it.

To recap.

1.I had problems due to too little memory. Running I2P.exe would not run the wrapper.config file that raised memory.

2.I made a .BAT file,

START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c wrapper.config

This caused problems because my present set up would only run java 32-bit

3.So I reinstalled I2P current into another folder and copied the updated files into the lib and other folders.

This worked great at first until I started getting getting warning

WARN - Firewalled with Inbound TCP Enabled

4.So I disabled Inbound TCP and got massive great gains in speed which...slowed down again. Very possibly due to java memory crowding when set to 512 in wrapper.config. I moved memory even higher to 1GB or 1000 and that's where I am now. Unfortunately I never regained the speed surge to 200KB/s I got and only get about 50-60 and right now 38KB/s. ISP throttling????? zzz says he hasn't heard of this but I started having severe bandwidth problems about two weeks after they passed the law that allowed ISPs to throttle. Before it was slow but not too bad. It never got too high but never to low either.

I also changed values in firefox

changed values in Firefox

settings on stock firefox portable
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 32
network.http.max-persistent-connections-per-server 6

settings previous
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 500
network.http.max-persistent-connections-per-server 10
network.http.proxy.keep-alive value not there at all

changed again after having I2P problems

present settings(changed)
network.http.max-connections 1200
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 1000
network.http.max-persistent-connections-per-server 200
network.http.tcp_keepalive.long_lived_connections true
network.http.tcp_keepalive.short_lived_connections true
network.websocket.max-connections was 200 changed to 1000

To no avail.

5.One thing I did was copy over the shortcut created when I reinstalled and changed it to go to my old installation but I haven't tried it yet. I suspect it will be the same as I have now with the BAT file as it's no different.

Still getting warnings

Raised memory to 1GB and now java.exe hovering around 600K.

Speed, low...56KB/s. I don't know what happens. When I make a big change it rockets up to 120KB/s, 299KB/s. Excellent. Then it plummets back down. It must be my ISP throttling it.

To recap.

1.I had problems due to too little memory. Running I2P.exe would not run the wrapper.config file that raised memory.

2.I made a .BAT file,

START O:\FirefoxPortableESR_52.7.3\I2P\I2Psvc.exe -c wrapper.config

This caused problems because my present set up would only run java 32-bit

3.So I reinstalled I2P current into another folder and copied the updated files into the lib and other folders.

This worked great at first until I started getting getting warning

WARN - Firewalled with Inbound TCP Enabled

4.So I disabled Inbound TCP and got massive great gains in speed which...slowed down again. Very possibly due to java memory crowding when set to 512 in wrapper.config. I moved memory even higher to 1GB or 1000 and that's where I am now. Unfortunately I never regained the speed surge to 200KB/s I got and only get about 50-60 and right now 38KB/s. ISP throttling????? zzz says he hasn't heard of this but I started having severe bandwidth problems about two weeks after they passed the law that allowed ISPs to throttle. Before it was slow but not too bad. It never got too high but never to low either.

I also changed values in firefox

changed values in Firefox

settings on stock firefox portable
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 32
network.http.max-persistent-connections-per-server 6

settings previous
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 500
network.http.max-persistent-connections-per-server 10
network.http.proxy.keep-alive value not there at all

changed again after having I2P problems

present settings(changed)
network.http.max-connections 1200
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 1000
network.http.max-persistent-connections-per-server 200
network.http.tcp_keepalive.long_lived_connections true
network.http.tcp_keepalive.short_lived_connections true
network.websocket.max-connections was 200 changed to 1000

To no avail.

5.One thing I did was copy over the shortcut created when I reinstalled and changed it to go to my old installation but I haven't tried it yet. I suspect it will be the same as I have now with the BAT file as it's no different.

Still getting warnings

Rejecting tunnels high message delay

and

11/17/18 11:16:18 AM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin

Thanks for all the help. Sorry this is so long but I wanted to cover all I did with detail so things would be missed. No way to do this without being a little wordy.

Last edited: Sat, 17 Nov 2018, 06:04pm by YesYesYes well maybe

Sat, 17 Nov 2018, 06:43pm #24
zab
I2P Legend

It's hard to make definitive statements about what is causing snark speed stalls once the more obvious reasons (like low memory) are ruled out. I don't think your ISP is throttling you because if it were, you would never get the speed spikes in the first place.

What about your up bandwidth limit in snark? The default is 25kbps which may be low, and with the BitTorrent protocol the more you upload the faster you download. Have you changed that setting in the snark options?


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p

Sat, 17 Nov 2018, 06:50pm #25
YesYesYes well maybe
I2P Legend

As an update. I looked at the java.exe memory and it's now jumped to 920MB(I have it set to 1GB) and the download speed of I2P jumped to 220KB/s. I have no idea why the whole thing is so random. What exactly would I measure to narrow this down??? Maybe it's just the ISP screwing up and it gives me a good speed then backs up and starts delaying the signals til the whole thing craps out???

Sat, 17 Nov 2018, 06:55pm #26
YesYesYes well maybe
I2P Legend

One thing that seems to correspond, but not 100% sure, with lowering of speed is this warning

PM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin

I'll start a new thread on this warning if I can verify this further. Next time the speed goes up I'll watch it until it goes down and see for sure.

Sun, 18 Nov 2018, 02:03pm #27
zzz
Administrator
Zzz

that's a UPnP error, saying it can't open the port on your firewall, or it isn't actually a UPnP firewall at all. You can ignore it, or try to diagnose it, but it's unrelated to anything else. I should probably change that from an error to a warning.

Mon, 19 Nov 2018, 02:07am #28
YesYesYes well maybe
I2P Legend

"...What about your up bandwidth limit in snark? The default is 25kbps which may be low, and with the BitTorrent protocol the more you upload the faster you download. Have you changed that setting in the snark options?..."

I raised it to 100KBps for the very reason you stated but I only have two tunnels out. I'll try lowering it.

Here's a rash of stuff I wrote as notes.

changed values in Firefox

settings on stock firefox portable
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 32
network.http.max-persistent-connections-per-server 6

present settings(changed) since changed to below
network.http.max-connections 900
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 500
network.http.max-persistent-connections-per-server 10
network.http.proxy.keep-alive value not there at all

changed again after having I2P problems

present settings(changed)
network.http.max-connections 1200
network.http.max-connections-per-server value not there at all
network.http.max-persistent-connections-per-proxy 1000
network.http.max-persistent-connections-per-server 200
network.http.tcp_keepalive.long_lived_connections true
network.http.tcp_keepalive.short_lived_connections true
network.http.proxy.keep-alive value not there at all Note: This preference is effectively obsolete, as all connections are considered keep-alive in HTTP/1.1.
network.websocket.max-connections was 200 changed to 1000

Specs at high speed
82 torrents, 264 GiB, 80 connected peers, 509 DHT peers 147KBs @ java.exe 824KB

warning below did not immediately drop bandwidth

1:00:36 PM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin

Typical reading while watching the high speed and the time it started down. From I2PSnark up and down speed.

82 torrents, 264 GiB, 75 connected peers, 585 DHT peers 158.2 KBps 1:00
82 torrents, 264 GiB, 82 connected peers, 623 DHT peers 158.3 KBps 48.3 KBps 1:04
82 torrents, 264 GiB, 80 connected peers, 626 DHT peers; 94.8 KBps 25.7 KBps
82 torrents, 264 GiB, 80 connected peers, 633 DHT peers; 59 KBps 21.2 KBps
82 torrents, 264 GiB, 80 connected peers, 644 DHT peers; 61.3 KBps 18.91 KBps
82 torrents, 264 GiB, 82 connected peers, 667 DHT peers; 93.4 KBps 29.9 KBps 1:09
82 torrents, 258 GiB, 60 connected peers, 721 DHT peers; 34.5 KBps 13.52 KBps 6:30 java.exe 921MB ????

I noticed java.exe would go up and down in value with high memory usage with high speed. As you see above it tended higher later and did not go down much with lower speed. Am I still having memory problems??? It is running right up against the value I gave it 1GB. Could once it hits that value once it gets, whacked in some way and doesn;t recover??? Why doesn't anyone else have memory problems??? I've shown increases with increased memory.

I got lots of the same warning over and over and over repeatedly, (listed below). The speed on starting I2P started low, normal, went way up then plummeted low (shown above) and never really recovered the high speed again. Sometimes it would go up to 60-70KBps. I got many warnings of "Rejecting tunnels: High message delay". Earlier before I changed anything I noticed that in the early morning it would go very high and stay that way for extended periods. Throttling??????

PM ERROR [ponseSocket/] net.i2p.router.transport.UPnP : The IGD device we got isn't suiting our needs, let's disable the plugin

bandwidth
http://127.0.0.1:7657/config
12222 KBps In (97.8 Mbits per second; 32.7 TBytes per month maximum)
7999KBps Out (64 Mbits per second; 21.4 TBytes per month maximum)
20%Share (12.71 Mbits per second; 4.26 TBytes per month maximum)

Changed to

24444 KBps In (195.6 Mbits per second; 65.5 TBytes per month maximum)
7999KBps Out (64 Mbits per second; 21.4 TBytes per month maximum)
20%Share (12.71 Mbits per second; 4.26 TBytes per month maximum)

Changed to

35555 KBps In 284 Mbits per second; 95.2 TBytes per month maximum)
7999KBps Out (64 Mbits per second; 21.4 TBytes per month maximum)
20%Share (12.71 Mbits per second; 4.26 TBytes per month maximum)

WHen I first changed this I first got peaks of 220 KBps then a steady 120KBps. Ureka!!. [Now before you damn me for not changing this befroe...I have, over and over to many different levels the first one was what worked, sigh, reasonably well. Also I did get high speeds briefly with that level.]Then of course it dropped like a rock back to 20KBps or less. Sometimes floating around 60KBps, if lucky, then brief periods where it would go back up to 90-100KBps.

The REAL frustration is to see it jump up to decent 120KBps levels, how files are really making progress and then...nothing. Dribbles, collapse. Arrrgh! It's like being a millionare and losing everything. If you were always poor it wouldn't matter so much. Somehow there's the ability to get these higher speeds, I've had them, but I'll be damned if I know what to look at, change or do to get there.

Remeber I was on XP and changed to win7, thinking it would help[more memory]. Then I've reinstalled from scratch twice and I've reinstalled just the main files once plus read all the config and other files to see if there's anything I can do. I'm fresh out of ideas.

Mon, 19 Nov 2018, 05:50am #29
YesYesYes well maybe
I2P Legend

Well I lowered Snark output to 50KBps, collapse to 5KBps in. Arghh! So I raise it to 250KBps out and...not much difference 9KBps. This is silly I can do better on a stock dial up phone line.

I might add I'm using Win7 enterprise so it shouldn't have any low number of connections like XP did and even if it did how did it go for long periods with high throughput????

One last thing I changed my router.config file earlier to some values that Qubes recommended but looking at them now they are even higher than I had. The file was over written by the newest install. So it's stock. I think the ony change I have is the memory is set higher for java.

lowered

35555 KBps In 284 Mbits per second; 95.2 TBytes per month maximum)
7999KBps Out (64 Mbits per second; 21.4 TBytes per month maximum)
20%Share (12.71 Mbits per second; 4.26 TBytes per month maximum)

24444 KBps In (195.6 Mbits per second; 65.5 TBytes per month maximum)
4000 KBps Out (32 Mbits per second; 10.71 TBytes per month maximum)
20%Share (12.71 Mbits per second; 4.26 TBytes per month maximum)

No change

Just for the hell of it.

BOB application bridge ON
SAM application bridge ON
Nothing...
no change

Now my router may be shit but it's a standard router that comes with ATT DSL. This is not some off brand strange router. Should work. I get decent download speeds for stuff like BSD iso files of multi-GB. Right now I'm downloading a 4.9GB iso file and it's going at 250KBps. No problem. There's got to be some sort of bug.

Mon, 19 Nov 2018, 06:52am #30
zab
I2P Legend

I don't want to discourage you from experimenting, but there is no exact answer to your question. Traffic in I2P gets routed between many different nodes, and is going to be as slow as the slowest link in the chain. That bit is out of your control, and there's nothing you can do locally to change that.

What you've already done, namely move to Win7 and increase the memory in wrapper.config were the right things to do. I see you're trying out random changes that are unrelated to snark; there's not much point in doing those.

On the bright side, I2P will have automatic bandwidth detection in the next release and that should make sure that majority of the nodes on the network are correctly configured for their available bandwidth. The current defaults are too small, and I'm guessing most people don't change their bandwidth settings. That alone should help throughput a lot, including snark's speeds.


email: zab@mail.i2p Irc2P/keybase: zlatinb
lab: http://z-lab.i2p
blog: http://zab.i2p