Forwarded from Chapi Dev Talks
After way too many days of debugging and diving into tech that looks like it was built in the year 2000, I finally found the culprit.
It wasnโt the code. It wasnโt the config. It was OS-level limitations. ๐ญ๐ญ๐ญ
Seriously, that "think outside the box" advice is actually real.
Iโve been battling SIP stuff using FreeSwitch, and it kept failing mid-execution.
Since Iโm running it on Docker, I didn't immediately suspect the OS itself.
After days of banging my head against the wall, I tweaked the kernel settings below andโboomโit actually works.
It still needs some optimization since itโs not a bare-metal server, but at least itโs stable now!
Here is the sysctl.conf magic that saved my sanity:
Victorious.
Let me get some rest then.
Good night
It wasnโt the code. It wasnโt the config. It was OS-level limitations. ๐ญ๐ญ๐ญ
Seriously, that "think outside the box" advice is actually real.
Iโve been battling SIP stuff using FreeSwitch, and it kept failing mid-execution.
Since Iโm running it on Docker, I didn't immediately suspect the OS itself.
After days of banging my head against the wall, I tweaked the kernel settings below andโboomโit actually works.
It still needs some optimization since itโs not a bare-metal server, but at least itโs stable now!
Here is the sysctl.conf magic that saved my sanity:
# etc/sysctl.conf
# Maximize the number of open files
fs.file-max = 2097152
# UDP Buffer Sizes - Essential for high-rate RTP/SIP packets (approx 256MB)
net.core.rmem_max = 268435456
net.core.wmem_max = 268435456
net.core.rmem_default = 268435456
net.core.wmem_default = 268435456
# Increase packets in the backlog queue
net.core.netdev_max_backlog = 100000
# Increase local ports available for UDP/TCP
net.ipv4.ip_local_port_range = 1024 65535
# Conntrack tuning - prevents the kernel from dropping high-traffic VoIP packets
net.netfilter.nf_conntrack_max = 1048576
net.netfilter.nf_conntrack_tcp_timeout_established = 3600
Victorious.
Let me get some rest then.
Good night
๐ฅ4โค1
Please reach out only if you can work on this consistently (every two) and strictly meet deadlines.
When you send a message, please include your department (if youโre a student) and your experience, such as your GitHub or portfolio.
@devwitheyob
#TechVibe
When you send a message, please include your department (if youโre a student) and your experience, such as your GitHub or portfolio.
@devwitheyob
#TechVibe
โค2๐2๐ฅฐ1
Thank you guys for your interest, I got someone๐
I will keep posting here, when I got some gigs
I will keep posting here, when I got some gigs
๐11๐1๐ฅ1
Forwarded from Tech Nerd (Tech Nerd)
Just launched on Product Hunt ๐ฅ
Would really appreciate your support.. drop an upvote if you can ๐ .. It means a lot and helps more people discover what Iโve been building.
link here : https://www.producthunt.com/products/pine-ai-2
Thanks for always showing love ๐
@selfmadecoder
Would really appreciate your support.. drop an upvote if you can ๐ .. It means a lot and helps more people discover what Iโve been building.
link here : https://www.producthunt.com/products/pine-ai-2
Thanks for always showing love ๐
@selfmadecoder
๐2
Do you guys ever feel like thereโs never enough time, but you still have to focus on one thing and progress slowly? It gets really overwhelming.
Sometimes I wish I had started my tech journey back in high schooldays, I wrote my first hello world just two years ago, and now Iโm trying to learn as much as I can, as fast and as deeply as possible, but balancing work and everything else makes it really overwhelming ๐
Anyways good night gang๐
@devwitheyob
#TechVibe #random
Sometimes I wish I had started my tech journey back in high schooldays, I wrote my first hello world just two years ago, and now Iโm trying to learn as much as I can, as fast and as deeply as possible, but balancing work and everything else makes it really overwhelming ๐
Anyways good night gang๐
@devwitheyob
#TechVibe #random
โค8
Forwarded from Watcher Guru
All this time I've been using Nano to edit some code on a remote server....today my friend showed me remote ssh extension on vscode๐ญ๐ญ
@devwitheyob
#TechVibe #extensions
@devwitheyob
#TechVibe #extensions
๐ฅ2
I miss coding
Like real coding. Where you name a variable something stupid and refactor methods one at a time. And you donโt know if it compiles until you run it.
The dopamine hit when it does.โโโโโโโโโโโโโโโ
@devwitheyob
#TechVibe #x
Like real coding. Where you name a variable something stupid and refactor methods one at a time. And you donโt know if it compiles until you run it.
The dopamine hit when it does.โโโโโโโโโโโโโโโ
@devwitheyob
#TechVibe #x
โค6๐ค6
Guys, I made some decisions today. Not gonna say them yet โcause they might sound silly, but if they work, Iโll tell you. If not, I'll still share them, you might find them helpful.
@devwitheyob
#TechVibe #decisions
@devwitheyob
#TechVibe #decisions
๐5
Forwarded from Dagmawi Babi Jobs
โ ๏ธ๐จ
https://t.me/SeriesBayX/2099
Iran started targeting US tech facilities in the middle east, have a backup if you've hosted anything in that region. Your data gets inaccessible. Share with people!
https://t.me/SeriesBayX/2099
Iran started targeting US tech facilities in the middle east, have a backup if you've hosted anything in that region. Your data gets inaccessible. Share with people!
โค3๐1
A little note when you self host n8n with Hostinger it is not properly working with VPS opened
@devwitheyob
#TechVibe #tips #n8n
@devwitheyob
#TechVibe #tips #n8n