John Hegarty wrote:
> Server in a secondary school with novice administrator (me)
>> started using a linux server this year as our main server for intranet
> (apache) and fileserving (samba). It has been fast and reliable.It also
> runs MySQL and PHP.
>> However, last week it seems to have slowed down but I can't trace the
> problem.
>> When users load up the intranet homepage (from linux, XP or win98) it
> takes about 15 seconds whereas in the past it was instant. It doesn't
> make any difference if you use the ip address rather than the server
> name.
15 seconds suggests a network (usually DNS) setup problem.
If it was local resources that was the issue the system
would fell as slow as tar in shells etc.
The good thing is it's reproducible. I would
use tcpdump to see what the box was trying
to do for each web request (preferably with
as little traffic hitting the box as possible).
Something like:
# tcpdump host myhostname
Then you will be able to see any erroneous DNS request or whatever.
It should be quite easy to spot given the delay.
--
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---
To scroll the console (linux or xterm) use Shift+PgUp & Shift+PgDn
--
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!