Digital Man wrote to Rmh <=-
Re: Messing around with Message Areas
By: Rmh to All on Fri Jul 13 2018 08:26 pm
I was importing a few thousand areas from Usenet in the believe all could just go well and when it was just about, I noticed, on loading the BBS, the messge pointers would be taking an eternity to load.
I've committed (to v3.17a in CVS) some significant optimizations to message pointer initializing (for new users or "guest") as well as the loading of message pointers during logon. I'd appreciate it if you
could try them out and see if it remedied your problem with importing thousands of newsgroups.
digital man
This Is Spinal Tap quote #35:
Jeanine Pettibone: You don't do heavy metal in Dubly, you know.
Norco, CA WX: 98.3oF, 34.0% humidity, 17 mph ENE wind, 0.00 inches rain/24hrs
---
= Synchronet = Vertrauen = Home of Synchronet = [vert/cvs/bbs].synchro.net
I was importing a few thousand areas from Usenet in the believe all
could just go well and when it was just about, I noticed, on loading
the BBS, the messge pointers would be taking an eternity to load.
I've committed (to v3.17a in CVS) some significant optimizations to
message pointer initializing (for new users or "guest") as well as
the loading of message pointers during logon. I'd appreciate it if
you could try them out and see if it remedied your problem with
importing thousands of newsgroups.
RainManHood<---
Re: Messing around with Messa
By: Rmh to Digital Man on Wed Jul 25 2018 06:14 am
I was importing a few thousand areas from Usenet in the believe all
could just go well and when it was just about, I noticed, on loading
the BBS, the messge pointers would be taking an eternity to load.
I've committed (to v3.17a in CVS) some significant optimizations to
message pointer initializing (for new users or "guest") as well as
the loading of message pointers during logon. I'd appreciate it if
you could try them out and see if it remedied your problem with
importing thousands of newsgroups.
I just performed a run on it.
So, I have upgraded to the latest :
src/sbbs3/ctrl/sbbsctrl.bpr:ProductVersion=3.17a
and loaded nearly 2000 Usenet Areas. (still got pending around 18000 for Alt + a few other optional thousands.. --no joke there, it's just massive--)
I have logged in a couple of times, and it takes around 2 minutes the Initialization for the message pointers.
I cannot see errors during the laod, or anything on the side, but if you want me doing anything else, please, let me know. I will be happy to hear suggestions.
I got the Guest account disabled, but feel free to log in and do a run around and if you need anything at all, let me know.
Re: Messing around with Messa
By: Rmh to Digital Man on Wed Jul 25 2018 07:54 am
Re: Messing around with Messa
By: Rmh to Digital Man on Wed Jul 25 2018 06:14 am
I was importing a few thousand areas from Usenet in the believe all
could just go well and when it was just about, I noticed, on loading
the BBS, the messge pointers would be taking an eternity to load.
I've committed (to v3.17a in CVS) some significant optimizations to
message pointer initializing (for new users or "guest") as well as
the loading of message pointers during logon. I'd appreciate it if
you could try them out and see if it remedied your problem with
importing thousands of newsgroups.
I just performed a run on it.
So, I have upgraded to the latest :
src/sbbs3/ctrl/sbbsctrl.bpr:ProductVersion=3.17a
and loaded nearly 2000 Usenet Areas. (still got pending around 18000 for Alt + a few other optional thousands.. --no joke there, it's just massive--)
I have logged in a couple of times, and it takes around 2 minutes the Initialization for the message pointers.
That does seem excessive for only 2000 areas.
I cannot see errors during the laod, or anything on the side, but if you want me doing anything else, please, let me know. I will be happy to hear suggestions.
I got the Guest account disabled, but feel free to log in and do a run around and if you need anything at all, let me know.
Yes, please send me a copy of your data/user/0001.subs file.
I have logged in a couple of times, and it takes around 2 minutes
the Initialization for the message pointers.
That does seem excessive for only 2000 areas.
Re: Messing around with Messa
By: Digital Man to Rmh on Wed Jul 25 2018 08:29 am
I have logged in a couple of times, and it takes around 2 minutes
the Initialization for the message pointers.
That does seem excessive for only 2000 areas.
Just a note on what I have seen here. Over the last week or so the scan has been getting faster and faster. At this point I don't even see it.
Of course I only have ~370 areas in my scan here.
Given time that may increase a bit if I can find interesting things to connect too.. :)
Okay, I got the file. But my calculations, it contains 9705 message areas, not 2000. If you're running the latest v3.17a development code, you should see a debug-level log message whenever the msg scan config/pointers are loaded via the Terminal server, like this:
<username> read x message scan cfg/pointers in n ms
Can you share that log line with us (enable debug level log output if needed)?
RainManHood<---
Re: Messing around with Messaconnect
By: Digital Man to Rmh on Wed Jul 25 2018 08:29 am
I have logged in a couple of times, and it takes around 2 minutes
the Initialization for the message pointers.
That does seem excessive for only 2000 areas.
Just a note on what I have seen here. Over the last week or so the scan has been getting faster and faster. At this point I don't even see it.
Of course I only have ~370 areas in my scan here.
Given time that may increase a bit if I can find interesting things to
too.. :)
Can you share that log line with us (enable debug level log output if needed)?
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Digital Man wrote to Rmh <=-
Re: Messing around with Messa
By: Rmh to Digital Man on Wed Jul 25 2018 07:31 pm
Can you share that log line with us (enable debug level log output if needed)?
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Okay, that's 40 seconds (not 2 minutes), but still way too long to read those 2326 cfg/ptrs. But I think I know what's going on: your 0001.subs file still has the almost 10000 subs in it and that's make the search
for the other/valid subs slower.
I just need to make the .subs file self-cleaning (removing invalid
subs) when saved and that should fix you up.
I just need to make the .subs file self-cleaning (removing invalid
subs) when saved and that should fix you up.
Digital Man, how can I do that? What's the process?
I have been reading around the wiki, but I haven't found anything specific..
Re: Messing around with Messathose
By: Rmh to Digital Man on Wed Jul 25 2018 07:31 pm
Can you share that log line with us (enable debug level log output if
needed)?
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message
scan cfg/pointers in 40157 ms
Okay, that's 40 seconds (not 2 minutes), but still way too long to read
2326 cfg/ptrs. But I think I know what's going on: your 0001.subs file still has the almost 10000 subs in it and that's make the search for theother/valid
subs slower.when
I just need to make the .subs file self-cleaning (removing invalid subs)
saved and that should fix you up.
Digital Man wrote to Rmh <=-
Re: Messing around with Messa
By: Rmh to Digital Man on Wed Jul 25 2018 07:31 pm
Can you share that log line with us (enable debug level log output if needed)?
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Okay, that's 40 seconds (not 2 minutes), but still way too long to read those 2326 cfg/ptrs. But I think I know what's going on: your 0001.subs file still has the almost 10000 subs in it and that's make the search for the other/valid subs slower.
I just need to make the .subs file self-cleaning (removing invalid subs) when saved and that should fix you up.
Digital Man, how can I do that? What's the process?
I have been reading around the wiki, but I haven't found anything specific..
Digital Man wrote to Rmh <=-
Re: Messing around with Messa
By: Rmh to Digital Man on Thu Jul 26 2018 02:56 am
Okay, that's 40 seconds (not 2 minutes), but still way too long to read those 2326 cfg/ptrs. But I think I know what's going on: your 0001.subs file still has the almost 10000 subs in it and that's make the search for the other/valid subs slower.
I just need to make the .subs file self-cleaning (removing invalid subs) when saved and that should fix you up.
Digital Man, how can I do that? What's the process?
I have been reading around the wiki, but I haven't found anything specific..
Just update to the latest from CVS and when you logoff, your .subs file should get cleaned-up automatically.
Okay, that's 40 seconds (not 2 minutes), but still way too long to
read those 2326 cfg/ptrs. But I think I know what's going on: your
0001.subs file still has the almost 10000 subs in it and that's
make the search for the other/valid subs slower.
I just need to make the .subs file self-cleaning (removing invalid
subs) when saved and that should fix you up.
Digital Man, how can I do that? What's the process?
I have been reading around the wiki, but I haven't found anything
specific..
Just update to the latest from CVS and when you logoff, your .subs
file
should get cleaned-up automatically.
I just did (in case I am missing something...):
export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs
cvs update -d src 3rdp
RainManHood<---
All good now!
I refreeshed code 2 minytes aog and the change are now there.
So all up to date and with the changes on the pointers fixed!!
All good now!
I refreeshed code 2 minytes aog and the change are now there.
So all up to date and with the changes on the pointers fixed!!
Okay, cool. Can you paste the log line with the relevant stats now?
RainManHood<---
Okay, cool. Can you paste the log line with the relevant stats now?
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
Digital Man wrote to Rmh <=-
Re: Messing around with Messa
By: Rmh to Digital Man on Fri Jul 27 2018 06:42 am
Okay, cool. Can you paste the log line with the relevant stats now?
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
Um... what happened to the thousands of message areas? :-(
Digital Man wrote to Rmh <=-
Re: Messing around with Messa
By: Rmh to Digital Man on Fri Jul 27 2018 06:42 am
Okay, cool. Can you paste the log line with the relevant stats now?
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
Um... what happened to the thousands of message areas? :-(
No idea. really. I didn't delete/remove anything at the time of the test.
Do you want me trying anything else?
According the logs snippets you sent:
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
You removed about 2000 message areas (sub-boards) from your configuration (SCFG->Message Areas) between 7/25 and 7/27.
RainManHood<---
Re: Messing around with Messa
By: Digital Man to Rmh on Fri Jul 27 2018 10:45 am
According the logs snippets you sent:
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
You removed about 2000 message areas (sub-boards) from your configuration (SCFG->Message Areas) between 7/25 and 7/27.
I can't remember removing anything in between.
Today for example I did and I tried to re-upload everything again.
Re: Messing around with Messa
By: Rmh to Digital Man on Fri Jul 27 2018 06:42 am
Okay, cool. Can you paste the log line with the relevant stats
now?
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345
message scan cfg/pointers in 7 ms
Um... what happened to the thousands of message areas? :-(
No idea. really. I didn't delete/remove anything at the time of the
test. Do you want me trying anything else?
According the logs snippets you sent:
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
You removed about 2000 message areas (sub-boards) from your configuration (SCFG->Message Areas) between 7/25 and 7/27.
RainManHood<---
Re: Messing around with Messa
By: Digital Man to Rmh on Fri Jul 27 2018 10:45 am
Re: Messing around with Messa
By: Rmh to Digital Man on Fri Jul 27 2018 06:42 am
Okay, cool. Can you paste the log line with the relevant stats DM>> now?
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345
message scan cfg/pointers in 7 ms
Um... what happened to the thousands of message areas? :-(
No idea. really. I didn't delete/remove anything at the time of the
test. Do you want me trying anything else?
According the logs snippets you sent:
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
You removed about 2000 message areas (sub-boards) from your configuration (SCFG->Message Areas) between 7/25 and 7/27.
Digital Man,
thanks for fixing the mass-load. I can get everything in now.
Further tests as below:
After a successful Mass-load for Usenet Echo(es) from 0-B which is a bit more than 10.000 (many thanks as usual Digital Man):
Jul 29 16:59:24 34819 sbbs: 7/29 16:59:24 term Node 1 Rmh read 10592 message scan cfg/pointers in 36186 ms
Jul 29 16:59:24 34819 sbbs: 7/29 16:59:24 term Node 1 Rmh (0001) Rmh
Logon 0 - 5
If I try to send a netmail I get :
!JavaScript /sbbs/exec/SlyEdit_Misc.js line 3240: out of memory
Jul 29 17:02:28 34819 sbbs: 7/29 17:02:28 evnt AVAT-IN !JavaScript /sbbs/exec/load/syncdata.js line 10: out of memory
So, I nearly killed my VPS host....
I had to remove all the areas as it was really over the top...
Digital Man wrote to Rmh <=-
According the logs snippets you sent:
Jul 25 19:21:26 34819 sbbs: 7/25 19:21:26 term Node 1 Rmh read 2326 message scan cfg/pointers in 40157 ms
Jul 27 06:32:27 34819 sbbs: 7/27 06:32:27 term Node 1 Rmh read 345 message scan cfg/pointers in 7 ms
You removed about 2000 message areas (sub-boards) from your configuration (SCFG->Message Areas) between 7/25 and 7/27.
Digital Man,
thanks for fixing the mass-load. I can get everything in now.
Further tests as below:
After a successful Mass-load for Usenet Echo(es) from 0-B which is a bit more than 10.000 (many thanks as usual Digital Man):
Jul 29 16:59:24 34819 sbbs: 7/29 16:59:24 term Node 1 Rmh read 10592 message scan cfg/pointers in 36186 ms
36 seconds is a long time. But 10K+ message areas is a lot to keep
track of, so I'm not too surprised.
Jul 29 16:59:24 34819 sbbs: 7/29 16:59:24 term Node 1 Rmh (0001) Rmh
Logon 0 - 5
If I try to send a netmail I get :
!JavaScript /sbbs/exec/SlyEdit_Misc.js line 3240: out of memory
You'd have to increase the size of JavaScript heap (in your
ctrl/sbbs.ini file).
Jul 29 17:02:28 34819 sbbs: 7/29 17:02:28 evnt AVAT-IN !JavaScript /sbbs/exec/load/syncdata.js line 10: out of memory
Yup, same problem.
So, I nearly killed my VPS host....
I had to remove all the areas as it was really over the top...
I didn't really think it was going to work. :-)
Anyhow it was worth to have a look at it. Probably you don't have all much testing these days, so We also now how far we can go with the system.
And, if I didn't try, I wouldn't know.
Your help is very much appreciated Digital Man.
And system memory:
$ free -m
total used free shared buff/cache available
Mem: 4096 1582 119 27 2394
Swap: 2048 216 1831
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495943:54:32 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 287,032 |