server slow response

ababneh

Verified User
Joined
Sep 13, 2010
Messages
11
For the past few days, at some times during the day, my site response time is too slow, meaning when I visit my site it keeps saying at the status bar of firefox: (waiting) for about 30 seconds before my site shows up.

The same thing apply to streaming FLV videos from the same server, it takes about the same time (30 sec) to just start playing, but once it started playing it loads it fast so you get smooth playback.

I heard that it could be a memory problem i.e. ram is running low so I upgraded from 2 GB ram to 4 GB. Still having the same issue.

At the same time while this delay is happening, I can log in to DA smoothly and I can click on things inside DA and loads very fast.

keep in mind this issue happens only at certain times during the day and not consistent.

Anyone has an idea or suggestion for what could be happening.

Thanks in advance
 
I did, but they didn't find any issues or lag on the system, actually everything looked to be running great and even verified by just-ping.

if DA is running fast, why is the site running too slow? any possibility it has to do with apache or other installations?
 
Install and configure munin, and you'll able to see, what is going on with your server on graphs.

Make sure, you've python installed just before, you install munin.
 
It seems that I am running out of swap memory. I am going to increase swap memory to 8 gb. hope that will do it
 
No you should increase your ram...you should never be using swap.
 
ok so im not running out of swap, im using 0% swap. what I am running out of is the ram, out of 4 gb only 150 mb available. why wouldn't linux start using some swap already , and I can't upgrade ram anymore it is maxed out.
 
If linux starts using swap things get slower. Because swap memory is actually on your hard disk, which is much slower than system RAM.

Have you tried rebooting your server to see if it frees up system memory? Normally this shouldn't be necessary but it may be a lot faster than individually restarting all the system services until you find the one that's hotting system memory.

Have you checked your logs to make sure you're not being hit with a DOS attack?

Jeff
 
Back
Top