• msgslib.ssjs error

    From Draco@VERT/LOKISDEN to All on Fri Oct 20 22:23:09 2017
    Hi all!

    I'm having an issue with the following error.

    "!JavaScript /lokisden/mods/../web/lib/msgslib.ssjs line 61: out of memory"

    I just finished updating from CVS 3.17. I've tried enabling debugging in the webserver to figure out what's going on, but no dice. I'm running on CentOS 7 and it was working fine before updating.

    Any help with this would be greatly appreciated!

    -Draco

    ---
    Synchronet My Brand-New BBS
  • From Draco@VERT/LOKISDEN to Draco on Fri Oct 20 22:24:56 2017
    Hi all!

    I'm having an issue with the following error.

    "!JavaScript /lokisden/mods/../web/lib/msgslib.ssjs line 61: out of memory"

    I just finished updating from CVS 3.17. I've tried enabling debugging in the webserver to figure out what's going on, but no dice. I'm running on CentOS 7 and it was working fine before updating.

    Any help with this would be greatly appreciated!

    -Draco

    To make it a little clearer, this only seems to happen when loading email and after
    clicking on another page of it.

    -Draco

    ---
    Synchronet My Brand-New BBS
  • From Nicholas Boel@VERT to Draco on Sat Oct 21 00:15:40 2017
    Hello Draco,

    On Fri Oct 20 2017 22:24:56, Draco wrote to Draco:

    To make it a little clearer, this only seems to happen when loading
    email and after clicking on another page of it.

    What hardware are you running on?

    I only ask, because I recently ran into out of memory errors as well, while running Synchronet's webserver (with everything else) on a Raspberry Pi 3. Once
    the webserver ran for a few days or more, things would stop working until I rebooted.

    I disabled the webserver and haven't had the problem since. I know it doesn't help the devs much because I wasn't able to watch it like a hawk, but .. that was the one thing (webserver) I most recently added, and stopping it did the trick. Granted, a Rpi3 is not a mega processor or anything, and I've never seen
    that issue on any other hardware, so.. Maybe the whole "quad core, 1gb ram" of a Rpi3 isn't really what it's cracked up to be.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Draco@VERT/LOKISDEN to Nicholas Boel on Sat Oct 21 12:08:53 2017
    Hello Draco,

    On Fri Oct 20 2017 22:24:56, Draco wrote to Draco:

    To make it a little clearer, this only seems to happen when loading email and after clicking on another page of it.

    What hardware are you running on?

    I only ask, because I recently ran into out of memory errors as well, while running Synchronet's webserver (with everything else) on a Raspberry Pi 3. Once
    the webserver ran for a few days or more, things would stop working until I rebooted.

    I disabled the webserver and haven't had the problem since. I know it doesn't help the devs much because I wasn't able to watch it like a hawk, but .. that was the one thing (webserver) I most recently added, and stopping it did the trick. Granted, a Rpi3 is not a mega processor or anything, and I've never seen
    that issue on any other hardware, so.. Maybe the whole "quad core, 1gb ram" of a Rpi3 isn't really what it's cracked up to be.

    Regards,
    Nick


    I'm running on a VPS with 1GB RAM, 2GB swap. I've watched in top with no real change
    in memory and the error comes up. Maybe an array is killing the allocated memory for
    javascript run through the web server?

    -Draco

    ---
    Synchronet My Brand-New BBS
  • From Accession@VERT/PHARCYDE to Draco on Sat Oct 21 22:12:38 2017
    Hello Draco,

    On Sat Oct 21 2017 12:08:52, Draco wrote to Nicholas Boel:

    I'm running on a VPS with 1GB RAM, 2GB swap. I've watched in top with
    no real change in memory and the error comes up. Maybe an array is
    killing the allocated memory for javascript run through the web
    server?

    I can't say for sure what's happening there. My _only_ occurrance of that happening was on a Raspberry Pi 3, in which I had many other things going on at
    the same time.

    Has your swap been filled when this happens? If so, there's got to be something
    that's causing a huge memory leap to get to that point. Unless there's some other underlying issue that's causing it, since for me it also happened somewhat recently (last couple months). When I noticed it (maybe two weeks ago or something) I shut down the webserver and haven't seen it happen again since.

    Did you by chance have FTelnet running on your main page? That seems to get a huge amount of traffic where bots sit there and try entering the telnet session, even though they have no clue how to handle something like a login matrix. If so, maybe make your FTelnet page separate from your "index.html/index.xml" or whatever, ie: make it a link off your main page.. and
    see if that helps.

    Obviously the route I took isn't a proper fix, but I didn't want my system missing events and messing other things up while I tried to figure it out. At the same time I picked up an HP Proliant ml310e that I'm in the process of moving everything to. So a lot more processor, a lot more ram, etc.. and am just assuming it will fix itself once it's running on there instead of the Pi -
    before I go bugging any devs about it.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Draco@VERT/LOKISDEN to Accession on Sun Oct 22 17:25:09 2017
    Hello Draco,

    On Sat Oct 21 2017 12:08:52, Draco wrote to Nicholas Boel:

    I'm running on a VPS with 1GB RAM, 2GB swap. I've watched in top with no real change in memory and the error comes up. Maybe an array is killing the allocated memory for javascript run through the web
    server?

    I can't say for sure what's happening there. My _only_ occurrance of that happening was on a Raspberry Pi 3, in which I had many other things going on at the same time.

    Has your swap been filled when this happens? If so, there's got to be something that's causing a huge memory leap to get to that point. Unless there's
    some other underlying issue that's causing it, since for me it also happened somewhat recently (last couple months). When I noticed it (maybe two weeks ago or something) I shut down the webserver and haven't seen it happen again since.

    Did you by chance have FTelnet running on your main page? That seems to get a huge amount of traffic where bots sit there and try entering the telnet session, even though they have no clue how to handle something like a login matrix. If so, maybe make your FTelnet page separate from your "index.html/index.xml" or whatever, ie: make it a link off your main page.. and see if that helps.

    Obviously the route I took isn't a proper fix, but I didn't want my system missing events and messing other things up while I tried to figure it out. At the same time I picked up an HP Proliant ml310e that I'm in the process of moving everything to. So a lot more processor, a lot more ram, etc.. and am just assuming it will fix itself once it's running on there instead of the Pi - before I go bugging any devs about it.

    Regards,
    Nick


    Swap is barely even touched, with about a quarter of real memory used.

    Yes, I have ftelnet on my front page, but I didn't have this issue before I updated.
    It had been a long while since I updated, and it's not the first time an update has
    messed up my setup.

    I had it showing 50 messages at a time. I thought maybe this was an issue overloading the array, but setting it to 25 did fix the issue.

    I suppose I could switch to echicken's web interface. I did try it once and didn't
    really like the way messages were displayed. :/

    -Draco

    ---
    Synchronet My Brand-New BBS
  • From Digital Man@VERT to Draco on Sun Oct 22 22:57:19 2017
    Re: msgslib.ssjs error
    By: Draco to All on Fri Oct 20 2017 10:23 pm

    Hi all!

    I'm having an issue with the following error.

    "!JavaScript /lokisden/mods/../web/lib/msgslib.ssjs line 61: out of memory"

    I just finished updating from CVS 3.17. I've tried enabling debugging in the webserver to figure out what's going on, but no dice. I'm running on CentOS 7 and it was working fine before updating.

    Any help with this would be greatly appreciated!

    What are the "JavaScript" related settings in your ctrl/sbbs.ini file set to?

    digital man

    This Is Spinal Tap quote #6:
    David St. Hubbins: He was the patron saint of quality footwear.
    Norco, CA WX: 79.6F, 19.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Nicholas Boel on Mon Oct 23 09:31:48 2017
    Re: msgslib.ssjs error
    By: Nicholas Boel to Draco on Sat Oct 21 2017 12:15 am

    I only ask, because I recently ran into out of memory errors as well, while running Synchronet's webserver (with everything else) on a Raspberry Pi 3. Once the webserver ran for a few days or more, things would stop working until I rebooted.

    Rebooting to fix issues? I thought that was mainly a Windows thing.. :)

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Accession@VERT/PHARCYDE to Draco on Mon Oct 23 16:02:00 2017
    Hello Draco,

    On Sun Oct 22 2017 17:25:08, Draco wrote to Accession:

    Swap is barely even touched, with about a quarter of real memory used.

    Yes, I have ftelnet on my front page, but I didn't have this issue
    before I updated. It had been a long while since I updated, and it's
    not the first time an update has messed up my setup.

    I had it showing 50 messages at a time. I thought maybe this was an
    issue overloading the array, but setting it to 25 did fix the issue.

    I suppose I could switch to echicken's web interface. I did try it
    once and didn't really like the way messages were displayed. :/

    This same thing happened to me while using ecweb. So I don't think the interface is the issue at all.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to Digital Man on Mon Oct 23 16:08:14 2017
    Hello Digital,

    On Sun Oct 22 2017 22:57:18, Digital Man wrote to Draco:

    Any help with this would be greatly appreciated!

    What are the "JavaScript" related settings in your ctrl/sbbs.ini file
    set to?

    Mine are (and I don't believe I've ever touched them, so default?):

    JavaScriptMaxBytes = 8M
    JavaScriptContextStack = 16K
    JavaScriptTimeLimit = 864000
    JavaScriptGcInterval = 100
    JavaScriptYieldInterval = 10000
    JavaScriptLoadPath = load
    JavaScriptExtension = .ssjs

    And as I mentioned, after disabling the web server it hasn't happened again.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to Nightfox on Mon Oct 23 16:11:10 2017
    Hello Nightfox,

    On Mon Oct 23 2017 09:31:48, Nightfox wrote to Nicholas Boel:

    I only ask, because I recently ran into out of memory errors as
    well, while running Synchronet's webserver (with everything else)
    on a Raspberry Pi 3. Once the webserver ran for a few days or
    more, things would stop working until I rebooted.

    Rebooting to fix issues? I thought that was mainly a Windows thing..
    :)

    It didn't need to be rebooted, I most likely could have restarted the SBBS server with the same results. Sometimes it's just easier, especially if no users are online at the time. And while it may not be recommended for linux servers most of the time, rebooting is, was, and probably always will be an option (albeit on Linux it's usually the last option, whereas it's one of the first on Windows).

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Mon Oct 23 18:12:01 2017
    Re: msgslib.ssjs error
    By: Accession to Digital Man on Mon Oct 23 2017 04:08 pm

    Hello Digital,

    On Sun Oct 22 2017 22:57:18, Digital Man wrote to Draco:

    Any help with this would be greatly appreciated!

    What are the "JavaScript" related settings in your ctrl/sbbs.ini file set to?

    Mine are (and I don't believe I've ever touched them, so default?):

    JavaScriptMaxBytes = 8M
    JavaScriptContextStack = 16K
    JavaScriptTimeLimit = 864000
    JavaScriptGcInterval = 100
    JavaScriptYieldInterval = 10000
    JavaScriptLoadPath = load
    JavaScriptExtension = .ssjs

    And as I mentioned, after disabling the web server it hasn't happened again.

    Well if you wanted to, you could increase the JavaScriptMaxBytes value (e.g. double it to 16M) and re-enable the web server and try again.

    digital man

    This Is Spinal Tap quote #38:
    Artie Fufkin: I'm not asking, I'm telling with this. Kick my ass.
    Norco, CA WX: 94.3F, 12.0% humidity, 9 mph ESE wind, 0.00 inches rain/24hrs ---
    Synchronet
  • From Accession@VERT/PHARCYDE to Digital Man on Tue Oct 24 16:15:52 2017
    Hello Digital,

    On Mon Oct 23 2017 18:12:00, Digital Man wrote to Accession:

    Mine are (and I don't believe I've ever touched them, so default?):

    JavaScriptMaxBytes = 8M
    JavaScriptContextStack = 16K
    JavaScriptTimeLimit = 864000
    JavaScriptGcInterval = 100
    JavaScriptYieldInterval = 10000
    JavaScriptLoadPath = load
    JavaScriptExtension = .ssjs

    And as I mentioned, after disabling the web server it hasn't
    happened again.

    Well if you wanted to, you could increase the JavaScriptMaxBytes value (e.g. double it to 16M) and re-enable the web server and try again.

    Ok. Thanks for the heads up. I'll give it a shot here at some point and get back to you if I encounter the same problem.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From echicken@VERT/ECBBS to Accession on Thu Oct 26 11:06:32 2017
    Re: msgslib.ssjs error
    By: Accession to Draco on Mon Oct 23 2017 16:02:00

    This same thing happened to me while using ecweb. So I don't think the interface is the issue at all.

    It is ultimately a problem with interfaces not coping with subs that have lots of messages in them.

    In msgslib.ssjs there's an array to which the index number of every applicable message is added, depending on a scan mode setting. The error in this case indicates the script ran out of memory while trying to add to this array.

    If that was happening on the 'mail' sub, then it may be that the user has an insane amount of unread/undeleted messages sitting there. Or it may mean that some other part of the script is gobbling up memory.

    On ecweb there's a 'max messages' setting of some kind that's meant to mitigate this problem, so that only the latest n messages are loaded. I can't remember if that's applied to the 'mail' sub or not. I'd rather have done it differently, but sorting messages into neat threads requires methods that are often inefficient or convoluted or both.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Accession@VERT/PHARCYDE to echicken on Thu Oct 26 16:35:10 2017
    Hello echicken,

    On Thu Oct 26 2017 11:06:32, echicken wrote to Accession:

    This same thing happened to me while using ecweb. So I don't
    think the interface is the issue at all.

    It is ultimately a problem with interfaces not coping with subs that
    have lots of messages in them.

    I tend to keep about 5000 messages per sub-board maximum. However, there's only
    a handful of sub-boards between 3000-3600. Otherwise most of them are 1000 or less.

    In msgslib.ssjs there's an array to which the index number of every applicable message is added, depending on a scan mode setting. The
    error in this case indicates the script ran out of memory while trying
    to add to this array.

    I don't remember whether or not my "out of memory" error had anything to do with a specific sub-board or not. I just remember events not running and things
    locking up, so I disabled the web server and restarted.

    With that said, with the advice of DM I've upped that javascript setting in sbbs.ini to 16M instead of 8M, and restarted the web server 2-3 days ago. At the moment I'm sitting at 7% CPU and 49.7% memory for the "sbbs" application. I
    don't use DOSEMU anymore, so emulation isn't a reason for high memory usage - however, I only have 1GB ram (I think) on a quad core Raspberry Pi 3.

    If that was happening on the 'mail' sub, then it may be that the user
    has an insane amount of unread/undeleted messages sitting there. Or
    it may mean that some other part of the script is gobbling up memory.

    Almost seems like some kind of memory leak here, as when I start sbbs and for the first 12-24 hours memory usage is fairly low. Then after a day it steadily goes up (or so it seemed) until it's about maxed out. And when I disabled the web server for a couple weeks, I don't believe I ever saw my memory usage above
    20%.

    While looking into it, I also noticed I didn't have any swap space setup. I must have forgotten to create a swapfile at the time I installed it. So I did just that, and gave it 2gb. I'll keep an eye on it over the weekend and see if I dip into the newly created swap at all. At least that would have prevented running out of memory if that was my original case.

    On ecweb there's a 'max messages' setting of some kind that's meant to mitigate this problem, so that only the latest n messages are loaded.
    I can't remember if that's applied to the 'mail' sub or not. I'd
    rather have done it differently, but sorting messages into neat
    threads requires methods that are often inefficient or convoluted or
    both.

    Mail sub? If you're referring to local email, I probably have less than 10 messages in there (I don't use pop/smtp here).

    While this message is open and I'm describing things.. I just restarted sbbs for the hell of it, and it's running at 3.2% memory usage and about 6.5% CPU. It seems to go up steadily over time with constant web connections (probably probing bots, which is fairly non-stop).

    Are the hack threshold and temp ban settings DM added utilized in the web server as well?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Thu Oct 26 17:16:52 2017
    Re: msgslib.ssjs error
    By: Accession to echicken on Thu Oct 26 2017 04:35 pm

    With that said, with the advice of DM I've upped that javascript setting in sbbs.ini to 16M instead of 8M, and restarted the web server 2-3 days ago. At the moment I'm sitting at 7% CPU and 49.7% memory for the "sbbs" application. I
    don't use DOSEMU anymore, so emulation isn't a reason for high memory usage - however, I only have 1GB ram (I think) on a quad core Raspberry Pi 3.

    Sounds like there could be a memory leak (or two).

    Almost seems like some kind of memory leak here, as when I start sbbs and for the first 12-24 hours memory usage is fairly low. Then after a day it steadily goes up (or so it seemed) until it's about maxed out. And when I disabled the web server for a couple weeks, I don't believe I ever saw my memory usage above
    20%.

    I concur (though percentages are not really meaningful to me).

    While this message is open and I'm describing things.. I just restarted sbbs for the hell of it, and it's running at 3.2% memory usage and about 6.5% CPU. It seems to go up steadily over time with constant web connections (probably probing bots, which is fairly non-stop).

    Are the hack threshold and temp ban settings DM added utilized in the web server as well?

    Yes. But the "bots" would have to be attempting an HTTP login, which is not common among bots. Do you see them attempting to login via HTTP?

    digital man

    This Is Spinal Tap quote #8:
    Derek Smalls: Making a big thing out of it would have been a good idea.
    Norco, CA WX: 86.7F, 17.0% humidity, 15 mph ENE wind, 0.00 inches rain/24hrs ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Accession on Thu Oct 26 22:14:50 2017
    Re: msgslib.ssjs error
    By: Accession to echicken on Thu Oct 26 2017 16:35:10

    Mail sub? If you're referring to local email, I probably have less than 10 messages in there (I don't use pop/smtp here).

    The person you were replying to was talking about private email, IIRC. I realize you weren't.

    Almost seems like some kind of memory leak here, as when I start sbbs and for the first 12-24 hours memory usage is fairly low. Then after a day it steadily goes up (or so it seemed) until it's about maxed out. And when I disabled the web server for a couple weeks, I don't believe I ever saw my memory usage above 20%.

    Possibly a bug in the web server. I have always assumed that the lifecycle of a script executed by that server (including any memory that script uses) begins when a request is received from a client, and ends when the response has been sent. (That's at a high level, I know there are many more steps involved.) I may be wrong in that assumption, but if there's anything I can do about it at the JS level, I'm unaware of it.

    I've had similar problems with a couple of Synchronet instances and haven't been able to pin it down to one service (web, services thread, etc.) or another. My board just craps out sometimes, IIRC for the same reason, but I have a thing that monitors and restarts it as needed. My system is a bit atypical though, and a bit of a mess right now.

    Are the hack threshold and temp ban settings DM added utilized in the web server as well?

    I have no idea. If they are, it'd be at a lower level than my stuff.

    I tend to keep about 5000 messages per sub-board maximum. However, there's only a handful of sub-boards between 3000-3600. Otherwise most of them are 1000 or less.

    I don't remember whether or not my "out of memory" error had anything to do with a specific sub-board or not. I just remember events not running and things locking up, so I disabled the web server and restarted.

    Well, it could be caused by lots of things. My more recent web UI is certainly less prone to this than my earlier efforts, but still there are times when a lot of stuff could be loaded up for sorting, etc., and a sub with lots of messages could be a problem there. 5000 or less shouldn't really be a problem, or hasn't been for me.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Accession@VERT/PHARCYDE to Digital Man on Fri Oct 27 15:39:04 2017
    Hello Digital,

    On Thu Oct 26 2017 17:16:52, Digital Man wrote to Accession:

    Sounds like there could be a memory leak (or two).

    Almost seems like some kind of memory leak here, as when I start
    sbbs and for the first 12-24 hours memory usage is fairly low.
    Then after a day it steadily goes up (or so it seemed) until it's
    about maxed out. And when I disabled the web server for a couple
    weeks, I don't believe I ever saw my memory usage above 20%.

    I concur (though percentages are not really meaningful to me).

    Me either, really. Only how much they change is really what I'm looking at. For
    instance, since yesterday, my memory usage is now at 17% for the 'sbbs' application. So it went up 10% in one day. After the weekend, it'll probably be
    somewhere around 40% or more again. It doesn't fluctuate either, which is why I
    tend to think it's some kind of memory leak.

    Are the hack threshold and temp ban settings DM added utilized in
    the web server as well?

    Yes. But the "bots" would have to be attempting an HTTP login, which
    is not common among bots. Do you see them attempting to login via
    HTTP?


    No, I don't believe so. I'll get 3-4 connections from the same bot (via IP address) in about 10-20 seconds time. All of them look like they're probing the
    forums.

    I wonder if making them completely inaccessible (right now they're read only as
    guest) unless you're logged in would help?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to echicken on Fri Oct 27 15:46:36 2017
    Hello echicken,

    On Thu Oct 26 2017 22:14:50, echicken wrote to Accession:

    Mail sub? If you're referring to local email, I probably have
    less than 10 messages in there (I don't use pop/smtp here).

    The person you were replying to was talking about private email, IIRC.
    I realize you weren't.

    Ah, okay.

    Almost seems like some kind of memory leak here, as when I start
    sbbs and for the first 12-24 hours memory usage is fairly low.
    Then after a day it steadily goes up (or so it seemed) until it's
    about maxed out. And when I disabled the web server for a couple
    weeks, I don't believe I ever saw my memory usage above 20%.

    Possibly a bug in the web server. I have always assumed that the lifecycle of a script executed by that server (including any memory
    that script uses) begins when a request is received from a client, and ends when the response has been sent. (That's at a high level, I know there are many more steps involved.) I may be wrong in that
    assumption, but if there's anything I can do about it at the JS level,
    I'm unaware of it.

    I've had similar problems with a couple of Synchronet instances and haven't been able to pin it down to one service (web, services thread, etc.) or another. My board just craps out sometimes, IIRC for the
    same reason, but I have a thing that monitors and restarts it as
    needed. My system is a bit atypical though, and a bit of a mess right now.

    At least I'm not the only one, I guess. And all systems become a bit of a mess after awhile. ;)

    Well, it could be caused by lots of things. My more recent web UI is certainly less prone to this than my earlier efforts, but still there
    are times when a lot of stuff could be loaded up for sorting, etc.,
    and a sub with lots of messages could be a problem there. 5000 or
    less shouldn't really be a problem, or hasn't been for me.

    I'll continue keeping an eye on it and give any information I can find, but so far it just seems like bots are viewing the forums (and multiple times within a
    short period of time).

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From echicken@VERT/ECBBS to Accession on Fri Oct 27 20:16:58 2017
    Re: msgslib.ssjs error
    By: Accession to echicken on Fri Oct 27 2017 15:46:36

    I'll continue keeping an eye on it and give any information I can find, but so far it just seems like bots are viewing the forums (and multiple times within a short period of time).

    Please do, but so far I am with you in the suspicion of a memory leak. My assumption is that any memory used by the scripts involved in my (or any) web UI here should be freed up after the page is served.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Accession@VERT/PHARCYDE to echicken on Sun Oct 29 19:33:20 2017
    Hello echicken,

    On Fri Oct 27 2017 20:16:58, echicken wrote to Accession:

    I'll continue keeping an eye on it and give any information I can
    find, but so far it just seems like bots are viewing the forums
    (and multiple times within a short period of time).

    Please do, but so far I am with you in the suspicion of a memory leak.
    My assumption is that any memory used by the scripts involved in my
    (or any) web UI here should be freed up after the page is served.

    That would be a reasonable suspicion. Just a few minutes ago it was up at 67% memory usage. Restarted the sbbs process and things are temporarily back to normal again, and when the web server is disabled this doesn't seem to happen.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)