473,408 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

web servers - why do they slow down?

please any body could tel me the major reason for time delay in web servers..my application is taking around 20-30 seconds for retireving data
Nov 12 '07 #1
10 1797
jhardman
3,406 Expert 2GB
please any body could tel me the major reason for time delay in web servers..my application is taking around 20-30 seconds for retireving data
What is it trying to do? I have found the major things that delay me are:
1- sending email
2- connecting to multiple dbs
3- very long loops

Jared
Nov 13 '07 #2
What is it trying to do? I have found the major things that delay me are:
1- sending email
2- connecting to multiple dbs
3- very long loops

Jared

hi
my project server has been migrated to another location,as u mentioned we face problem in retrieving data from database.
i ll really thankful if u can gimme ideas to optimize response time of my server
Nov 15 '07 #3
jhardman
3,406 Expert 2GB
Are you connecting to the db via DSN, or with a file path?

Show a sample code snippet and maybe it'll give me ideas.

Jared
Nov 15 '07 #4
Are you connecting to the db via DSN, or with a file path?

Show a sample code snippet and maybe it'll give me ideas.

Jared


hi,
No problem in code,response time was good when our web server in previous location .what i want now is how can i improve the web server performance.hope u can get me
Nov 16 '07 #5
jhardman
3,406 Expert 2GB
hi,
No problem in code,response time was good when our web server in previous location .what i want now is how can i improve the web server performance.hope u can get me
no .
Nov 16 '07 #6
no .

i generally want to know the factors which can affect performance of a web server
Nov 19 '07 #7
I had the same problem. The reason is that the application domain times out every 20 mins if there is no activity, the first request after the timeout can force a recompile and reload of cache. Changing some settings in the machine.config file will solve the problem; unfortunately for me my hosting provider would not allow me to make this change. I found this utility to be useful.

http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82

Essentially it "Pings" my home page every few mins so the application domain does not time out. The utility can also be configured to ping more than one page so that auxiliary pages are fast too.
Nov 29 '07 #8
I had the same problem. The reason is that the application domain times out every 20 mins if there is no activity, the first request after the timeout can force a recompile and reload of cache. Changing some settings in the machine.config file will solve the problem; unfortunately for me my hosting provider would not allow me to make this change. I found this utility to be useful.

http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82

Essentially it "Pings" my home page every few mins so the application domain does not time out. The utility can also be configured to ping more than one page so that auxiliary pages are fast too.


thanks a lot for ur reply....i do have access to machine.config,so could u please tell me what are the changes should be made in machine.config in this regard....

thanks in advance
Nov 30 '07 #9
Looks like you are getting more traffic/visitors :)

just optimize mysql and apache. There could be extra modules in apache that might slow down. Also do a check about mysql memory usage.
Nov 30 '07 #10
Looks like you are getting more traffic/visitors :)

just optimize mysql and apache. There could be extra modules in apache that might slow down. Also do a check about mysql memory usage.

hi
exactly as u said we getting into traffic bottleneck...but we use foxpro database could you please tel me optimization releated to this.
Nov 30 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: alex via SQLMonster.com | last post by:
Hi, anybody can help me. How can i synchronize 2 tables on 2 different sql servers 2000 i mean TABLE1(col1, col2, col3, col4) and TABLE1(col1, col2, col3, col4, col5, col6) the first 3...
4
by: Michelle Stone | last post by:
I am about to deploy our application on the Internet. We will be moving our server (containing IIS and our asp.net application) to the DataCentre of our country in a few days for being online. ...
3
by: Venkat | last post by:
Hi, Ours is a windows based application and I have to perform an action which takes much time (as it requires much CPU time) on a single pc. I want to split the action to more than two and I...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.