Ubuntu seems running slow!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Ubuntu seems running slow!
# 8  
Old 12-02-2011
ok, looks like you are running out of memory on your *slower* machine as is evident from from swap line from free -m.

On the slower machine, try reducing the *swapiness* value to 10, you can read about how to do this here:

Code:
https://help.ubuntu.com/community/SwapFaq

See if swapiness helps. I would set the value in sysctl.conf , reboot and try your slower machine with the new setting in effect.
# 9  
Old 12-02-2011
cat /proc/swaps
Code:
Filename                Type        Size    Used    Priority
/dev/sda5             partition    1047548    688604    -1

I am surprised the swap has been used mostly. Then how to fix it? Thank you so much.

Last edited by yifangt; 12-02-2011 at 01:50 AM..
# 10  
Old 12-02-2011
in addition to setting the *swapiness* value as I said in the post above, set the swap priority to 1:

Code:
swapoff -a
swapon -p1 -a

to set it permanenty, edit fstab and set pri=1, see man swapon.
# 11  
Old 12-02-2011
Thank you so much!
I changed the swappiness, it seems not helping very much.
Code:
free -m 
             total       used       free     shared    buffers     cached
Mem:          1002        923         79          0          5        196
-/+ buffers/cache:        720        281
Swap:         1022        646        376

Which fstab file to change? and where to put
Code:
swapoff -a 
swapon -p1 -a

Forgive me, I am just a beginner. Thanks again!
# 12  
Old 12-02-2011
if swapiness did not help, don't think setting the priority is going to help. Anyway the file is /etc/fstab.

The *swap* line in /etc/fstab should look something like this:

Code:
/dev/hda5    swap    swap    pri=1   0 0

Try putting in more memory Smilie or try considering a lighter web-browser (firefox can be memory hungry). Try switching windows manager to fluxbox.

I would read here on how to :

https://help.ubuntu.com/community/In...wMemorySystems

That's all I have and can think of for now. Good Luck.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

Ubuntu very slow after repartitioning

Good evening, i don't know if this is the right section, so forgive me if it's wrong. i have an Asus Gl503v in dual boot w10-ubuntu18. hard disk is hybrid ssd-hhd. w10 is the native system and it is on ssd. I partitioned the hdd left a part ntfs and a part ext4. In the ext4 part i created... (15 Replies)
Discussion started by: Marcov
15 Replies

2. AIX

AIX server running very slow

Hello, All the commands on AIX are running very slow. Below is few stats but I didn't find any issue in cpu or memory reosurces vmstat System configuration: lcpu=4 mem=6144MB ent=1.00 kthr memory page faults cpu ----- -----------... (2 Replies)
Discussion started by: Vishal_dba
2 Replies

3. Shell Programming and Scripting

Slow Running Script (Reading 8000 lines)

Slow runnin script. The problem seems to be the sed calls. In summary the script reads list of users in file1. For each username search two files (file 1 & file2) for the username and get the value in the next line after "=". Compare these values with each other. If the same then output... (9 Replies)
Discussion started by: u20sr
9 Replies

4. Solaris

Slow while running a command for the first time

I am facing a performance problem on a Solaris 10 Sparc V890 server, it is an old one I know. The first time we realized there is a problem with the server, is the time when ftp transfers are made. There were 4 other identical servers doing much better. Network drivers are checked and there... (3 Replies)
Discussion started by: royalliege
3 Replies

5. Red Hat

postgresql issues - system running really slow

Hi All, I'm new here. i was wondering if anyone could shed a light on the problem i am having. I use a system for distributing broadband amongst users of for example a hotel, the system was designed by someone in the US and it is based on redhat 2.4 (i know its old) and the system uses... (3 Replies)
Discussion started by: clive306
3 Replies

6. UNIX for Dummies Questions & Answers

Unix is running slow??

All, This is my interview questions. Let me explain the question. Some one is asking me that, the unix server is running very slow. As a unix unix admin, what are the steps we should follow?? What/which process we should check?? What is the way to find the root cause ? Please let me know.... (8 Replies)
Discussion started by: govindts
8 Replies

7. HP-UX

SAM running slow

Any ideas on why SAM would take so long to load and initialize? (4 Replies)
Discussion started by: csaunders
4 Replies

8. SCO

Server running slow

Hi, Wonder is someone can help. I've got a server SCO_SV 3.2v5.0.7 PentIII that is located at a different site and is running slow and has been for a week. I've been speaking to a third party who say nothing is wrong with it but its still running slow. The 3rd party advise it could be a... (2 Replies)
Discussion started by: tez
2 Replies

9. Solaris

Solaris running very slow!!

Hi all, Solaris is working very slow as login to solaris takes time say after 10 to 15 mins we get the login prompt back after logging in as oracle account/other account. This causes most Batch run delays(DWHouse jobs) scheduled through cronjobs. Where should one look for such issues to... (3 Replies)
Discussion started by: a1_win
3 Replies
Login or Register to Ask a Question