Hello folks,
I have question regarding behavior of local zone which has no dedicated swap configured.
Zone has set only capped memory, and my question is if all memory is occupied if this zone will start to use swap from the global zone??
I'm little bit confused from information regarding swap I got in local zone.
If there is no swap set why I see this values??
Many thanks
Cheers
Stan
Last edited by DukeNuke2; 10-21-2010 at 05:09 AM..
Hi Gurus
I am not able to ping the local zone from global zone
when i am trying to ping i am getting below
ICMP Host Unreachable from gateway zone ( 192.268.35.210)
for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210)
However i can ping local zone from global
please... (12 Replies)
Dears,
I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones.
i found a document which seems to be helpful but i'm stuck @ the 1st step.
to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise
solaris10 sparc
---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ----------
jdk6 i mean (6 Replies)
Can anyone explain how you can get a SIGPWR signal on a Solaris 10 local zone, but none of the other zones on the frame had a problem. :confused: (1 Reply)
Hi ,
I added a new fs to the global zone and also did the zonecfg to add the FS to the zone but finally I do not see the new "FS" on the local zone.
Even in th e/etc/zones/zone.xml the fs and the correct directory is mentioned.
Any Idea please ? (4 Replies)
Discussion started by: manni2
4 Replies
LEARN ABOUT MOJAVE
malloc_create_zone
MALLOC_ZONE_MALLOC(3) BSD Library Functions Manual MALLOC_ZONE_MALLOC(3)NAME
malloc_create_zone, malloc_destroy_zone, malloc_default_zone, malloc_zone_from_ptr, malloc_zone_malloc, malloc_zone_calloc,
malloc_zone_valloc, malloc_zone_realloc, malloc_zone_memalign, malloc_zone_free -- zone-based memory allocation
SYNOPSIS
#include <malloc/malloc.h>
malloc_zone_t *
malloc_create_zone(vm_size_t start_size, unsigned flags);
void
malloc_destroy_zone(malloc_zone_t *zone);
malloc_zone_t *
malloc_default_zone(void);
malloc_zone_t *
malloc_zone_from_ptr(const void *ptr);
void *
malloc_zone_malloc(malloc_zone_t *zone, size_t size);
void *
malloc_zone_calloc(malloc_zone_t *zone, size_t num_items, size_t size);
void *
malloc_zone_valloc(malloc_zone_t *zone, size_t size);
void *
malloc_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size);
void *
malloc_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size);
void
malloc_zone_free(malloc_zone_t *zone, void *ptr);
DESCRIPTION
The malloc_create_zone() function creates a malloc zone, advising an initial allocation of start_size bytes, and specifying flags The
returned malloc zone can be used to provide custom allocation and deallocation behavior, and to retrieve additional information about the
allocations in that zone. At present there are no client settable flag values recognized by malloc_create_zone(), the flags argument should
always be passed as zero.
The malloc_destroy_zone() function deallocates all memory associated with objects in zone as well as zone itself.
The malloc_default_zone() function returns the default system malloc zone, used by malloc(3), and free(3).
The malloc_zone_from_ptr() function returns a pointer to the malloc zone which contains ptr or NULL, if the pointer does not point to an
allocated object in any current malloc zone.
The malloc_zone_malloc(), malloc_zone_calloc(), malloc_zone_valloc(), malloc_zone_realloc(), malloc_zone_memalign(), and malloc_zone_free()
perform the same task on zone as their non-prefixed variants, malloc(3), calloc(3), valloc(3), realloc(3), posix_memalign(3), and free(3)
perform on the default system malloc zone.
RETURN VALUES
The malloc_create_zone(), malloc_default_zone(), and malloc_zone_from_ptr() functions return a pointer to a malloc_zone_t structure, or NULL
if there was an error.
The malloc_zone_malloc(), malloc_zone_calloc(), malloc_zone_valloc(), malloc_zone_realloc(), and malloc_zone_memalign() functions return a
pointer to allocated memory. If there is an error, they return a NULL pointer. They are not required to set errno.
SEE ALSO malloc(3), posix_memalign(3)BSD Aug 13, 2008 BSD