I have a very peculiar problem that I am hoping someone can point me in
the right direction on. I have an asp.net page that displays a virtual
paycheck to a user. One asp.net page calls another that has its return
type as a jpeg. This jpeg is an image of a paycheck that is written on
top of with the appropriate information. The code runs fine on all of
our development machines as well as our test server. But on our live
server it takes a few seconds longer to run. When I turned trace on, I
found some bizarre results.
Here is what I see when I run it on my computer...
aspx.page Begin Render 0.102000 0.000062
aspx.page End Render 0.133487 0.031487
Obviously very fast... but in production.. I see this...
aspx.page Begin Render 0.061270 0.000019
aspx.page End Render 4.517474 4.456204
4.5 seconds in rendering!
And just as strange, it takes forever for the trace content to show up.
First the top part shows, then another table, then another table, and
it is about a minute before all the trace tables show up. This
behavior has been verified on multiple PCs. Our product server is dual
Xeon, much beefier than our development machines. I am unable to find
any problem like this on google, and I really have no idea whatsoever
on the root of this problem. Any ideas are welcome!
Thank you.
Tony 2 1600
Tony:
Could there be a concurrency issue? Have you tried any stress testing
on the jpeg producing code?
--
Scott http://www.OdeToCode.com/blogs/scott/
On 17 May 2005 12:55:50 -0700, "Tony" <to************ *@hotmail.com>
wrote: I have a very peculiar problem that I am hoping someone can point me in the right direction on. I have an asp.net page that displays a virtual paycheck to a user. One asp.net page calls another that has its return type as a jpeg. This jpeg is an image of a paycheck that is written on top of with the appropriate information. The code runs fine on all of our development machines as well as our test server. But on our live server it takes a few seconds longer to run. When I turned trace on, I found some bizarre results.
Here is what I see when I run it on my computer...
aspx.page Begin Render 0.102000 0.000062 aspx.page End Render 0.133487 0.031487
Obviously very fast... but in production.. I see this...
aspx.page Begin Render 0.061270 0.000019 aspx.page End Render 4.517474 4.456204
4.5 seconds in rendering!
And just as strange, it takes forever for the trace content to show up. First the top part shows, then another table, then another table, and it is about a minute before all the trace tables show up. This behavior has been verified on multiple PCs. Our product server is dual Xeon, much beefier than our development machines. I am unable to find any problem like this on google, and I really have no idea whatsoever on the root of this problem. Any ideas are welcome!
Thank you.
Tony
I have not done any stress testing. However this page is not hit by a
large amount of users. I can't think of any concurrency issue that
would slow that page down in that way. I could hit it at 3 am when
nothing is happening and it would still be slow in this manner. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Benjamin |
last post by:
Hello,
I need some advice on a financial application I'm doing. First, I suppose
I should give a little background so you know where I'm coming from. For
5 years I earned my living doing COBOL programming with some occasional
VB and web programming with ASP. Prior to that I went to a technical
college where I took a couple of courses in c, c++ and pascal. Although
now about all I can do is the basic "hello world" type applications in...
|
by: Zenobia |
last post by:
How do I display character 151 (long hyphen) in XHTML (utf-8) ?
Is there another character that will substitute? The W3C validation parser,
http://validator.w3.org, tells me that this character and the ones around it are illegal
- then, after resubmission it flags no errors.
So, are there any illegal characters between 0 and 255 in the UTF-8 character set or is it
just my imagination that the W3C validation parser thinks there are -...
|
by: RICHARD BROMBERG |
last post by:
I am writing an ASP program that includes a Form.
When the Form is submitted I use the Date() and Time() functions to put the
date and time into the Body part of the e-mail.
The time reported is three hours earlier than the time at which the Form is
actually submitted.
I understand these functions are evaluated on the server so the server must
be in a time zone three hours earlier than where I am .
|
by: john |
last post by:
Hello,
We have a tablet pc that is trying to sync data
to our main sql server during the night but we keep
getting a timeout issue. The tablet pc has an access
database that contains about 5000 rows of data. We have
setup the machine.config for a executionTimeout of 900.
Below is our code for the specific vb.net app and the
webservice it uses. Can someone see if I am missing
something as to why this is bombing out? Also is there a
|
by: Billy Jacobs |
last post by:
I am using the Day Render Event to place a red * on each
day where there is at least one event. This works fine on
my local machine. It however does not work on the
production server. The following is my code:
I even tried it removing the if completely. Just writing
the literal control to every cell no matter what and that
did not work on the production server either.
Please help. P.S. I know I have uploaded the code
| |
by: William Sullivan |
last post by:
I've got a website that may, on occasion, display a large list of items in a
bulletedlist control. On the client side, it takes about 4 seconds to get a
response that weighs in at over 1mb. It takes less than a second to display
those nodes. That part is fine
The problem is that when the user causes a postback, the browser appears to
lock up for anywhere between 10-20 seconds, at which point it renders the
response from the server.
...
|
by: lmttag |
last post by:
Hello.
We're developing an ASP.NET 2.0 (C#) application and we're trying to
AJAX-enable it. We're having problem with a page not showing the page while
a long-running process is executing. So, we're looking for a way to display
the page with a "please wait..." message while the process is running, and
then, when the process is done, update the page with the actual results/page
content.
We have a page that opens another browser/page...
|
by: =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?= |
last post by:
My application is taking way too long to build. It use to never take so
long. I change only line and I think it recompiles all the classes in the
assembly because it hangs forever. Here is the compiler line from the output
window during complication:
Target CoreCompile:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig
/nowarn:1701,1702 /platform:x86 /errorreport:prompt /warn:4
/define:DEBUG;TRACE /main:AutoDeveloper.Program...
|
by: Mark Main |
last post by:
I just bought Visual Studio 2008, I'm new to C# and trying to learn it. I'm
stuck and would appreciate some help.
I need to make the fastest code I can to work with a large key (it's 200
bytes wide) and add only the unique keys to a List<T>, Dictionary, Array...
whatever is fastest because I'll be doing trillions of compares.
The key is: ushort myBigKey = new ushort;
I want to treat the entire array (all 100 instances) as one long...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |