Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Clearing memory cache on Linux server Post 302809183 by jim mcnamara on Saturday 18th of May 2013 02:14:35 PM
Old 05-18-2013
There is something else causing the error. Not memory. The OS will relinquish memory used for file caches in deference to any request for memory. Automatically, and sometimes kinda slowly depending on the number of dirty pages.

You problem is elsewhere:
For example, free process slots, a process trying to exceed a soft or hard process limit.

So, where is the message appearing exactly, i.e., syslog, and what is the exact message?
The exact OS will help, too.
This User Gave Thanks to jim mcnamara For This Post:
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Clearing of cache memory

Pls! will someone help me on how to clear my cache memory of my Internet browser Thanks Kayode (3 Replies)
Discussion started by: kayode
3 Replies

2. UNIX for Advanced & Expert Users

Clearing Shared Memory

Hi, I have various applications on my unix server and one of them relies on a process that needs to start in order to print however the process is not starting at all. I think the problem lies in the shared memory. Does anyone have the commands to flush the shared memory and can anyone tell me if... (2 Replies)
Discussion started by: cipfaadmin
2 Replies

3. UNIX for Dummies Questions & Answers

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (1 Reply)
Discussion started by: Jaywantmm
1 Replies

4. Linux

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (4 Replies)
Discussion started by: Jaywantmm
4 Replies

5. Shell Programming and Scripting

Clearing a defined function from memory

I guess what I mean is: is there something like unalias to clear functions defined by sourcing a script or config/alias file from memory? Is it necessary to start a new terminal session, or can it be done with a command? I tried "function somefunc {}" but bash told me it hit an "unexpected... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

6. UNIX for Dummies Questions & Answers

High use of cache memory

Hi, I'm running a debian lenny 1GB ram, but with a high I/O. This server has 400IOPS and 3MB/s sustain. So, I noted cached memory use 800MB, buffered memory use 50MB, and no free memory is available. Questions: What does mean such a high cached memory? Who's using this cached memory? Is... (3 Replies)
Discussion started by: iga3725
3 Replies

7. UNIX for Advanced & Expert Users

linux memory buffers & cache usage

18:45:47 # free -m total used free shared buffers cached Mem: 96679 95909 770 0 1530 19550 -/+ buffers/cache: 74828 21851 Swap: 12287 652 11635 Hi all. The below output is from a RHEL 4.5... (0 Replies)
Discussion started by: drummerrob
0 Replies

8. Linux

File cache /Page cache Linux

Hi All, could any one point out any open source test-suites for "File cache" testing and as well as performance test suites for the same. Currently my system is up with Linux/ext4. Regards Manish (0 Replies)
Discussion started by: hmanish
0 Replies

9. Red Hat

Need to release Cache memory

Right now i am using Red Hat Enterprise Linux AS release 4 and cache memory occupying around 1.5GB mentioned below, total used free shared buffers cached Mem: 2026 2021 5 0 161 1477 -/+ buffers/cache: 382 1644 ... (4 Replies)
Discussion started by: thakshina
4 Replies

10. Solaris

clear cache memory

hi all, i have noticed that my server has 64 GB RAM and i have application in this server but the server has free memory only 15% and utilized 85% however it didn't eat from swap . does any parameter can be configured in kernel to make the system clear memory from cache like linux i found... (4 Replies)
Discussion started by: maxim42
4 Replies
CACHEFLUSH(2)						     Linux Programmer's Manual						     CACHEFLUSH(2)

NAME
cacheflush - flush contents of instruction and/or data cache SYNOPSIS
#include <asm/cachectl.h> int cacheflush(char *addr, int nbytes, int cache); DESCRIPTION
cacheflush() flushes the contents of the indicated cache(s) for the user addresses in the range addr to (addr+nbytes-1). cache may be one of: ICACHE Flush the instruction cache. DCACHE Write back to memory and invalidate the affected valid cache lines. BCACHE Same as (ICACHE|DCACHE). RETURN VALUE
cacheflush() returns 0 on success or -1 on error. If errors are detected, errno will indicate the error. ERRORS
EFAULT Some or all of the address range addr to (addr+nbytes-1) is not accessible. EINVAL cache is not one of ICACHE, DCACHE, or BCACHE. CONFORMING TO
This Linux-specific system call is only available on MIPS-based systems. It should not be used in programs intended to be portable. BUGS
The current implementation ignores the addr and nbytes arguments. Therefore, the whole cache is always flushed. COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2007-05-26 CACHEFLUSH(2)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy