Hi,

I am still having trouble with this if anyone can help out..

Can someone explain..
 From prstat -Z
SWAP 941M
RSS 844M

 From df -h
/tmp 1.1G

 From Suns doc http://docs.sun.com/app/docs/doc/819-2450/6n4o5mdis?a=view
"The output of prstat *-Z* displays a SWAP column. The swap reported is
the total swap consumed by the zone's processes and tmpfs mounts"
Then how come my tmpfs is larger then the prstat -Z SWAP total for the
zone.

Jason.

Jason Bradfield wrote:
> Hi,
>
> I have a situation I can't explain..Any help would be appreciated.
>
> Basically I'm getting "No space left on device" when copying a 64MB file 
> to /tmp. But from what I can tell I have enough memory available.
>
> Thanks,
> Jason.
>
> Current output from prstat -Z
> ZONEID    NPROC  SWAP   RSS MEMORY      TIME  CPU ZONE
>     21      221  816M  622M   3.8%   4:09:28 0.1% myzone
>
> Current output from df -h
> Filesystem             size   used  avail capacity  Mounted on
> swap                    13G   272K    13G     1%    /etc/svc/volatile
> swap                    15G   1.2G    13G     9%    /tmp
> swap                    13G    32K    13G     1%    /var/run
>
> du -h /tmp
> 322M   /tmp
>
>
> swap -l
> swapfile             dev    swaplo   blocks     free
> /dev/swap             -         16 33556080 30895248
>
>  vmstat
>  kthr      memory            page            disk          faults      cpu
>  r b w   swap  free  re  mf pi po fr de sr s0 s1 -- --   in   sy   cs us 
> sy id
>  0 0 0 23045800 9304360 40 97 604 0 0 0  0 134 -0 0  0 1002 3159 1076  
> 1  0 99
>
> The container is configured with a memory cap of 1024MB and a swap cap 
> of 2048MB
> Zone Config file
> <zone name="myzone" zonepath="/zones/myzone" autoboot="true" 
> scheduling-class="FSS">
>   <inherited-pkg-dir directory="/lib"/>
>   <inherited-pkg-dir directory="/platform"/>
>   <inherited-pkg-dir directory="/sbin"/>
>   <inherited-pkg-dir directory="/usr"/>
>   <network address="xxx.xxx.xxx.xxx" physical="e1000g0"/>
>   <rctl name="zone.max-swap">
>     <rctl-value priv="privileged" limit="2147483648" action="deny"/>
>   </rctl>
>   <mcap physcap="1073741824"/>
>   <rctl name="zone.cpu-shares">
>     <rctl-value priv="privileged" limit="8" action="none"/>
>   </rctl>
> </zone>
>
> The server is a T2000 with 16GB memory..
> uname -a
> SunOS myserver 5.11 snv_62 sun4v sparc SUNW,Sun-Fire-T200
>
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org
>
>   


_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to