Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux --- manual release system cache     - Correlation Analysis: FP-Growth algorithm (Programming)

- Graphing tool: Gnuplot (Linux)

- Java open source monitoring platform Zorka basic use (Linux)

- Depth understanding of C language (Programming)

- How to restart after a crash Cinnamon (Linux)

- TypeScript basic grammar (Programming)

- Use Observium to monitor your network and servers (Server)

- CentOS 7 update source - the use of domestic sources 163 yum (Linux)

- Android determine the device network connection status, and determine the connection (Programming)

- CentOS6.5 install SVN & visual management tools iF.SVNAdmin (Server)

- Vagrant build LNMP environment (Server)

- Linux kernel IPv6 protocol closed manner (Linux)

- Linux how to view your JDK installation (Linux)

- How to install Virtualbox 4.3.20 in Ubuntu 14.04 (Linux)

- PostgreSQL use pgpool achieve high availability (Database)

- HAproxy let IP recording back-end RS (Server)

- How to implement Linux host Telnet SSH password Free (Server)

- Solve ORA-01012: not logged on (Database)

- Generators and iterators in Python (Programming)

- Linux shared libraries .so file name and Dynamic Link (Linux)

  Linux --- manual release system cache
  Add Date : 2018-11-21      
  linux: /etc/rc.d # vmstat

procs ----------- memory ---------- --- swap-- ----- io ---- -system-- ----- cpu- -----

 r b swpd free buff cache si so bi bo in cs us sy id wa st

 0 0 2.59854 million 00420528014880 00121112019810

This cache is a system from the physical memory allocation, used to make the file system read buffer, in accordance with the Linux instructions when the system memory is tight, this memory is automatically released. Manual release caches approach:

sync; echo 3> / proc / sys / vm / drop_caches

Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.

To free pagecache:

* Echo 1> / proc / sys / vm / drop_caches

To free dentries and inodes:

* Echo 2> / proc / sys / vm / drop_caches

To free pagecache, dentries and inodes:

* Echo 3> / proc / sys / vm / drop_caches

As this is a non-destructive operation, and dirty objects are notfreeable, the user should run "sync" first in order to make sure allcached objects are freed.

This tunable was added in 2.6.16.
- Advanced Search Oracle study notes (Database)
- Customize own small private Linux system (Linux)
- Ubuntu upgrade to Linux Kernel 4.2.3 Kernel (Linux)
- Oracle RMAN repair logical bad blocks (Database)
- Formatted output printf command (Programming)
- How to use the Linux command compress JPEG images (Linux)
- Web cache basics: terminology, HTTP headers, and caching policies (Server)
- Node.JS different ways to install under Ubuntu 15.04 (Linux)
- Linux OOM killer mechanism (Linux)
- Git uses a small mind (Linux)
- How to find out a Unix system library files are 32-bit or 64-bit (Linux)
- Use PuTTY to access the virtual machine Linux under Windows xp (Programming)
- I like Linux Security (Linux)
- MongoDB common optimization settings in Linux (Database)
- How to install open source ITIL portal iTOP on CentOS 7 (Server)
- secureCRT remote login Linux must first open the connection protocol (Linux)
- To deploy MySQL database with separate read and write OneProxy (Database)
- The relationship between UNIX and Linux (Linux)
- Use Tmux and Vim to make IDE (Linux)
- MySQL master-slave database configuration and error handling Raiders (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.