JavaScript: Done executing script: S:\sbbs\exec\xjs_handler.js (89.96 seconds) JavaScript: Done executing script: S:\sbbs\web\root\api\system.ssjs (129.38 seconds)
As you see all commands take between 80 and 200 seconds to execute.
Do you know why? and how to fix it?
Using lasest cvs on windows 10 x64.
Re: Slow Webserver
By: Fidde to Echicken on Wed Nov 08 2017 17:02:31
JavaScript: Done executing script: S:\sbbs\exec\xjs_handler.js (89.96
seconds) JavaScript: Done executing script:
S:\sbbs\web\root\api\system.ssjs (129.38 seconds)
As you see all commands take between 80 and 200 seconds to execute.
Does this happen on every page that you view?
Do you have a large number of nodes on your BBS, or a huge number of user accounts? There's one kinda questionable thing in 'system.ssjs' but I can't see it taking two minutes to complete.
Using lasest cvs on windows 10 x64.
I'm using the latest build as of a couple of days ago, but on Ubuntu; no such problems here.
Please create a file in your 'sbbs/web/root/pages/' directory called '999-test.html' containing these two lines:
<!--NO_SIDEBAR:Test Page-->
Test test test
Now browse to this URL and see if it loads any faster:
http://pepzi.se/?page=999-test.html
(Obviously correct the hostname if I got it wrong.)
I delete some messages in my fidonet echomail areas, and now it take lesser time.
in log it is hundreds of these lines:
"GET /api/forum.ssjs?call=get-mail-unread-count HTTP/1.1" 200 - "-" Firefox/56.0" "GET /api/system.ssjs?call=get-telegram HTTP/1.1" 200 - "-"
seconds) Have it any with mailscan to do??
I delete some messages in my fidonet echomail areas, and now it take
lesser time.
This should only really have an impact when browsing the 'Forum' page.
in log it is hundreds of these lines:
"GET /api/forum.ssjs?call=get-mail-unread-count HTTP/1.1" 200 - "-"
Firefox/56.0" "GET /api/system.ssjs?call=get-telegram HTTP/1.1" 200 -
"-"
This is all normal traffic and there will be lots of these lines.
seconds) Have it any with mailscan to do??
It might, but I doubt it. Is it any faster if you browse the site while not logged in? It shouldn't scan for new mail or messages when browsing
as the guest user.
I delete some messages in my fidonet echomail areas, and now it take
lesser time.
This should only really have an impact when browsing the 'Forum' page.
in log it is hundreds of these lines:
"GET /api/forum.ssjs?call=get-mail-unread-count HTTP/1.1" 200 - "-"
Firefox/56.0" "GET /api/system.ssjs?call=get-telegram HTTP/1.1" 200 -
"-"
This is all normal traffic and there will be lots of these lines.
seconds) Have it any with mailscan to do??
It might, but I doubt it. Is it any faster if you browse the site
while
not logged in? It shouldn't scan for new mail or messages when
browsing
as the guest user.
ok, but the timestamp say it took 1 minute.
I was not logged in, it scan anyway. How can I stop this for Guest users??
And how can I stop it when I am logged in, for me only MAIL area is ok.
I was not logged in, it scan anyway. How can I stop this for Guest
users??
That was an oversight on my part. I just pushed a change to the GitHub repo that should stop these requests from being sent unless you are logged in.
This is very unlikely to be the source of your trouble, though.
one questions.. is is normaly it should send out a 0 bytes file: 2017-11-10 18:52:44 1996 JavaScript: Done executing script: S:\sbbs\web\root\api\system.ssjs (60.00 seconds)
2017-11-10 18:52:44 1996 Sending file: S:\SBBS\Tempo\SBBS_SSJS.17816.1996.html (0 bytes)
It always is 0 bytes after that 60 seconds.
Hi,
Last time I have problem with my webserver, it is very very slow,
when using ecweb4. I have even tried with a clean ecweb4 but the same,
and can not find why.
JavaScript: Done executing script: S:\sbbs\exec\xjs_handler.js (89.96 seconds) >JavaScript: Done executing script: S:\sbbs\web\root\api\system.ssjs (129.38 >seconds)
As you see all commands take between 80 and 200 seconds to execute.
Do you know why? and how to fix it?
Using lasest cvs on windows 10 x64.
one questions.. is is normaly it should send out a 0 bytes file:
2017-11-10 18:52:44 1996 JavaScript: Done executing script:
S:\sbbs\web\root\api\system.ssjs (60.00 seconds)
2017-11-10 18:52:44 1996 Sending file:
S:\SBBS\Tempo\SBBS_SSJS.17816.1996.html (0 bytes)
It always is 0 bytes after that 60 seconds.
Yes, this is probably normal, although I would expect the file to be at least two bytes long.
Please grab a copy of this script:
https://gist.github.com/echicken/764bf596ad8985c3cdaba121f9a842c4
and place it at S:\sbbs\web\root\test.ssjs, and let me know when you've done so.
one questions.. is is normaly it should send out a 0 bytes file:
2017-11-10 18:52:44 1996 JavaScript: Done executing script:
S:\sbbs\web\root\api\system.ssjs (60.00 seconds)
2017-11-10 18:52:44 1996 Sending file:
S:\SBBS\Tempo\SBBS_SSJS.17816.1996.html (0 bytes)
It always is 0 bytes after that 60 seconds.
Yes, this is probably normal, although I would expect the file to be at least two bytes long.
Please grab a copy of this script:
https://gist.github.com/echicken/764bf596ad8985c3cdaba121f9a842c4
and place it at S:\sbbs\web\root\test.ssjs, and let me know when you've done so.
Thanks,
did this file doing anything?? because my webserver working now :)
90sek is now 0.41 sek
did this file doing anything?? because my webserver working now :)
No, that script should not have actually fixed your problem. I just wrote it to help me try to track down the issue.
90sek is now 0.41 sek
Yes, your site is suddenly loading much faster than it did before. Unfortunately I don't know why. If the problem crops up again, let me
know and we can start looking into it again.
if you have time over, i would like a function to leave a message
to sysop, any formmail so my email not expose.
Hi,
Last time I have problem with my webserver, it is very very slow,
when using ecweb4. I have even tried with a clean ecweb4 but the same,
and can not find why.
JavaScript: Done executing script: S:\sbbs\exec\xjs_handler.js (89.96
seconds)
JavaScript: Done executing script: S:\sbbs\web\root\api\system.ssjs
(129.38 seconds)
As you see all commands take between 80 and 200 seconds to execute.
Do you know why? and how to fix it?
Using lasest cvs on windows 10 x64.
This almost sounds like you're trying to access something externally however the DNS times out. Hard to tell. Use the built in debugger in Firefox (I prefer this one to the Chrome debugger). You'll be able to
see which files are loaded and which ones take a long time to load.
From there you can narrow down the issue.
@n
This almost sounds like you're trying to access something externally
however the DNS times out. Hard to tell. Use the built in debugger
in Firefox (I prefer this one to the Chrome debugger). You'll be
able to see which files are loaded and which ones take a long time
to load. From there you can narrow down the issue.
Thank you. I will try this next time. Just now it working fine again.
if you have time over, i would like a function to leave a message
to sysop, any formmail so my email not expose.
Any logged-in user can already send you a private email, but I suppose a contact form of some kind might be useful. I'll see about making something, with an option to allow guest users to submit the form, some
bot traps and I suppose an optional captcha.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495939:39:44 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,971 |