Bjorn Munch writes: > Hello, > > I am doing some tests using ZFS for the data files of a database > system, and ran into memory problems which has been discussed in a > thread here a few weeks ago. > > When creating a new database, the data files are first initialized to > their configured size (written in full), then the servers are started. > They will then need to allocate shared memory for database cache. I > am running two database nodes per host, trying to use 512Mb memory > each. > > They are using so-called "Intimate Shared Memory" which requires that > the requested amount is available in physical memory. Since ZFS has > just gobbled up memory for cache, it is not available and the database > won't start. > > This was on a host with 2Gb memory. >
That seems like a bug. ZFS is designed to release memory upon demand by the DB. Which OS was this running ? Could be related to : MrNumber: 4034947 Synopsis: anon_swap_adjust(), anon_resvmem() should call kmem_reap() if availrmem is low. Fixed in snv_42 -r _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss