Application showing "Connection Time Out" very often


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Application showing "Connection Time Out" very often
# 1  
Old 02-27-2020
Application showing "Connection Time Out" very often

Hi,


We have a web serveer running on Apache-Tomcat-6.0.32. For 2 months continuously, we noticed that the app on this server setup has been frequently sending out intermittent "Connection Time Out" issues.
On the OS side, I investigated a lot of things,



1) tcpdump : did not find anything suspicious (no large flooding of suspicious IP, etc)
2) In the apache access_log nothing suspicious either.
3) netstat -an, tulpn : No timeout/dead connection
4) telnet to port 80 is OK


Thus, my teammate concluded that it could be a bug in the tomcat version 6.0.32 itself. Is this possible/true? How can we confirm this?
We use "Uptime" as a monitoring tool, and it sends updates every 3 mins. Whereas other monitoring tools send alerts every 5 mins or more, and do not show the "Connection Time Out" problem.
Is "Uptime" an unstable monitoring tool?
# 2  
Old 02-27-2020
What about on the network itself?
We dont know what your Tomcat is doing either... is the server just the application server, the data is elsewhere? ( could explain the message then...) etc...
We need to know a bit more in order to help you, like knowing what architecture, OS, RAM, net connections etc...
This User Gave Thanks to vbe For This Post:
# 3  
Old 02-28-2020
Thank you for the response.
What do I check on the network itself?
Yes, the problematic server just hosts the application. The data (I assume the this must be the database) runs on a different server.


The network connections to the server (I used netstat) :


Code:
[root@app6 aigini]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 192.168.140.228:10050       0.0.0.0:*                   LISTEN      30651/zabbix_agentd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      15570/rpcbind
tcp        0      0 192.168.140.228:80          0.0.0.0:*                   LISTEN      5553/httpd
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      5014/sshd
tcp        0      0 192.168.140.228:443         0.0.0.0:*                   LISTEN      5553/httpd
tcp        0      0 127.0.0.1:2812              0.0.0.0:*                   LISTEN      16476/monit
tcp        0      0 0.0.0.0:35772               0.0.0.0:*                   LISTEN      27416/rpc.statd
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN      16690/java
tcp        0      0 :::8009                     :::*                        LISTEN      16690/java
tcp        0      0 ::ffff:127.0.0.1:8205       :::*                        LISTEN      17058/java
tcp        0      0 :::111                      :::*                        LISTEN      15570/rpcbind
tcp        0      0 ::ffff:127.0.0.1:8305       :::*                        LISTEN      22557/java
tcp        0      0 :::8209                     :::*                        LISTEN      22557/java
tcp        0      0 ::ffff:127.0.0.1:8405       :::*                        LISTEN      16176/java
tcp        0      0 :::8309                     :::*                        LISTEN      17058/java
tcp        0      0 :::22                       :::*                        LISTEN      5014/sshd
tcp        0      0 :::8409                     :::*                        LISTEN      16176/java
tcp        0      0 ::ffff:127.0.0.1:8505       :::*                        LISTEN      17520/java
tcp        0      0 :::8509                     :::*                        LISTEN      17520/java
tcp        0      0 :::56510                    :::*                        LISTEN      27416/rpc.statd
udp        0      0 0.0.0.0:51285               0.0.0.0:*                               27416/rpc.statd
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               15570/rpcbind
udp        0      0 127.0.0.1:880               0.0.0.0:*                               27416/rpc.statd
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               15639/portreserve
udp        0      0 192.168.140.228:123         0.0.0.0:*                               1485/ntpd
udp        0      0 127.0.0.1:123               0.0.0.0:*                               1485/ntpd
udp        0      0 0.0.0.0:123                 0.0.0.0:*                               1485/ntpd
udp        0      0 0.0.0.0:905                 0.0.0.0:*                               15570/rpcbind
udp        0      0 :::50649                    :::*                                    27416/rpc.statd
udp        0      0 :::33384                    :::*                                    22557/java
udp        0      0 :::111                      :::*                                    15570/rpcbind
udp        0      0 fe80::7a2b:cbff:fe78:e99:123 :::*                                    1485/ntpd
udp        0      0 ::1:123                     :::*                                    1485/ntpd
udp        0      0 :::123                      :::*                                    1485/ntpd
udp        0      0 :::905                      :::*                                    15570/rpcbind
udp        0      0 :::53524                    :::*                                    22557/java
[root@app6 aigini]#

Architecture :


Code:
[root@app6 aigini]# uname -a
Linux app6.int.myeg.com.my 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
[root@app6 aigini]#

OS :


Code:
[root@app6 aigini]# cat /etc/redhat-release
CentOS release 6.9 (Final)
[root@app6 aigini]#

Memory :


Code:
[root@app6 aigini]# free -m
             total       used       free     shared    buffers     cached
Mem:          7978       7701        277          3        481       1836
-/+ buffers/cache:       5382       2596
Swap:         8111       1286       6825
[root@app6 aigini]#

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Ipadm showing "/?" in ADDROBJ on S11 local zone

Hi! I have a Solaris 11 local zone, everything is running fine, BUT, when I issue an "ipadm show-addr" from inside the local zone I get the following: root@xxxxxxx:/var/opt# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/? inherited ok 127.0.0.1/8... (2 Replies)
Discussion started by: rtmg
2 Replies

2. UNIX for Advanced & Expert Users

"sudo su -" showing lot of information on OpenLDAP

Hello, I have configured new LDAP and new LDAP clients. When I do "sudo su -", it shows me lot of information, which is not required on screen. I am not sure, if any debug mode is enabled or from where it can be turned off. Please suggest, if it is know for you. -bash-3.2$ sudo su - sudo:... (8 Replies)
Discussion started by: solaris_1977
8 Replies

3. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

4. UNIX for Advanced & Expert Users

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Discussion started by: sanoop
7 Replies

5. Linux

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Discussion started by: sanoop
2 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

How to remove "New line characters" and "spaces" at a time

Dear friends, following is the output of a script from which I want to remove spaces and new-line characters. Example:- Line1 abcdefghijklmnopqrstuvwxyz Line2 mnopqrstuvwxyzabcdefghijkl Line3 opqrstuvwxyzabcdefdefg Here in above example, at every starting line there is a “tab” &... (4 Replies)
Discussion started by: anushree.a
4 Replies

8. UNIX for Advanced & Expert Users

add seconds to: date"|"time"|"HHMMSS

Hey all, I have a shell that invokes a AWK. In this AWK i want invoke a function that receives 3 parameters: date: 20080831 time: 235901 duration: 00023 that function receive this 3 parameters and sum to this value two more seconds: 2008083123590100025 Remember that in case that... (3 Replies)
Discussion started by: anaconga
3 Replies
Login or Register to Ask a Question