• Web Server

    From Weatherman@1:103/705 to All on Sun May 7 02:24:00 2023
    Question about the web V4 server in Synchronet 3.20. I recently rebuilt, reinstalled and reconfigured Synchronet but I find that the new web server seems to run inconsistently on my system. I experimented and checked into Vertrauen and find that it also runs a bit slow there (although not nearly as slow as on my set up).

    I'm willing to put the blame on my current hardware. I've been running the BBS on yard sale finds for over a decade and this is the fourth or fifth machine I've had the BBS on since I switched to Synchro net. It's not at all a high-end system. It's an Intel Core 2, running at 1.86 GHz with 2GB RAM. OS is Debian 11 and there are four two TB drives in the box (although only ONE of them is dedicated to the BBs). So the question is, what are the hardware requirements for the new web interface? I've managed to switch back to the old web server version, which runs really well - and I don't mind staying there at all. Just wondering if it's worth throwing a couple of extra memory sticks in the box to get the new web server running smoothly.



    ... The best way to accelerate a Mac is at 9.8m/s^2
    --- MultiMail/Linux v0.49
    þ Synchronet þ The Lost Chord BBS - Cheyenne, WY
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Weatherman on Sun May 7 06:22:54 2023
    On Sun, 7 May 2023 02:24:00 -0600
    "Weatherman" (VERT/TLCBBS) <VERT/TLCBBS!Weatherman@endofthelinebbs.com>
    wrote:

    Question about the web V4 server in Synchronet 3.20. I recently
    rebuilt, reinstalled and reconfigured Synchronet but I find that the
    new web server seems to run inconsistently on my system. I
    experimented and checked into Vertrauen and find that it also runs a
    bit slow there (although not nearly as slow as on my set up).

    I'm willing to put the blame on my current hardware. I've been
    running the BBS on yard sale finds for over a decade and this is the
    fourth or fifth machine I've had the BBS on since I switched to
    Synchro net. It's not at all a high-end system. It's an Intel Core
    2, running at 1.86 GHz with 2GB RAM. OS is Debian 11 and there are
    four two TB drives in the box (although only ONE of them is dedicated
    to the BBs). So the question is, what are the hardware requirements
    for the new web interface? I've managed to switch back to the old
    web server version, which runs really well - and I don't mind staying
    there at all. Just wondering if it's worth throwing a couple of
    extra memory sticks in the box to get the new web server running
    smoothly.


    Mine isn't really slow. Maybe another 2gb more wouldn't hurt. If you
    have an AMD board let me know what sort of memory it takes. I have lots
    of old memory that work in an other system.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Weatherman on Sun May 7 12:34:54 2023
    Re: Web Server
    By: Weatherman to All on Sun May 07 2023 02:24 am

    Question about the web V4 server in Synchronet 3.20. I recently rebuilt, reinstalled and reconfigured Synchronet but I find that the new web server seems to run inconsistently on my system. I experimented and checked into Vertrauen and find that it also runs a bit slow there (although not nearly as slow as on my set up).

    When you say it runs "inconsistently" on your system, what does that mean? Or do you mean it runs slower than before?

    only ONE of them is dedicated to the BBs). So the question is, what are the hardware requirements for the new web interface? I've managed to switch back to the old web server version, which runs really well - and I don't mind staying there at all. Just wondering if it's worth throwing a couple of extra memory sticks in the box to get the new web server running smoothly.

    I'd bet running it on something faster with more RAM would help. However, as far as I'm aware, there isn't a new web server in Synchronet 3.20, so I wouldn't have expected anything to change there.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Weatherman@1:103/705 to Nelgin on Sun May 14 01:47:00 2023
    Nelgin wrote to Weatherman <=-

    On Sun, 7 May 2023 02:24:00 -0600
    "Weatherman" (VERT/TLCBBS) <VERT/TLCBBS!Weatherman@endofthelinebbs.com> wrote:

    Mine isn't really slow. Maybe another 2gb more wouldn't hurt. If you
    have an AMD board let me know what sort of memory it takes. I have lots
    of old memory that work in an other system.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    = Synchronet = End Of The Line BBS - endofthelinebbs.com

    Nelgin,
    Thanks for the offer, It's an Intel chip/board so I have plenty of RAM around. I might just stick with the original web design. It's working well and for some reason I find it more pleasing to my preferences. But thanks again!

    Weatherman


    ... Direct from the Ministry of Silly Walks
    --- MultiMail/Linux v0.49
    þ Synchronet þ The Lost Chord BBS - Cheyenne, WY
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Weatherman@1:103/705 to Nightfox on Sun May 14 01:55:00 2023
    Nightfox wrote to Weatherman <=-

    Re: Web Server
    By: Weatherman to All on Sun May 07 2023 02:24 am

    Question about the web V4 server in Synchronet 3.20. I recently rebuilt, reinstalled and reconfigured Synchronet but I find that the new web server seems to run inconsistently on my system. I experimented and checked into Vertrauen and find that it also runs a bit slow there (although not nearly as slow as on my set up).

    When you say it runs "inconsistently" on your system, what does that
    mean? Or do you mean it runs slower than before?

    In essence, when running on the web V4 format when browsing messages things will work fine for the first couple of messages selected and then when changing message bases there will be a long pause, a minute or so before the screen refreshes. I've checked and find similar on Vertrauen, but with a shorter pause, maybe 10-15 seconds. Then things will work well for another few messages and then I find the long pause again...

    only ONE of them is dedicated to the BBs). So the question is, what are the hardware requirements for the new web interface? I've managed to switch back to the old web server version, which runs really well - and I don't mind staying there at all. Just wondering if it's worth throwing a couple of extra memory sticks in the box to get the new web server running smoothly.

    I'd bet running it on something faster with more RAM would help.
    However, as far as I'm aware, there isn't a new web server in
    Synchronet 3.20, so I wouldn't have expected anything to change there.

    Probably not a new SERVER, but a new web FORMAT. That's probably the word I should have used, this is what I get for trying to write about tech while I'm enjoying Ireland's contributions to the whiskey drinking world.

    Yeah, more memory and faster CPU is always a good option, but like most SysOps (I assume) I run this thing out of my own pocket (ahhh, the "glory days" of paid BBS subscriptions is LONG gone) which in my situation equates to "on a shoestring".

    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.

    Weatherman


    ... Years ago I was young and stupid. Now years later I'm no longer young.
    --- MultiMail/Linux v0.49
    þ Synchronet þ The Lost Chord BBS - Cheyenne, WY
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Weatherman@1:103/705 to Tracker1 on Sun May 14 02:00:00 2023
    Tracker1 wrote to Weatherman <=-


    An SSD will probably make the single biggest difference for you. It's
    not a specific minimum, but many are running on potato class hardware.
    I just find that I/O performance tends to be the biggest bottleneck.

    Interesting thought... That would essentially put the OS on a hard drive and the appliation on an SSD. Just topsy-turvy enough for me to be appealling.

    I hadn't thought that the disk i/o for Synchronet would have been that big an issue, particularly running on Linux. Certainly worth a shot, will need to evaluate the situation. The original web format works just fine, no slowdowns, no delays... It's certainly more cost effective to just say "not gonna use web V4" but who knows, I might get silly one day and go out and buy myself an SSD to run the board on....

    ... Direct from the Ministry of Silly Walks
    --- MultiMail/Linux v0.49
    þ Synchronet þ The Lost Chord BBS - Cheyenne, WY
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Weatherman on Sun May 14 16:10:36 2023
    Re: Re: Web Server
    By: Weatherman to Nightfox on Sun May 14 2023 01:55 am

    Probably not a new SERVER, but a new web FORMAT. That's probably the word I should have used, this is what I get for trying to write about tech while I'm enjoying Ireland's contributions to the whiskey drinking world.

    We call these sets of HTML/CSS/SSJS/XJS files a "web INTERFACE". I don't know of any particular reason why ecWebv4 would be any slower than the legacy/runemaster web interface, but I'm sure it's fixable if we (or more specifically, echicken) had details (e.g. log messages, specific reproduction steps, etc.).
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you Norco, CA WX: 79.4øF, 54.0% humidity, 8 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Weatherman on Fri Jun 16 12:32:42 2023
    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.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com

    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Digital Man on Fri Jun 16 12:36:36 2023
    Re: Re: Web Server
    By: Digital Man to Weatherman on Sun May 14 2023 16:10:37

    know of any particular reason why ecWebv4 would be any slower than the legacy/runemaster web interface, but I'm sure it's fixable if we (or more specifically, echicken) had details (e.g. log messages, specific reproduction steps, etc.).

    Likely the way message threads are displayed, vs a single message... probably a full scan of message base looking for downstream replies. Part of why I suggested an SSD. May be faster, for a modern browser on a modern computer to just load the entire message base's headers on the client browser and load the bodies on individual requests.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com

    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From fusion@1:103/705 to Tracker1 on Fri Jun 16 21:33:00 2023
    On 16 Jun 2023, Tracker1 said the following...

    Likely the way message threads are displayed, vs a single message... probably a full scan of message base looking for downstream replies.

    i duno, i tried vert.synchro.net via http and the initial load, clicking the forum link, clicking an area, and then a thread.. all those clicks take almost exactly 10 seconds

    you'd think it'd be more performant than that. does ssjs have a profiler to see where it's spending all that time? there's not a sleep(10000) in there
    somewhere right? :-)

    ... THE fIRST sTEP iS tO tAKE oFF tHE cAPS lOCK

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    # Origin: cold fusion - cfbbs.net - grand rapids, mi
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to fusion on Fri Jun 16 18:46:06 2023
    Re: Re: Web Server
    By: fusion to Tracker1 on Fri Jun 16 2023 09:33 pm

    On 16 Jun 2023, Tracker1 said the following...

    Likely the way message threads are displayed, vs a single message... probably a full scan of message base looking for downstream replies.

    i duno, i tried vert.synchro.net via http and the initial load, clicking the forum link, clicking an area, and then a thread.. all those clicks take almost exactly 10 seconds

    you'd think it'd be more performant than that. does ssjs have a profiler to see where it's spending all that time? there's not a sleep(10000) in there somewhere right? :-)

    If you want a better example, use web.synchro.net instead. Same ecWeb (and Synchronet) code, but different OS (vert is running on Win10 while web.synchro.net is running on Linux).
    --
    digital man (rob)

    Synchronet "Real Fact" #100:
    You can leave a voicemail for The TechDorks (Stephen and I) at 951-523-7535 Norco, CA WX: 73.7øF, 63.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From fusion@1:103/705 to Digital Man on Sat Jun 17 00:02:00 2023
    On 16 Jun 2023, Digital Man said the following...

    If you want a better example, use web.synchro.net instead. Same ecWeb
    (and Synchronet) code, but different OS (vert is running on Win10 while web.synchro.net is running on Linux).

    sheesh the difference is insane.. that can't just be windows can it?

    good to know tho.. sometimes i read there on the phone. or tried to at least

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    # Origin: cold fusion - cfbbs.net - grand rapids, mi
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to fusion on Sat Jun 17 11:40:46 2023
    Re: Re: Web Server
    By: fusion to Digital Man on Sat Jun 17 2023 12:02 am

    sheesh the difference is insane.. th
    can't just be windows can it?

    Windows might just need more resources.
    My BBS is running on Linux and the web
    interface is slow like vert (vs web.)
    but it only has 1.5gb ram.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to fusion on Sat Jun 17 13:40:08 2023
    Re: Re: Web Server
    By: fusion to Digital Man on Sat Jun 17 2023 12:02 am

    On 16 Jun 2023, Digital Man said the following...

    If you want a better example, use web.synchro.net instead. Same ecWeb (and Synchronet) code, but different OS (vert is running on Win10 while web.synchro.net is running on Linux).

    sheesh the difference is insane.. that can't just be windows can it?

    Synchronet for *nix has always been significantly faster than the Windows builds, but those are 2 different computers and the Linux system is a bit more modern. But yeah, it's mostly Windows at fault, I believe.
    --
    digital man (rob)

    This Is Spinal Tap quote #19:
    Oh then, maybe it's not green. Anyway this is what I sleep in sometimes.
    Norco, CA WX: 84.2øF, 45.0% humidity, 6 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Weatherman@1:103/705 to Tracker1 on Sun Jun 18 01:30:00 2023
    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)
  • From Tracker1@1:103/705 to Phigan on Wed Jun 21 23:43:34 2023
    Re: Re: Web Server
    By: Phigan to fusion on Sat Jun 17 2023 11:40:46

    Windows might just need more resources. My BBS is running on Linux and the web interface is slow like vert (vs web.) but it only has 1.5gb ram.

    Yeah, windows (even Lite spins) really needs at least 4gb to run halfway decent.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com

    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)