• When synchronet web server is being accessed, log file switches back a

    From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Thu Jan 8 02:54:14 2026
    open https://gitlab.synchro.net/main/sbbs/-/issues/1045

    I've noticed in my logs that when a request is made to web.magnumbbs.net (my webv4 instance), sbbs switches back and forth from http-web.magnumbbs.net-YYYY-MM-DD and http-YYYY-MM-DD.

    Here is a snapshot of my logs:

    https://pastebin.com/ZrC8Nd5y

    Here are the files:

    -rw-rw----. 1 sbbs sbbs 0 Jan 8 00:00 http-2026-01-08.log
    -rw-rw----. 1 sbbs sbbs 698204 Jan 8 10:51 http-web.magnumbbs.net-2026-01-08.log

    I'm not sure why sbbs keeps on going back and forth between logfiles only to write nothing out to the http-YYYY-MM-DD file.

    Surely this is just wasting resources?
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Jan 8 03:02:35 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1045#note_8095

    I'm not sure why it's going back and forth (Deuce would know) between hostname'd log file and without. I think if you disable VHOST support in the web server, that eliminates the hostname from the http log filenames.

    But if you don't want/use the http log files, turn off the web server "HTTP_LOGGING" option.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Jan 8 03:03:11 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1045#note_8096

    When googlebot crawls my web pages, about 1 request per second, my sbbs process jumps up to about 50% cpu utilisation.

    3088619 sbbs 20 0 2902248 990.6m 10528 S 53.5 8.4 97:15.22 sbbs

    53.5% in this case.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Jan 8 03:04:10 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1045#note_8097

    Will look into these - ty.

    Should we assign the ticket to Deuce so he can take a look?
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Jan 8 03:06:43 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1045#note_8098

    Re VHOSTS, I have an issue with someone "domain fronting" my web server, so I need VHOSTS to stop this issue.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)