CentOS 5 :: Does The O/S Cache Ramdisks

May 2, 2010

I use two ramdisks one mounted in /tmp the other mounted as /ramdisk /tmp is used as a temp store for apps which need temp space /ramdisk is used to store copies of read only databases for processing. Files in here can be 10-500Mb in size.

I suspect that the O/S may be caching the files stored in /tmp and /ramdisk and thus is not efficient. How can I check if the O/S is caching ramdisk files and if this is the case how can I prevent it? Is there an option to say 'dont cache /tmp' ?

View 1 Replies


ADVERTISEMENT

Installation :: Use Multiple Ramdisks ?

May 12, 2009

Im in trouble with my ramdisk, because its to small for my application i want to cross-compile for an embedded system. in fact i have only a precompiled kernel and cant change the settings of the kernel. the kernel is configured for ramdisks with a maximum size of 20MB. i have a montavista toolchain but dont have a montavista distribtion, because its a way too expensive.

So .. the question. i want to try if its possible to use multiple ramdisks for my embedded linux. one ramdisk as root i already have. and the other as partitions or sth. if i start the kernel with exec 0x01600000 -c ".. root=/dev/ram initrd=.." it only boots with the given ramdisk. whre can i apply a second ramdisk to use as extra filesystem to gain more usable space? is this possible?

View 7 Replies View Related

General :: How Initial Ramdisks Work

Dec 30, 2010

I know that an initial ramdisk contains drivers and modules required for accessing hardware before the root partition can be mounted. If the initial ramdisk is stored on the root partition, then how is it accessed, if the initial ramdisk is required to mount the root partition? Wouldn't statically compiling the drivers required for accessing the root partition defeat the purpose of the initial ramdisk?

View 7 Replies View Related

General :: Change Amount And Size Of Ramdisks

Mar 8, 2011

Using Linux, when I boot I automatically have 16 16MB ramdisks, however, I would like to create one really large ramdisk to test some software.I found that I can adjust the size of the ramdisks already on the system with the kernel boot parameter ramdisk_size however, this makes all 16 ramdisks (/dev/ram0 - /dev/ram15) the size that is specified. So if I want to create a 1GB ramdisk, I would need 16GB of memory.Basically, I want to create one 10GB ramdisk which would be /dev/ram0. How would I go about doing that? I assume there is a kernel boot parameter, but I just haven't found it.

View 3 Replies View Related

Fedora :: Error: Caching Enabled But No Local Cache Of //var/cache/yum/updates-newkey

Sep 24, 2009

I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?

Quote:

Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey

I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.

View 12 Replies View Related

Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?

Jan 5, 2011

I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.

Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).

I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?

View 2 Replies View Related

Red Hat / Fedora :: Does Centos Cache DNS Queries By Default

Feb 27, 2011

I try to forward all the network traffic on specific port from my VPS to home PC.The problem is that I have dynamic IP at home so I've installed Dynamic Update Client (DUC) from no-ip.com.I also use 'redir' software on Centos VPS to redirect the traffic and everything works fine till my ISP change the IP of my home PC.Does Centos cache DNS queries by default (nscd is not running)?Is there a some way/software that will periodically check if the IP of particular domain has changed and update accordingly.

View 8 Replies View Related

CentOS 5 :: LDAP Cache Shadow Passwords?

Oct 26, 2009

I'd like to allow my laptop to be disconnected from the network and login with a user stored on LDAP. I know nscd can cache usernames and groups but not shadows, but is there a solution that will cache passwords?

View 1 Replies View Related

CentOS 5 Server :: FTP PROXY Cache - Never Managed To Run

Apr 9, 2011

My past few weeks trying to cache the use frox, but never managed to run frox correctly. I need a guide for installation frox (ftp proxy or otherwise) that I can understand, because I'm still just learning. I use a superbly managed using squid for web proxy using port 3128

View 1 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies View Related

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

Oct 23, 2009

what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals

1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel

Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)

View 1 Replies View Related

CentOS 5 :: Slab-cache Increasing Size-2048?

Jun 28, 2010

On a full update centos 5.5 64 bit every day increases slab cache , specialy size-2048 eat a lot of memory ..

how can change this ? maybe a kernel bug ?

cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>

[Code]....

View 1 Replies View Related

CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?

Mar 17, 2011

I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

# cache_dir ufs /var/spool/squid 2000 16 256

I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.

View 2 Replies View Related

CentOS 5 Server :: Implementing Transparent Tproxy Cache In Bridge Mode

Jun 9, 2009

any one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]

View 4 Replies View Related

Ubuntu :: Kept Getting "gtk-update-icon-cache: The Generated Cache Was Invalid" Fault

Feb 17, 2010

i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.

View 4 Replies View Related

CentOS 5 :: "Mount-cache Hash Table Entries" Problem

Mar 1, 2009

I have Celeron 2800D, 512 RAM (2 slots 256 each). I'm trying to install CentOS 5.2, it asks me about installation type (I tried graphic and text already, it stuck anyway), then after I press enter it shows me "Mount-cache hash table entries: 512" and that's all. I waited severl mins, it doesn't move. I tried to reboot pc several times, it's same. Then I removed 256 and left only 1 slot. and it's fine! I installed centos successfuly. Then I inserted second memory and centos does't load. I see some colored (each time new color) text that changes very fast and then black screen. I connected other HDD with WinXP, it runs fine, it shows me 512 mb, I can lunch Visual studio 2005 fine, etc. But centos just stuck each time if I have memory in both slots.

View 13 Replies View Related

CentOS 5 :: Nscd > Millions Of Log Entries Like 'Reloading "[ip Address]" In Hosts Cache!'

May 25, 2011

I'm getting millions of log entries in my nscd.log like the ones below. There's no connection to (or from) this IP address so I'm totally at a loss for what would cause this.

Wed 25 May 2011 06:56:49 PM GMT - 5557: Reloading "65.83.237.34" in hosts cache!
Wed 25 May 2011 06:56:49 PM GMT - 5557: Reloading "65.83.237.34" in hosts cache!
Wed 25 May 2011 06:56:49 PM GMT - 5557: Reloading "65.83.237.34" in hosts cache!

[code]...

View 2 Replies View Related

Ubuntu :: 61% Of RAM Used As Cache?

Oct 7, 2010

My comp is litterly doing nothing, and 61% of my RAM is being used as cache. I don't know if I created a swap space correctly. I loaded up gparted and I see that I do have a 2gb partition labled linux-swap. Why am I completely out of RAM? I have 4gb btw

View 9 Replies View Related

Fedora :: No Package Cache Is Available

Oct 1, 2009

I am using Fedora 11 64-bit. The problem is, when I start to install any updates or new packages, the system return the following error:No package cache is available.The package list needs to be rebuilt.This should have been done by the backend automatically.

Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again.I am completely new to linux, meaning I have never, ever, used a linux based system. I have recently accustomed to myself with only the basic commands (ls, yum, help, g++ etc.)

View 2 Replies View Related

Fedora :: Yum Cache So Big Even After It Clean All / Why Is So?

May 26, 2011

I have a small older HP OB6000 laptop with F14 on it and only 10GB of disk.

I've been weeding out a lot of packages I don't need on it to carve more user disk space.

One of the biggest disk consumers is /var/cache/yum. My problem is that even after a yum clean all it still consumes over 450MB.code...

View 6 Replies View Related

Ubuntu :: Can't Figure Out What Is Using RAM (and It's Not The Cache)?

Jun 15, 2010

I've been troubled by the high amount of RAM that is used by my Ubuntu desktop. Before I installed Ubuntu 10.04 (desktop, 64-bit) my system used around 500MB of RAM when no applications were open (just cold boot into the GNOME under 9.10). But when I installed Lucid, I've noticed that my used memory is now reported as 1GB or more as soon as I log into the system.

I want to figure out what is using all the extra RAM but I can't seems to find the culprit. I looked at all of the processes and numbers just don't add up. I exported the list of processes into a file and summed up the memory used by every process in a spreadsheet. The total came to around 700MB. Yet, both System Monitor and "free" reported the time that system was using over 1GB of memory. This means that at least 300MB of RAM are used but not by any process, at least as reported by "ps".

View 9 Replies View Related

Ubuntu :: Is There A Way To Know What's In Page Cache

Jul 8, 2010

