0

I am using Ubuntu 14.04 on my computer that acts as a server. Short pc spec list (lshw): http://pastebin.com/7ud6rpxX

The average number of procs is 500 (I have got a little widget that I forgot the name of on my desktop)

The server is running a GitLab server on it with a runner connected to it, but it isn't doing anything at the time of being slow. There is not really any connection to the things the server does on GitLab and the performance of the system.

The one moment it's fast, the other it's slow. Can't find out why, also the booting is very very slow (the terminal kind of bootdetails list is progressing very slow and takes it's time)

Should I disable the visual effects?

Thanks,

Tim

EDIT: I haven't found anything that uses my cpu above 2,5% and my memory above 8%. Could it be the GPU giving up?

EDIT: Here is the second bootchart image:

HIGH RES

EDIT: This is the bootchart with the ureadahead pack file removed:

HIGH RES with pack file removed

Bootchart of 16/04/25

tim687
  • 131

1 Answers1

0

At first you have to know what is causing this slows. You can monitor if your cpu is not excessive loaded:

watch "ps aux --sort -pcpu | head -11"

This will monitor every default 2s top 10 consuming cpu processes. You can send it to log file for further investigation with a little tee help:

watch "ps aux --sort -pcpu | head -11 | tee -a logfile"

In the same way you can monitor memory usage

watch "ps aux --sort -rss | head -11"

For slow booting problems. You can install bootchart

sudo apt-get install bootchart

reboot your system and analyse chart which should be placed in /var/log/bootchart. It should tell you what causes slow boot. After all you can disable bootchart service with:

sudo tee -a /etc/init/bootchart.override <<< manual

You can also use tools like top for process monitoring and iotop for I/O operations and check logs /var/log/syslog,/var/log/kern.log, /var/log/boot.log for "suspicious" entries

EdiD
  • 4,617
  • 3
  • 27
  • 41