Solved

Max OS X Tomcat web application server intermittantly very slow response

Posted on 2010-08-12
6
931 Views
Last Modified: 2013-11-11
Hello,

A Mac OS X 10.6 is running Tomcat 5.5. Performance can be very, very slow at times ... 10+ second waits. At other times it is very fast ... on the same page, doing the same thing. The longer it is between activity on the browser the more likely a long delay is going to occur. So if user keeps hitting the page response will be good for maybe 20 hits before a slow down. If user waits a minute response is likely to be poor right away. When the delay happens the browser page is blank. There are no log entries indicating a network problem.

This problem seemed to appear when we moved offices. At that time a managed switch was removed and replaced by an unmanaged switch. Another Mac was set up with identical applications on Tomcat. Initially it ran fine with no long delays but then I changed its default gateway to a different router and it then showed intermittant slow reponse.

This performance problem occurs both on the Internet and inside the network. It is very frustrating and we've tried quite a few things to resolve it.

There is nothing about the application that is being run that would cause this slow down. It is definitely a network issue. Everything used to work fine at our old office. Cannot think of what could be causing the trouble.

Thanks,
Peter
0
Comment
Question by:pdegregorio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 32

Expert Comment

by:nappy_d
ID: 33426064
Do you have two gateways setup on your network?
0
 

Author Comment

by:pdegregorio
ID: 33426096
There used to be two gateways. Now there is only one.
0
 

Accepted Solution

by:
pdegregorio earned 0 total points
ID: 33426307
I have changed the dns settings of the main server (the one with the problem) from

DNS Server: isp_dns_server_a, isp_dns_server_b
Search Domains:

to

DNS Server: local_dns_server, isp_dns_server_a, isp_dns_server_b
Search Domains: local_domain_name

e.g.
DNS Server: 192.168.222.222, 123.123l.123.1, 123.123.123.2
Search Domains: ABC

... and this may have improved things. Don't know why.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:pdegregorio
ID: 33426593
Yes the DNS change has fixed the performance issue.
0
 
LVL 32

Expert Comment

by:nappy_d
ID: 33426607
It sounds like your internal DNS servers are able to provide name resolution to the resources the server is looking for.
0
 

Author Comment

by:pdegregorio
ID: 33426688
Yes that seems logical but I don't get it. The application is entirely hosted on the server. There are no external resources. References to the database are "localhost". Don't know why a LAN  DNS server would matter. Don't think it was there before. Any ideas?
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question