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.
What's the memory capacity of your zone? Some UNIX systems have to use memory as swap when no real swap is available...
Sorry....zone has dedicated 6 GB RAM.
Based on suggestion that there is no swap dedicated looks like that RAM used partially used as a swap??? I'm I true??
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??
swap, like ram, is a global resource shared between all zones including the global one. You can cap each of them or both in every zone.
Quote:
I'm little bit confused from information regarding swap I got in local zone.
Code:
root@xxx:/root # df -k swap
Filesystem kbytes used avail capacity Mounted on
swap 53594624 40 53594584 1% /var/run
You shouldn't use "df -k swap" to get accurate information about swap. Several filesystems are virtual-memory based and /var/run is just one of them.
The on disk swap area is displayed here, it is shared between all zones. Don't confuse it with what Solaris calls also swap and which is the whole virtual memory including a large part of RAM. It is displayed with the "swap -s" command.
Many thanks, we are generally using dedicated swap and capped memory. This zone is heritage from my predecessor and I'm just just fixing problem with failing of this zone.
Fact is that this zone got often in trouble and start to kill processes because of missing swap space.
Code:
Oct 18 17:14:27 xxx sendmail[3088]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): daemon: cannot fork: Not enough space
Oct 18 17:15:05 xxx tmpfs: [ID 518458 kern.warning] WARNING: /etc/svc/volatile: File system full, swap space limit exceeded
Oct 18 17:15:34 xxx last message repeated 3 times
Oct 20 13:44:23 xxx sendmail[3088]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): daemon: cannot fork: Not enough space
Oct 20 13:44:23 xxx sshd[3072]: [ID 800047 auth.error] error: fork: Error 0
Oct 20 13:46:52 xxx tmpfs: [ID 518458 kern.warning] WARNING: /etc/svc/volatile: File system full, swap space limit exceeded
Oct 20 13:46:52 xxx last message repeated 1 time
Oct 20 13:48:32 xxx inetd[2974]: [ID 702911 daemon.error] Unable to fork inetd_start method of instance svc:/network/vnetd/tcp:default: Not enough space
Oct 20 13:48:32 xxx inetd[2974]: [ID 702911 daemon.error] Unable to fork inetd_start method of instance svc:/network/bpcd/tcp:default: Not enough space
I wasn't sure about information I got from swap -l and df -k swap.
Last edited by DukeNuke2; 10-21-2010 at 07:16 AM..
You should use "rcapstat -z" to get accurate information about resource usage in zones. "swap -l" and "df -k swap" are not really suited for that task.
These 2 Users Gave Thanks to jlliagre For This Post:
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)
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)
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)
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)
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)