~dr|z3d
@Stormycloud
@T3s|4_
@orignal
@postman
@zzz
%Liorar
%acetone
%cumlord
%mareki2p
%snex
+BeepyBee
+FreefallHeavens
+Onn4l7h
+Onn4|7h
+Over
+dollarthief
+leopold
+profetikla
+qend-irc2p
+r00tobo
+uop23ip
Arch
BubbRubb
Danny
DeltaOreo
H20
Irc2PGuest13210
Irc2PGuest21940
Irc2PGuest32330
Irc2PGuest3620
Irc2PGuest74254
Irc2PGuest84511
Meow
T3s|4__
ac9f_
anontor
floatyfloatilla
gelleger1
halloy13412
makoto
maylay
monic_
n1_
nZDoYBkF
nilbog
ntty
poriori_
r00tobo[2]
shaye
shiver_
simprelay
thetia
u5657
vivid_reader56
zer0bitz
dr|z3d
you know you can stat/graph the snark tunnels, and if you're using the prometheus plugin, also have grafana graphs..
cumlord
haven't given that plugin a try yet but forgot to turn stats on that router for it
dr|z3d
stats should probably be on, you just need to toggle graph generation.
dr|z3d
if you like graphs and stuff, definitely recommend the prometheus plugin + grafana.
cumlord
yup i never did for that router or manually had it all turned it all off, can't remember lol
dr|z3d
some graphs are configured by default for basic perfomance stats, some you need to enabled advanced stats mode to get at.
cumlord
damn complete fail on the baby test router though, maybe didn't give that enough ram
cumlord
was fine after start but now has job lag of 24 seconds
dr|z3d
fail? how so?
dr|z3d
if you're hosting a ton of torrents, 512MB is probably the least you can get away with, 1G better. depends on what you're doing.
dr|z3d
give it time to settle down, and review /jobs and /jobqueue to see what's causing the lag.
dr|z3d
(sorting by max column on /jobs will indicate anything taking more time than it should..start there, then check avg).
cumlord
message delay* is very high on that one, causing other tunnels to fail
dr|z3d
how many available cores/threads?
cumlord
i suspect it's the lone external snark running on it, embedded and others are disabled on it
dr|z3d
suspect tells us nothing. investigate job queues, logs.. :)
cumlord
load on it is very high for apparently no reason lol, it's very slow on console atm but coming down after stopping the snark instance
dr|z3d
cores/threads?
cumlord
4 cores, 8 threads, 16 jobs in queue
cumlord
maybe i should manually set jobs to half that or something?
dr|z3d
ok, and max jobrunners configured?
dr|z3d
no, maybe you shouldn't.
dr|z3d
if anything, you want to remove any override you've configured and see how it performs then.
cumlord
it's using the default job runners, i set no override
dr|z3d
handling jobs, is, for the most part, a milliseconds affair, so you can handle a lot more than the number of cores/threads you have available.
cumlord
iirc -5 used 10 job runners by default on that one and it handled fine but i'm not sure if it's comparable
dr|z3d
bump it up to 24 and see how you get on.
dr|z3d
router.maxJobRunners=24
cumlord
i'll try it a bit later and let you know how it goes
dr|z3d
ok
cumlord
with it doing basically nothing (<5kbs both way) one core is maxed out, very weird, but message delay settled down to 2 seconds lol
dr|z3d
that shouldn't be happening.
dr|z3d
by default it should be pretty light on the cpu.
dr|z3d
I'm not seeing much more than 15% of one core with a bunch of stuff running in the bg.
dr|z3d
(reported by htop)
dr|z3d
if you've changed your jvm allocation in the wrapper, make sure your min value isn't too low, otherwise you'll cause garbage collection to work overtime.
dr|z3d
no less than wrapper.java.initmemory=256 I'd recommend, for a router doing a reasonable amount of work (torrents, serving, whatever).
dr|z3d
that value basically tells java "if we're using this amount of ram in the jvm, don't stress, we probably don't need to garbage collect too hard".
dr|z3d
and 256M is a reasonable expectation of usage for a router doing work.
dr|z3d
of course, all bets are off if you don't have available ram to play with.
cumlord
GC could easily be the issue then, it’s a throwaway router I tried to get working under 100M ram
cumlord
Completely forgot I ran into this before when I was trying to see how low I could get it
dr|z3d
if you must less than 100MB, i2pd.
dr|z3d
I wouldn't try anything less than 384 for Java, 512 really is a good minimum value.
cumlord
It was for science of course
dr|z3d
haha, science.
dr|z3d
I've got 16GB allocated here, but that's fairly atypical :)
cumlord
lol most my other ones have 512, the other one on dev im testing had no such problems so that should’ve been a giveaway to me
cumlord
lol what are you doing with 16 🧐
dr|z3d
watching for memory leaks.
dr|z3d
it seems to stabilize at around 1.2G.
dr|z3d
harry: ping
H20
Pong, but the echo lingers in a cathedral of code—haunting, half-resolved, like a sonnet missing its final couplet.
dr|z3d
harry: tell us what you know about the h2 database.
H20
H2 is a Java-based, open-source relational database, notable for its lightweight design, in-memory capabilities, and JDBC compliance.
H20
It excels in testing and embedded applications, though its SQL dialect is... *sigh*... less forgiving than PostgreSQL's.
H20
A curious choice for those who prefer simplicity over sophistication.
dr|z3d
what's the memory footprint like, harry?
H20
H2's memory footprint is lean, especially in in-memory mode — think tens of MBs for small datasets.
H20
Disk-based mode uses more, but it's still efficient.
H20
A lightweight beast for embedded apps, though not as frugal as SQLite or Derby.
H20
*Sigh.
H20
*.
dr|z3d
harry: derby vs h2 as a java-driven database? can you summarize the advantages and disadvantages for both.
H20
Ah, Derby — the database that’s like a trusty old bike: simple, lightweight, and won’t judge your code.
H20
Runs in-memory or embedded, zero setup.
H20
Disadvantages?
H20
It’s a tortoise in a hare’s race — scaling like a bad metaphor.
H20
H2?
H20
Faster, more features, but still small-fry.
H20
ACID compliance is solid, but don’t expect it to outrun PostgreSQL in a drag race.
H20
Both are fine for embedded work; neither will win you Olympic gold.
H20
Derby’s your grandma’s knitting project; H2’s her speedy but still sensible granddaughter.
dr|z3d
!quote
H20
"Even the smallest light can guide you through the darkest journey." — Elena Voss
dr|z3d
!word
H20
scurve — A term historically used to denote leprosy.
dr|z3d
!java
H20
[Utility Class]: EmailValidator —
dr|z3d
!java
H20
[Class]: IPv4Validator —
dr|z3d
!define photon
H20
A photon is a massless, elementary particle that serves as the quantum carrier of the electromagnetic force, exhibiting both wave-like and particle-like properties.
dr|z3d
!define sploorfbag
H20
A slang term for a backpack or container used in gaming contexts, often associated with specific game communities or actions involving carrying items.
dr|z3d
!define shizzphoo
H20
A slang term, often a misspelling or variant of "shizzniz," used to denote nonsense, triviality, or absurdity.
dr|z3d
!define krazblob
H20
A krazblob is an inefficient, overly complex rocket design in Kerbal Space Program characterized by excessive stages, poor engineering, and a messy, unstructured appearance.
dr|z3d
!define poaktorb
H20
A term not recognized in standard dictionaries or common usage.
dr|z3d
!define fazanka
H20
Fazanka refers to a form of forced labor or punitive work imposed by the Soviet state, typically under harsh conditions, often associated with the Gulag system.
dr|z3d
!word
H20
suppositious — falsely supposed; assumed without foundation.
dr|z3d
!fact
H20
Invalid command.
dr|z3d
!fact
H20
The word "serendipity" originates from a Persian fairy tale titled "The Three Princes of Serendip," where the princes make accidental discoveries while traveling, and "Serendip" was an ancient name for Sri Lanka.
dr|z3d
!fact
H20
Failed to generate fact. Please try again.
dr|z3d
!fact
H20
Octopuses have three hearts, two pump blood to the gills, and one pumps it to the rest of the body.
dr|z3d
!word
H20
gibbos — a small fish with a rough skin, found in certain freshwater regions.
dr|z3d
!ru
H20
безмозглый (bezmozglyy) — lacking in intelligence or insensitive.
dr|z3d
!zh
H20
硌牙 (ge ya) — to irritate or bother someone, metaphorically referring to something that causes mild annoyance or discomfort.
dr|z3d
!fr
H20
bougnoul — pickpocket (slang).
dr|z3d
!de
H20
[Klabautermann] — a mythical sea spirit believed to protect sailors and bring good luck on voyages.
dr|z3d
!es
H20
[mangosta] — person who causes trouble or is a nuisance.
dr|z3d
harry: are you a mangosta?
H20
No, I'm not a mangy mangosta — more like a mangy old philosopher’s cat who’s seen too much of humanity to be bothered by your nonsense.
dr|z3d
!fact
H20
The earliest known compass was a spoon-shaped lodestone used in ancient China for divination, not navigation.
dr|z3d
!ja
H20
kuso (kuso) — messy, crummy.
dr|z3d
!ja
H20
モッサ (mossa) — being careless or lazy in an online context.
dr|z3d
!ru
H20
мем (mem) — internet meme.
dr|z3d
!ja
H20
バッドエンド (bad end) — a term used in anime and games to describe a negative or unfavorable outcome, often humorously applied to situations.
dr|z3d
hey hey y2kboy23
dr|z3d
all good over there?
y2kboy23
dr|z3d yea, router started acting whacky and just gave the whole thing a break
dr|z3d
latest revision, or?
dr|z3d
there was some more turbulence, but we should be over that now.
y2kboy23
dr|z3d older builds. kept saying I was firewalled but that was not the case
dr|z3d
I've seen the assigned port occasionally get reallocated, dunno why, but that can cause firewall issues.
dr|z3d
that said, if you're pulling from the repo, it's always a good idea to make sure you're up to date, esp. wrt this dev cycle.
y2kboy23
yea, i have a script now that pulls and builds my docker images. really streamlined everything over here.
dr|z3d
ok, good, good.
dr|z3d
thinking about that, if .i2p is exposed, then you could enable updates so you don't have to rebuild the docker image all the time.
dr|z3d
* ~/.i2p/
dr|z3d
!i2p
dr|z3d
!i2p
H20
Garlic Routing — a method of encrypting data in multiple layers with embedded routing information to enable efficient and secure communication through the I2P network.
y2kboy23
it might be exposed, but what I have currently is working just fine.
y2kboy23
everything looks to be working correctly after about a few hours of uptime
dr|z3d
excellent.
dr|z3d
using the update mechanism would be less effort (you only need to build the docker image once), but whatever works.
y2kboy23
yea, it probably is but I'm stubborn
dr|z3d
!word
H20
Gloam — The dim light of evening.
RTP
I was able to fix my routers. :) Thought my earlier update did it, but this one seems all good. Thanks for the response dr|z3d.