Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP Locking Up
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP Locking Up

 Post Reply Post Reply Page  12>
Author
gbrandwood View Drop Down
Newbie
Newbie


Joined: 21 August 2003
Location: United Kingdom
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbrandwood Quote  Post ReplyReply Direct Link To This Post Topic: ASP Locking Up
    Posted: 14 January 2004 at 9:29am

Hi guys

Whilst I'm searching google on this, I thought I'd ask the question here anyway - it doesn't already seem to have been asked.

[If google returns the solution, of course, I'll post it here]

I'm using IIS6 on W2003 Standard edition.  However, I was running IIS4 last week with the same problem so I suppose it's not version specific.  The server, BTW, has plenty of capacity (without going in to detail).

Every now and again, ASP just seems to stop working on the server.  Any page that runs an ASP script will not show in the browser and no error will be displayed.  I just get a timer bar waiting for the page to load.  No errors seem to be written to the Windows or IIS logs about this.  It is always cured by simply restarting the WWW service and then ASP starts working again.  When it's working, everything works great.

Any ideas how I can investigate where the problem lays?  Any good ASP monitoring tools / techniques I could use.

Thanks for any hints.

Gareth

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 9:30am

is it any ASP page or a certain one?

sounds to me like its some out of control code of yours....

"asp not working" is simply not a common problem

Contribute to the working anarchy we fondly call the Internet
Back to Top
gbrandwood View Drop Down
Newbie
Newbie


Joined: 21 August 2003
Location: United Kingdom
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbrandwood Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 9:34am

Thanks for replying.

I'm almost certain it's my code - it must be.  But, what code?  All the pages that run run fine unless the problem has occurred.  Running the common pages, even under heavy use, doesn't trigger the problem.  It just seems to happen.

It doesn't happen during the weekends or of an evening though when there's very light use.  But some times I can have over 400 people connected and there's no problem, sometimes 200 people and there is a problem.  I'm perplexed.

The reason I'm not getting very far with google is because I don't know quite what I'm looking for (no error codes!).

Thanks

Gareth



Edited by gbrandwood
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 9:56am

well, all i can do to help is provide you with something that i ran into on my site

i am running some version of WWG that is based on 6.34 (whatever was out May of 2002)....  i was having this exact problem you speak of. something would happen on the server where BAM, some piece of code would spin the server out of control and prevent it from serving up pages in the exact manor you describe

i couldn't track this because i had absolutely no where to start, what to look for, etc

then by blind luck one day, there was a thread in a forum on my site that people could duplicate this happening..... clicking to open up this one thread send CPU use through the roof and locked everyone out.....

so i inspected the thread in SQL's query anaylzer.. all looked good.... then i started looking at the 3 people who had participated in that thread.....  one guy was trying to use [QUOTE] in his signature (i dont have the WYSIWIG feature turned on my site)... so i took out the guy's sig, and what do you know, all was well again.....

i have modified the WWG code so much that i have no idea if this issue was my doing or not, but regardless, i now totally strip out that "forum code" in people's signatures.....  it was just absolutely blind and dumb luck that i ran across the issue to be able to fix it

Contribute to the working anarchy we fondly call the Internet
Back to Top
bryanlai View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2003
Location: Malaysia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bryanlai Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 12:13pm
So could we share the codes? I mean just some simple descriptions of the structure of the malicious forum codes mentionned.
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 12:28pm

ws that reply directed to me?

if so, it was just in the "Replace" code i guess that is part of the forum, it totally choked when it saw it in the signature... i just knew what the problem was and had to fix it, so i went route B and disallowed that particular forum code instead of finding out "why" it spun the server

Contribute to the working anarchy we fondly call the Internet
Back to Top
gbrandwood View Drop Down
Newbie
Newbie


Joined: 21 August 2003
Location: United Kingdom
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbrandwood Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2004 at 4:01am

@MorningZ

It would be very handy to know exactly what the code was that was causing the error so I can see if I have it anywhere.  I know I've used the ASP replace() command extensively throughout my apps but testing always seem to show no problems.

I'm experimenting with the Web Application Stress tool and hopefully this will help track it down.

Could it be due to my heavy use of Access databases?  I have several databases and several connections to each loading on the home page of the site (heavy traffic).  Or would you expect to see a specific error if it was related to db access.

I really need this sorting as I'll be leaving my current job soon and don't want to leave my replacement with the problem of fixing some unknown portions of my code.



Edited by gbrandwood
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2004 at 7:55am
Check that all connections are closed and released. Try compact&repair on the Access DB's.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.