HTML5 web server becomes unresponsive

Get help with troubleshooting issues
Post Reply
fakebrains
Posts: 51
Joined: Tue May 17, 2016 8:24 pm

HTML5 web server becomes unresponsive

Post by fakebrains » Tue May 21, 2019 10:18 pm

We have had several instances where the HTML5 web server becomes unresponsive. When this happens. users start showing up in Task manager as disconnected and will eventually disconnect all users. The 2 servers that were affected today were Server 2016 / 8 cure / 28 GB. Around 20 users were connected at the time, another 10 on the other server. Running TSPlus 12.20.2.28

I read in another article about Java memory heap possibly running out of memory. modifying teh runwebserver.bat and adding -XX:+AggressiveHeap broke the SSL cert and had to remove the modification and reboot to get the web services running properly.

Running
Server 2016 / 8 cure / 28 GB
TSPlus 12.20.2.28
http://localhost/w0j41
HTML5 version: v6.20 >>> Java: 11.0.2 (VM amd64) on Windows Server 2016 >>> child instance

AllocatedMemory: 73mb
PresumableFreeMemory: 7094mb
TotalMemory: 7167mb

You run Java 64bit on Windows64 system - everything looks good!

Seems to happen about once a week on a server. Wondering if anyone has seen this before or if there is a good way to monitor java memory usage etc.

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: HTML5 web server becomes unresponsive

Post by juwagn » Wed May 22, 2019 9:51 am

Hello,

could you please create new issue ticket and attach there your *Clients\webserver\web_log.txt
It is necessary to understand what causes it, probably you are getting DOS attack, however webserver is not made to prevent TCP level attacks, here you need proper firewall/router, but it must be investigated what could cause it.

Sincerely yours, JW.
TSplus HTML5 and Java web engineer

Post Reply