• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

Linux Fedora Core 3 running very slow since running updates

Since running the live update in Fedora and installing all the patches the system has become extremely slow to the extent that you can’t use it.

The Fedora machine is only used for samba file sharing for the firms’ documents etc. I’m also using Webmin to navigate around it quicker.

I don’t know if this is related, but ive been into the GRUB boot loader via webmin and there are 12 boot options, and the one selected is Fedora Core (2.6.11-1.14_FC3smp). Are the other 11 boot options slowing it down? What does the ‘smp’ stand for at the end of the selected boot? As there is also a Fedora Core (2.6.11-1.14_FC3) boot option listed.

I would be grateful if you could help me troubleshoot the reason why it is suddenly running very slow.

0
the_omnific
Asked:
the_omnific
  • 4
  • 3
1 Solution
 
the_omnificAuthor Commented:
In addition I have to boot the Windows Server and then the Fedora server in that sequence otherwise the Fedora server will authenticate user logins.

And I have added to the Samba config file:

domain logons = No
domain master = No

And it still authenticate user logins?
0
 
the_omnificAuthor Commented:
samba config file

[global]
      log file = /var/log/samba/%m.log
      dns proxy = No
      cups options = raw
      ldap ssl = no
      server string = Fedora Server
      idmap gid = 16777216-33554431
      socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
      idmap uid = 16777216-33554431
      workgroup = domain
      os level = 20
      null passwords = yes
      domain master = No
      security = share
      max log size = 50
      domain logons = no

[sophos]
      comment = sid
      path = /opt/sophos
      writeable = yes
      guest ok = Yes

[archive]
      writeable = yes
      path = /archive
      write list = @domain
      force group = domain
      create mask = 0770
      directory mask = 0770
      comment = Public
      valid users = administrator
      browseable = no

0
 
rindiCommented:
Make sure you have enough diskspace left in your main linux partitions (/root, /var and possibly /boot). Most of your log files will be saved somewhere in /var, so make sure that isn't filling up. Also when you run an update, particularly of your Kernel, Your old kernel and modules will stay on your disk. There should be no problem if you remove some of the old kernels and modules, which you know you don't need anymore. The kernels are in /boot, just remove those (and the accompanying files) you are sure you don't need anymore. You can also delete those entries from your grub.conf file. The modules you will find in /lib/modules. Again you can delete those modules folders for those old kernels. They will have the same folder name as the kernels. After deleting those excessive files you should have more diskspace, which may speed up your system again.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
wesly_chenCommented:
> What does the ‘smp’ stand for at the end of the selected boot?
SMP: Symmetirc Multiple Processor
For the machine have more than one CPU or the CPU have Hyperthreading enabled.

1. It could be something wrong with the latest kernel (buggy).
   Just boot from the previous kernel to see if the performance become better.

2. Type
top
to see which process occupied most of CPU or memory resources.

3. Do
df -hl
to see the disk (filesystem) usage.
Make sure / or /var  or /tmp have enough space.

By the way, your smb.conf looks ok to me.
0
 
the_omnificAuthor Commented:
Thanks guys ill have a look in to it tomorrow morning. I'm trying to avoid using Webmin as much as possible because im attempting to learn more about Linux properly. How would I set it to boot from a previous kernel? The new kernel seems to have thrown my raid controller out, as the existing hard drives no longer exist and fail to mount on boot up. Would this be likely?

Also from looking at my samba config file, any idea why the Fedora server keeps on authenticating users over the Windows 2003 server machine if the Fedora server was booted up before the Windows server? - I think that may have something do to with why it was running sluggish too. For example, if I had to reboot the Windows server during the day for what ever reason – Network Places on the Windows server will only display the Fedora server and itself and I’d have to reboot the Fedora server to get it displaying the whole network correctly.
0
 
wesly_chenCommented:
> The new kernel seems to have thrown my raid controller out
Because you didn't recompile the RAID driver for the new kernel or the boot ramdisk file didn't build the RAID driver in.
What's kind the RAID controller do you have (brand/model)?

Edit /etc/grub.conf and change "default=X" where X is the number of your old kernel.
From top to bottom of /etc/grub.conf, there are "title ....", the first one X=0, then the second X=1....
Just look at the kenrel version which you feel comfortable before and change "default=X".
Then it wll boot up from that kernel be default.

Comment out
# idmap gid =
# idmap uid =
Those two lines in /etc/samba/smb.conf
Make sure there is no "winbind" in /etc/nsswitch.conf
0
 
the_omnificAuthor Commented:
The previous kernel detected my raid controller without having to recompile it.

It is an IDE Raid controller on the ASUS Motherboard P5GDC Deluxe

So the moment ive had to attach the secondary hard drive as a slave to the primary master on the standard IDE channel, then I obviously remounted the drive to the same location it was previous.

Just so I know what im removing from the samba config file, what exactly is (idmap gid AND idmap uid)?

0
 
wesly_chenCommented:
ASUS Motherboard P5GDC Deluxe:
http://usa.asus.com/prog/spec.asp?m=P5GDC%20Deluxe&langs=09
It has Intel SATA RAID and ITE UDMA IDE RAID. Which one are you talking about?
For ITE RAID, you need to download the driver and compile for your kernel
http://www.asus.com/pub/ASUS/misc/ide/ite8212/ITE8212.zip
However, if the previous kernel can detect the raid controller, then just use that kernel.

idmap is for Linux using Windows' AD authentication to login (winbind). If you have local Linux
login account, then you don't need it.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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