Re:Shout: The self-hosted web IRC client
by xena on Monday February 01, 2016 @02:09PM
(#11014416)
I run this for PonyChat and run into memory leaking issues. It runs out of memory on a 1 GB node about weekly.
[ Parent
| on HN ]
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.
> 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.
...and I sincerely hope you are using log rotation or your server will eventually become useless, too.
I have 4 years of IRC logs in about 4 GB of uncompressed text. YMMV but IRC is not bandwidth or disk-intensive.
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....