[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Linux slow to serve after reboot

A long serving Linux 2.2.18 server had to be rebooted at the weekend. It has served Perl/MySql pages from httpd for goodness knows how many years and the chap who wrote it all has moved on.

My problem is it is really slow to serve the http, maybe 30 secs for the opening page with a sidebar. Images are fine but the layout takes forever to appear.

Using top the server appears to be doing nothing, I've fsck'ed and run myisamchk on the Dbs just in case but to no avail.

Any help would be greatfully received...
0
paulm987
Asked:
paulm987
  • 3
1 Solution
 
woolmilkporcCommented:
Hi,
does all the content come from the local machine?
Anyway, this sounds like some kind of name resolution or routing problem.
Perhaps there is more than one nameserver entry in your /etc/resolv.conf and the first of them doesn't exist any more?
In your /etc/netsvc.conf, take care to have 'bind4' in the 'hosts=' statement, (or 'bind6', if you're using IPv6), and not 'bind' alone.
And, please check your gateway settings.
 
wmp
0
 
paulm987Author Commented:
Thanks for the response wmp.
All content is local and the only entry in resolv.conf is 127.0.0.1, however I have entries in the hosts file to resolve the machine name to it's fixed IP. I can ping by name and IP from the network with <1ms replies.
This server is an intranet server and has no public presence.
I do not have a netsvc.conf file in /etc but I only use IPv4. possibly an older version of the build?
My g/way is as required
Any more ideas?
0
 
paulm987Author Commented:
Resolved!

The server had been plugged into a new Gigabit switch, when I plugged it into an older switch it was restored to it's former glory.

The new switch supports IPv6 the older one does not so maybe that was the problem.

Thanks wmp you deserve the points as you gave me the clue with the IPv4/IPv6 question.
0
 
paulm987Author Commented:
Thanks again.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now