Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Dedicated Windows Managed Server?

date posted 19th April 2008 10:19

> This current server only has 1Gb RAM and is driving me nuts - nothing I
> do seems to improve the performance by much. Ha, ha. There are an average
> of 50 - 75 users per day on this web site - which has its own dedicated
> server and I count 22 timeouts today already - with the connection string
> set to "Connection Lifetime=300;"

I doubt whether another server will sort out your problems as a server with
1Gb of RAM should be able to easily server up pages to 50-75 users a day, I
suspect the code which is running on it is dubious, there is one key thing
which happened on a site I used to manage which sounds similar.

I found that the developer who originally created the site didn't always
close their database recordsets and connections properly, on every page the
correct classic ASP structure for example should be:

Dim objConn, objRS
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open strConnString

Set objRS = Server.CreateObject("ADODB.RecordSet")
objRS.Open strSQL, objConn

...

objRS.Close
Set objRS = Nothing

objConn.Close
Set objConn = Nothing

I know it's a pain, but well worth the time spent as after sorting this out
on every page, most of the problems disappeared, upon further investigation
it turns out that unless you close the recordsets and connections like this
they remain in memory until they timeout.

HTH

--
Colin Shipton
Intrafusion Website Design & Development
http://www.intrafusion.co.uk
http://www.linkedin.com/in/intrafusion







Messages by Day
April 30th 2008
April 29th 2008
April 28th 2008
April 27th 2008
April 26th 2008
April 25th 2008
April 24th 2008
April 23rd 2008
April 22nd 2008
April 21st 2008
April 20th 2008
April 19th 2008
April 18th 2008
April 17th 2008
April 16th 2008
April 15th 2008
April 14th 2008
April 13th 2008
April 12th 2008
April 11th 2008
April 10th 2008
April 9th 2008
April 8th 2008
April 7th 2008
April 6th 2008
April 5th 2008
April 4th 2008
April 3rd 2008
April 2nd 2008
April 1st 2008


Messages by Month
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000