Solved

ASP page slow in initial connection

Posted on 2008-06-13
5
1,077 Views
Last Modified: 2013-11-16
Hi Experts,
I have a nasty question here which drives me crazy for the last week and I don't seem to get a answer from the net.
We just upgraded our datacenter, with a two new Firewalls, both a Juniper SSG-320m which run in HA.
I put some webservers and sqlserver in there and now the problem starts.
A regular unix machine with apache and PHP is fast as lightning, but in the same acces rule (port 80 untrust to front-end zone) a Windows 2003 IIS server hosting a heavy .aspx page takes literaly 21 seconds to load.
I see in my logs a session is created but the request to the server has a timeout of 20 seconds.
So even when I have stopped the application it takes 20 seconds to get the server error.
Yesterday I put the server directly on the net, and then the performance is fine, but now back behing the SSG's the error is there again. I had a play with the ALGS and virus detection, but it didn;t seem to work. Maybe it has something to do with the Adress translation.
Is anyone familiar with this problem or can tell me what to to, because I'm quite desperate.

500 for the winning answer.
0
Comment
Question by:RedAdvanced
[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
  • 3
  • 2
5 Comments
 
LVL 32

Expert Comment

by:dpk_wal
ID: 21784780
Frankly I am not sure what is causing the problem; but I think if you have turned ALG they might be causing the problem; can you check if you disable ALG then what is the behavior.
ALG does packet inspection and hence would introduce latency; latency is even introduced by the firewall itself; NAT, packet inspection and other things like antivirus would also cause latency.

As I said earlier I am not 100% sure, but would be interesting to see the results.

Thank you.
0
 
LVL 1

Author Comment

by:RedAdvanced
ID: 21801296
That's what I thought of aswell, but after turning off ALG for all known services the performance wasn't getting better.

I also turned of all packet filters, anti-virus etc. just to see it would make any diffrence, but no. Nothing seemed to have caused the latency.
0
 
LVL 1

Author Comment

by:RedAdvanced
ID: 21801301
What also needs to be mentioned, is that this firewall cluster is brand new. There are hardly other servers behind it that a DNS server and a apache webserver, which are actually running fine.
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 21803720
I am sorry but I am not sure what else might be causing such a behavior; if linux works good so should windows; may be some other expert might have some suggestion.

Regards.
0
 
LVL 1

Accepted Solution

by:
RedAdvanced earned 0 total points
ID: 21844742
I have found the solution, and it was actually provided by a support tech @ Juniper (thanks Manish)

We had to set the "all-tcp-mss" option
The default explenation of this option is:

Sets the TCP-MSS (TCP-Maximum Segment Size) value for all TCP packets for
network traffic. This also sets the TCP-MSS for IPSec VPN traffic if the tcp-mss
option (described below) is not set. If you enter the set flow tcp-mss
command, that setting overrides the all-tcp-mss option for VPN traffic.
The TCP-MSS range can be from 0 to 65,535 bytes. By default, the
all-tcp-mss option is unset.

By setting the maximum segment size to 1320 the problem was gone.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

When posting a question about a Cisco ASA, Cisco Router or Cisco Switch, it can aid diagnosis if a suitably sanitised copy of the config is provided. It is much better to leave as much of the configuration as original as possible, as it could be tha…
Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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