Tracker1 wrote to Weatherman <=-
Re: Re: Web Server
By: Weatherman to Nightfox on Sun May 14 2023 01:55:00
I was just wondering if there was an established threshold at which web V4 on Synchronet became more "civilized" in its behavior. Don't want to throw a bunch of RAM in this thing just to find out that the cpu clock speed is below what is needed or that I could have avoided the mess just by adjusting a swappiness parameter.
Old message, my my biggeest suggestion would be to use an SSD or NVME drive if you can. You don't necessarily need to make a huge investment
in ram, the VM I'm running SBBS on via Docker has 4GB, and most of the time isn't even using 1/4 of that. The disk scanning for messages can
be slow on some systems/drives. Also, if you're on Linux, you can
check your settings for open file handles, etc. There's usually advice around this for "Linux File Server" as a search term, even though your application is different.
Thanks for the food for thought. I have a bit of a bad taste for SSDs in my mouth, having recently been involved in a project to pre-emptivly replace some 13,000 SSDs in a data center because there was a possibilty of them failing prematurely. Call me an old fogey (no... go ahead, I AM an old fogey) but I like spinning drives. The M.2 drive in this computer is constantly an issue of frustration and while the SSD seems stable, it seems like a bit of a hassle to reinvest in storage on a machine that's barely using it as it is.
I don't know if the bottle neck is in disk access anyway. When I do experience the pause in the web server there's no disk activity detected on the BBS machine, it's more like a "hold on, I'm thinking about it" kind of thing. Regardless, I switched from the webv4 to the old web server and performance is peppy and dependable. This leads me to your suggestion regarding open file handles. That could definitely be the issue that I'm hitting and deserves some more investigation. I DO seem to recall reading something of that nature for a different symptom and actually running a fix for it on the BBS in recent weeks - and since I HAVE done that, maybe revisiting webv4 is warranted.
... "42? 7 and a half million years and all you can come up with is 42?!"
--- MultiMail/Linux v0.49
þ Synchronet þ The Lost Chord BBS - Cheyenne, WY
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)