I was wondering if there is a way to know which files are in the linux page cache. I've searched but the only thing I've found is meminfo.Is there anything out there that can give more details regarding what is being cached?

View 2 Replies View Related

Ubuntu :: Switch DNS Cache Off?

Dec 5, 2010

I believe Ubuntu 10.10 has a DNS cache, how can I disable this?

View 1 Replies View Related

General :: Arp Cache Not Showing Anything?

Mar 7, 2010

when i type arp -n it shows nothingif i type arp -vit showsskipped :0 found :0I want to look at my ip and mac addresses in arp cacheif i change my ethernet ip address it is not reflected or stored in the cache.

View 4 Replies View Related

Software :: Have Local DNS Cache?

Jun 29, 2011

I found that one of my computers was issuing a DNS request to a domain on my local network every time I send a query. I've look around and saw several programs you could install for DNS local cache, but does it not come with some application by default? If it matters, I'm running Ubuntu 11.04 with DHCPD and Bind9.Also, I did add nameserver 127.0.0.1 to /etc/resolv.conf, and it's listed before my other nameservers.

View 5 Replies View Related

Slackware :: How To Flush Dns Cache

May 9, 2010

Slackware64 13.0 I have a website that has been migrated to a new server. After a few days I'm still pointing at the old server and the hosting company have recommended that I flush my dns cache. A quick google for this in linux seemed to recommend restarting the nscd daemon but nscd -g tells me it's not running anyway. I connect to Virginmedia via wired ethernet to a Belkin N1 router so is there a way I can do this I wonder, either via Virginmedia or Slackware?

View 2 Replies View Related

Debian :: Cache A Directory Tree?

Nov 30, 2015

I have a home storage of many drives which are seldom accessed, and extremely seldom written to. So, I made several RAID1 arrays with "write-mostly" drives in each one, so that all the drives spin down after a while, and if they are accessed, only one drive in each array has to spin up. This way, I hope to minimize the risk of losing anything due to mechanical shock or wear.

But it was not so easy. First, the write-mostly drives did spin up on every read request due to a bug in the kernel, so I managed to get the fix accepted into the newer kernels (which is my largest contribution to the Linux development so far. See [URL] .....) Now, if I read directly from the array, it works as expected (only the first drive spins up); but if I create a filesystem there (ext4) and read from it, the second drive still spins up anyway. (Does ext4 write something when it reads a file?.. I have it mounted with relatime, so AFAIK it shouldn't...)

Well, I thought, I'll just mount the filesystems read-only and remount them if I need to modify the data there, which is not very often, to say the least. Also, this way the drives don't have to spin up every system shutdown to unmount the filesystems; during a power outage, it used to take a lot of time for them to spin up one by one just to unmount, while my UPS had to survive long enough for them to finish. That's one more problem solved.

But I decided to improve even further. Sometimes I just want to see the contents of those arrays without even accessing some files (for example, when I accidentally click the wrong network drive button in Windows, or when I just want to see if I have something there or not). If I read the directory trees during startup and keep them cached, then those drives won't even have to spin up at those moments! The question is, is there a way to do it? I remember Linus boasting about our kernel being the best at caching the filesystem trees, and I know there is vmtouch [URL] .... which allows us to keep some files cached, but what about the directory tree itself?.. If I simply "find" all the files there, it seems to work, but they get evicted from cache sooner or later...

View 3 Replies View Related

Debian :: Increase Apt-cache Limit?

Aug 21, 2011

There I was, trying to update the package lists in a fresh install of Knoppix, when:

View 8 Replies View Related

Debian Configuration :: Clear DNS Cache ?

Jan 18, 2011

A friend has a website. the site has been moved to another server. I am inside of a private network.

Problem: when trying to reach his website, my browser keeps connecting to the old server which is on another continent

Windows machines have no problem with this. They connect to the new server without issues.

NOW what is hard to understand: even the PING utility is pinging the old server.

I tried these and none works:
- computer restart
- Clear private data in Iceweasel (has ntg to do with PING, but tried...)
- installed nscd and restarted the service
- modified /etc/resolv.conf to point to another nameserver than modified it back

At the same computer, if I reboot and load Windows, the browser has no problem connecting to the new server.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved