meta_pixel
Tapesearch Logo
Log in
Accidental Tech Podcast

380: Wires Are Great

Accidental Tech Podcast

Marco Arment

Technology

4.32.5K Ratings

🗓️ 28 May 2020

⏱️ 135 minutes

🧾️ Download transcript

Summary

THE ATP STORE IS BACK!! Make your purchases until June 7th.

Sponsored by:

  • Basecamp: The all-in-one toolkit for working remotely. Get 10% off your first six months.

Transcript

Click on a timestamp to play from that location

0:00.0

I think I have fixed the live stream issue from last week or at least I I have changed the live stream issue

0:07.2

From last week

0:09.2

So last week in the middle to show the live stream cut out and the reason why it had

0:13.3

Consumed something like seven or eight gigs of RAM and the server has eight and so it got killed for the out of memory killer

0:19.2

And they restarted it and almost everyone was able to rejoin and it didn't use nearly as much ram as it did before

0:24.6

So it sounds kind of like a memory leak

0:27.1

And it didn't seem related to the number of listeners directly necessarily now when I built the new website I added this

0:34.2

Listen or count thing that was like the the page

0:37.5

Peer out of the just does an a-jacks request batch the server the server checks with the I can the ice cast server

0:42.0

Which ones this like private admin interface

0:44.0

And gives us XML file back and the server my server parses it and feeds it back through the to the user and updates the page

0:51.4

Anyway, my theory is that that like check the status request because it was being checked every like 15 seconds

1:00.2

By every listener on the stream if there's any leak in that

1:05.0

That was a pretty aggressive amount of checking and so that might have resulted in it

1:09.8

Now over the course of that like the second part of the show after it was killed and restarted

1:13.8

It still got all the way up to about 1.7 gigs of RAM

1:17.4

Where it stayed until a half hour ago so it stayed there all week with no listeners

1:22.2

Until a half hour ago when I restarted it so we'll see how it goes so far right now we are at a

1:28.2

Little under let's see we're at a little under 800 megs

1:32.8

That sounds high to me so maybe this isn't solved

1:35.4

But we'll see if it continues to grow anyway the fix that I did was I implemented caching on that status value so that now

1:43.1

My server is caching the results gets from the ice cast server for about 30 seconds

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Marco Arment, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Marco Arment and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.