<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oar-p2p, branch v0.2.16</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/'/>
<entry>
<title>chore: bump version to 0.2.16</title>
<updated>2025-08-08T12:31:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-08T12:31:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=0ec99bc3e9a59f12f38a4180e49391800bc25f64'/>
<id>0ec99bc3e9a59f12f38a4180e49391800bc25f64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improved container wait reliability with timeouts/retries</title>
<updated>2025-08-08T12:30:43+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-08T12:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=2b7d8cc7ce98f706dc07becec36263dd40f25d03'/>
<id>2b7d8cc7ce98f706dc07becec36263dd40f25d03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doubled tcp max orphan limit</title>
<updated>2025-08-08T09:38:39+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-08T09:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=6eab78fa80a47adfeded4fe10cd57b77c20bed07'/>
<id>6eab78fa80a47adfeded4fe10cd57b77c20bed07</id>
<content type='text'>
the default value on the machines seems to be 262144 but on some larger
experiments dmesg will sometimes show the following logs:
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets

hopefully increasing this limit will fix that.
https://serverfault.com/questions/624911/what-does-tcp-too-many-orphaned-sockets-mean
the second answer on server faul also says it could be due to tcp memory
limits:
```
The possible cause of this error is system run out of socket memory.Either you need to increase the socket memory(net.ipv4.tcp_mem) or find out the cause of memory consumption

        [root@test ~]# cat /proc/sys/net/ipv4/tcp_mem
         362688  483584  725376
So here in my system you can see 725376(pages)*4096=2971140096bytes/1024*1024=708 megabyte

So this 708 megabyte of memory is used by application for sending and receiving data as well as utilized by my loopback interface.If at any stage this value reached no further socket can be made until this memory is released from the application which are holding socket open which you can determine using netstat -antulp.
```
but for now I will just increase the max orphans and see if that is
enough.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the default value on the machines seems to be 262144 but on some larger
experiments dmesg will sometimes show the following logs:
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets
[Fri Aug  8 05:01:42 2025] TCP: too many orphaned sockets

hopefully increasing this limit will fix that.
https://serverfault.com/questions/624911/what-does-tcp-too-many-orphaned-sockets-mean
the second answer on server faul also says it could be due to tcp memory
limits:
```
The possible cause of this error is system run out of socket memory.Either you need to increase the socket memory(net.ipv4.tcp_mem) or find out the cause of memory consumption

        [root@test ~]# cat /proc/sys/net/ipv4/tcp_mem
         362688  483584  725376
So here in my system you can see 725376(pages)*4096=2971140096bytes/1024*1024=708 megabyte

So this 708 megabyte of memory is used by application for sending and receiving data as well as utilized by my loopback interface.If at any stage this value reached no further socket can be made until this memory is released from the application which are holding socket open which you can determine using netstat -antulp.
```
but for now I will just increase the max orphans and see if that is
enough.
</pre>
</div>
</content>
</entry>
<entry>
<title>only print last 500 lines of logs on container failure</title>
<updated>2025-08-08T09:37:10+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-08T09:37:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=817dd1edf61f358397e0b8099bc9e2669a7d169c'/>
<id>817dd1edf61f358397e0b8099bc9e2669a7d169c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: bump version to 0.2.15</title>
<updated>2025-08-07T14:29:40+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-07T14:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=eacbea7f2be13740cae036542d19a1cb6b49b010'/>
<id>eacbea7f2be13740cae036542d19a1cb6b49b010</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: increase arp cache table size</title>
<updated>2025-08-07T14:27:29+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-07T14:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=fda85a9ebb6d7af932b5b980d77433462d3c1425'/>
<id>fda85a9ebb6d7af932b5b980d77433462d3c1425</id>
<content type='text'>
dmesg was showing this messages:
[Thu Aug  7 14:05:26 2025] net_ratelimit: 4328 callbacks suppressed
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!

and the machines were becoming inaccessible. increase the arp cache size
fixes this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dmesg was showing this messages:
[Thu Aug  7 14:05:26 2025] net_ratelimit: 4328 callbacks suppressed
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!
[Thu Aug  7 14:05:26 2025] neighbour: arp_cache: neighbor table overflow!

and the machines were becoming inaccessible. increase the arp cache size
fixes this.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: bump version to 0.2.14</title>
<updated>2025-08-07T10:32:18+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-07T10:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=e25dff870fe1da79dc9455f3e7b7cd01d4b1110b'/>
<id>e25dff870fe1da79dc9455f3e7b7cd01d4b1110b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>disabled conntrack on 10.0.0.0/8 packets</title>
<updated>2025-08-07T10:29:15+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-07T10:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=481ebae4f0fc9bed6afdfdf9f08e3b2b04f276c6'/>
<id>481ebae4f0fc9bed6afdfdf9f08e3b2b04f276c6</id>
<content type='text'>
we were hitting conntrack limits when opening lots of connections and
sending UDP packets to many different hosts. this resulted in TCP
packets getting dropped which would manifest itself as errors when
connecting or timeouts and when sending UDP packets using `sendto` it
would fail with permission denied error. disabling conntrack fixes all
of these problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we were hitting conntrack limits when opening lots of connections and
sending UDP packets to many different hosts. this resulted in TCP
packets getting dropped which would manifest itself as errors when
connecting or timeouts and when sending UDP packets using `sendto` it
would fail with permission denied error. disabling conntrack fixes all
of these problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed dmesg logs from tc</title>
<updated>2025-08-07T10:28:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-07T10:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=d9f0415c1dceb418eac81ff16d6eaa78fe1f4743'/>
<id>d9f0415c1dceb418eac81ff16d6eaa78fe1f4743</id>
<content type='text'>
there were messages similar to:
HTB: quantum of class 10020 is small. Consider r2q change.
that showed up when brining up the network. this commit fixes that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
there were messages similar to:
HTB: quantum of class 10020 is small. Consider r2q change.
that showed up when brining up the network. this commit fixes that.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: bump version to 0.2.13</title>
<updated>2025-08-02T09:59:19+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-02T09:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/oar-p2p/commit/?id=a9d54bdf727dcfa4b4c2d341f3f77cde448fa80e'/>
<id>a9d54bdf727dcfa4b4c2d341f3f77cde448fa80e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
