Ubuntu Linux free memory ram optimizasyonu

Paylaş.

 

sudo free -m

sudo free

 


sudo  free && sync && echo 3 > /proc/sys/vm/drop_caches && free -m

             total       used       free     shared    buffers     cached
Mem:       1018916     980832      38084          0      46924     355764
-/+ buffers/cache:     578144     440772
Swap:      2064376        128    2064248
             total       used       free     shared    buffers     cached
Mem:       1018916     685008     333908          0        224     108252
-/+ buffers/cache:     576532     442384
Swap:      2064376        128    2064248


sudo ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | less
 

MySQL Low-Memory Settings (typically found in /etc/mysql/my.cnf)  

key_buffer = 16K 
max_allowed_packet = 1M 
thread_stack = 64K 
table_cache = 4 
sort_buffer = 64K 
net_buffer_length = 2K  

Apache 2 Low-Memory Settings (typically found at /etc/apache2/apache2.conf) 
 
StartServers 1 
MinSpareServers 3 
MaxSpareServers 6 
ServerLimit 24 
MaxClients 24 
MaxRequestsPerChild 3000
VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)
Ubuntu Linux free memory ram optimizasyonu, 9.0 out of 10 based on 1 rating