How to determine if the server hangs

Pankaj kushwaha
1 min readJun 16, 2020

--

Use the ping command in cmd, the specific format is as follows:

ping -t-domain name

If there is corresponding return data, the server is not down

If the ping value appears to be lost or unavailable, or if the ping value exceeds 400, it is the company’s network problem.

If the ping value is below 100, it is a problem with the website server.

Server hangs suddenly, finding the reason

1. If all the servers are hung up at once, you should see if Linux has been restarted. You can use the uptime command to query the normal running time of Linux;

2. There may be a memory overflow. Generally, an hs_err_pid8788.log log will be generated before tomcat hangs. Generally, this log is in the tomcat bin, and you can see some error messages from it;

3. If the database is gone, it is hacked. Generally, it is hacked, and a bitcoin payment information will be left.

One of 2 solutions: add in server.xml inside tomcat:

<Connector port=”8080" protocol=”HTTP/1.1" maxThreads
=”2000"
minProcessors=”100"
maxProcessors=”1000"
minSpareThreads=”100"
maxSpareThreads=”1000"
enableLookups=”false”
URIEncoding=”utf-8 “
connectionTimeout=”20000"
processorCache=”1000"
acceptCount=”5000"
disableUploadTimeout=”ture”
acceptorThreadCount=”8"
socket.appReadBufSize=”1024"
socket.appWriteBufSize=”1024"
socket.bufferPool=”1000"

redirectPort=”8443" />

Thanks for reading the post.

Pankaj K.

--

--

Pankaj kushwaha
Pankaj kushwaha

Written by Pankaj kushwaha

Database/System Administrator | DevOPS | Cloud Specialist | DevOPS

No responses yet