News for hackers. Stuff that matters.
Re:Shout: The self-hosted web IRC client by Kihashi on Monday February 01, 2016 @03:18PM (#11015062)
I've been using it for over 6 months now with multiple users connected to multiple servers with quite a few active channels. I've had it crash from memory leaks (on a 1GB Linode VPS) once in all that time. Maybe PonyChat is just waaaay more active than the channels I'm in? At the moment, HTOP reports it using about 17% of my memory.
Re:Shout: The self-hosted web IRC client by josegonzalez on Monday February 01, 2016 @03:56PM (#11015352)
Not a memory leak. Messages are persisted in-memory. So more messages == more memory usage.
Re:Shout: The self-hosted web IRC client by duaneb on Monday February 01, 2016 @04:03PM (#11015420)
> Messages are persisted in-memory.

Unbounded storage is a leak. What kind of server would one build that would always eventually crash under completely normal usage?

Re:Shout: The self-hosted web IRC client by goldbrick on Monday February 01, 2016 @05:02PM (#11015884)
Lots of them in fact, when you consider logging to disk.
Re:Shout: The self-hosted web IRC client by duaneb on Monday February 01, 2016 @05:05PM (#11015905)
...and I sincerely hope you are using log rotation or your server will eventually become useless, too.
Re:Shout: The self-hosted web IRC client by xena on Monday February 01, 2016 @05:53PM (#11016290)
I have 4 years of IRC logs in about 4 GB of uncompressed text. YMMV but IRC is not bandwidth or disk-intensive.
Re:Shout: The self-hosted web IRC client by duaneb on Monday February 01, 2016 @06:13PM (#11016423)
Sure. It would also be a pretty shitty server if it crashed because nobody had the forethought to realize history uses memory. 4GB of memory will always be enough....