Solved

ASP page slow in initial connection

Posted on 2008-06-13
5
1,075 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Telepresence on backup 3 77
Allow IP range in sonicwall 1 36
port redirection on cisco asa 5520 5 35
Windows 2012 R2 Anywhere Access and PCI compliance 5 65
We sought a budget ($5,000) firewall solution that would provide all the performance we needed with no single point of failure.  Hosting a SAAS web application in our datacenter, it was critical that we find a way to keep connectivity up and inbound…
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…

738 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