PC Review


Reply
Thread Tools Rate Thread

ASP NET server can not response after long job

 
 
jacob
Guest
Posts: n/a
 
      19th May 2006
Hi everyone:
I have a problem in ASP NET. Here is my situation.
I developed an ASP NET application. It concerns data statistics.
DB is oracle 10g, Web server is IIS 6.0, Server OS is Win2003, Client
OS is Winxp,
Develepment Platform is VS2003. In DB, data of a major table is huge,
( 6~9 milllions)
I have to do some statistics on that huge table, then fill the result
to htmltable.
Here comes the problem.
If the job takes less than 5~6 minutes, IE of client will show the
correct result.
If the job takes more than 6 minutes, IE of client has no response.
When I monitored
the log in Server, it showed the job had completed. So I doubt server
can not push the
data back to client after the request takes more than 5~6 minutes.
could some one give me some advices?
any suggestion will be appreciated.

Server Hardware : DELL SERVER P4 3.0G, 1G RAM, 160G HD
IIS and Oracle 10g are installed in the same machine.
Does two of them conflict in one server?
Sorry for my poor english

 
Reply With Quote
 
 
 
 
jacob
Guest
Posts: n/a
 
      19th May 2006
I have change value of item "executiontimeout" in server's
machine.config

 
Reply With Quote
 
Tasos Vogiatzoglou
Guest
Posts: n/a
 
      19th May 2006
You should consider using asynchronous execution of this task in a non
aspnet worker thread.

Because right now you are using an ASPNET worker thread to perform your
logic. If you have any questions about asynchronous execution post a
question.

Regards,
Tasos

 
Reply With Quote
 
jacob
Guest
Posts: n/a
 
      19th May 2006
firstly thanks a lot.
And can asynchronous execution shorten the time to 5~6 minutes?
you know, the major table can be more and more huge,
even you use multithread to process the job, it will still take you
more than 5~6 minutes when data reaches such a proper count.
I admit there are some faults in database design. But it has legacy
data, I can do nothing on it.

is there some else trick? or I have not get your point clear?
please !!!

 
Reply With Quote
 
Tasos Vogiatzoglou
Guest
Posts: n/a
 
      19th May 2006
I don't know if asynchronous execution will shorten the time, but you
will free an aspnet worker thread that can be used to serve other
requests (having nothing to do with the db logic).

By using an asynchronous request you utilize in a more efficient way
the worker threads of your application and you can show a "Please wait"
to the user and probably a status bar or sth ...

 
Reply With Quote
 
jacob
Guest
Posts: n/a
 
      19th May 2006
To solve this problem, I cloned a deploy environment.
And even one request one time, no other jobs were due to process,
I waited for a long time, the problem still occured.

BTW: I did some extra test. just hard coding some delay in process user

request("thread.sleep(n)" such stuff), it still does not work.
what a weird problem

 
Reply With Quote
 
mkumaran
Guest
Posts: n/a
 
      19th May 2006
Hi Jacob,
Please reconsider your schema design..
If you have a primary key in a table You can create a clustered index
on it.
If you have a foriegn keys please create a database diagram to give the
realationships among them so that the query runs very fast. Optimize
your database with indexes.
and see the difference.
--
Muthu Kumaran.D
(unknown is ocean )

 
Reply With Quote
 
jacob
Guest
Posts: n/a
 
      19th May 2006
Hi mkumaran
3ks. I got ur point.
But it is a legacy database with legacy data.
I had an idea about redesigning the database before.
I can not guarantee the impact of redesign
maybe legacy system will crush.
so it is pity that i can not take your advice.
thanks a lot

 
Reply With Quote
 
mkumaran
Guest
Posts: n/a
 
      19th May 2006
Hi Jacob,
Do one thing,
Take Full back up of your database and restore it somewhere else. And
try those things I have told to you. It wil definitely help you to sort
out of this problem. If this idea not worked for you You can carry on
with your legacy old database.
Bye,
Muthu Kumaran.D

 
Reply With Quote
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      19th May 2006
five minutes is too long. you need to start a back ground thread to do the
work, then have the browser poll for completion. google this group on
progress bar for more info.

-- bruce (sqlwork.com)



"jacob" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi everyone:
> I have a problem in ASP NET. Here is my situation.
> I developed an ASP NET application. It concerns data statistics.
> DB is oracle 10g, Web server is IIS 6.0, Server OS is Win2003, Client
> OS is Winxp,
> Develepment Platform is VS2003. In DB, data of a major table is huge,
> ( 6~9 milllions)
> I have to do some statistics on that huge table, then fill the result
> to htmltable.
> Here comes the problem.
> If the job takes less than 5~6 minutes, IE of client will show the
> correct result.
> If the job takes more than 6 minutes, IE of client has no response.
> When I monitored
> the log in Server, it showed the job had completed. So I doubt server
> can not push the
> data back to client after the request takes more than 5~6 minutes.
> could some one give me some advices?
> any suggestion will be appreciated.
>
> Server Hardware : DELL SERVER P4 3.0G, 1G RAM, 160G HD
> IIS and Oracle 10g are installed in the same machine.
> Does two of them conflict in one server?
> Sorry for my poor english
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Long response for redirected Milos Puchta Microsoft Windows 2000 Active Directory 6 29th Jun 2007 03:58 AM
Long response Milos Puchta Windows XP General 1 22nd Jun 2004 08:03 AM
RE: long delay or no response =?Utf-8?B?TW9sb2hvdiBBcGVydHVz?= Windows XP Performance 2 18th May 2004 01:52 AM
Long response Milos Puchta Windows XP General 1 4th Apr 2004 02:22 PM
SMTP Server response to long e-mails Juan Romero Microsoft VB .NET 0 24th Mar 2004 05:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.