Re: [zones-discuss] PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-10-26 Thread Steve Lawrence
Comments inline. I've snipped stuff not relevant to comments. 4. prstat(1m) output changes to report swap reserved. INTERFACE COMMITMENT BINDING prstat(1m) output Uncommitted Patch This case proposes changing

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-01 Thread Steve Lawrence
Would it be reasonable to propose special treatment of the global project 0 for all project and zone rctls? Once could argue that capping system daemons can only lead some sort of undesireable system failure. This would of course exempt all global zone system daemons from resource

Re: [zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-02 Thread Steve Lawrence
I'm not sure it is within the domain of this case to to tell admins what they should and shouldn't use the global zone for. In any event, we are making it easy for admins to manage swap limits for zones via zonecfg. On Tue, Oct 31, 2006 at 05:58:24PM -0800, Michael Barto wrote: After all thus

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-02 Thread Steve Lawrence
problem. -Steve On Tue, Oct 31, 2006 at 03:24:18PM -0800, Steve Lawrence wrote: I'm looking for this case to define how to preserve the current model of unlimited unless one asks for a limit model in the global zone. I believe it is important from a system

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-03 Thread Steve Lawrence
On Fri, Nov 03, 2006 at 09:36:45AM +, Darren J Moffat wrote: Steve Lawrence wrote: Given a lack of supportive feedback, I'm going to revoke the proposed amendment below. To mitigate a zone admin setting a problematic swap limit on the global zone, we will enhance zonecfg to: 1

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-06 Thread Steve Lawrence
On Mon, Nov 06, 2006 at 12:40:00PM +, Darren J Moffat wrote: Steve Lawrence wrote: On Fri, Nov 03, 2006 at 09:36:45AM +, Darren J Moffat wrote: Steve Lawrence wrote: Given a lack of supportive feedback, I'm going to revoke the proposed amendment below. To mitigate a zone admin

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-08 Thread Steve Lawrence
I am working on a new spec. I have an unanswered question from the discussion: The SIZE column will also be changed to SWAP for prstat options a, T, and J, for users, tasks, and projects. The reason for not changing this column in the default output would be helpful. I have a

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-09 Thread Steve Lawrence
On Tue, Oct 31, 2006 at 03:28:31PM -0800, Dan Price wrote: On Tue 31 Oct 2006 at 03:24PM, Steve Lawrence wrote: It seems reasonable to amend this case to say: 1. Any process with priv_sys_resource running in the global zone's system project (project 0) will not subject

[zones-discuss] Re: Restart: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-13 Thread Steve Lawrence
On Sat, Nov 11, 2006 at 09:02:48PM -0800, Gary Winiger wrote: First off, sorry for the stutter in the spec update mail. The project team didn't supply a summary of the changes, so I'll be asking for one in a follow on. I've addressed your comments way below. Here is my change

[zones-discuss] Re: Restart: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-14 Thread Steve Lawrence
Good question. These are essentially virtual system requirements. What is the behaviour of Solaris intended to be when someone makes these changes (or attempts to make them) on a system that has no swap space? All systems have reservable swap space. Systems with no swap devices use

Re: [zones-discuss] Restart: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-11-14 Thread Steve Lawrence
proposes extensions to [2], which will make swap reservation and locked memory resource controls easy to configure on a zone via zonecfg(1m). I'm not sure if this is exactly the right place to bring this up, but there needs to be some clarity to the user community about the

Re: [zones-discuss] Dynamic Resource Pools (DRP) and RCM ?

2007-01-23 Thread Steve Lawrence
The short answer is no. When a processor is transfered from one pset to another, no RCM event is generated in the global zone, or in any non-global zones. RCM events are only generated when DR operations take place. The rcm_daemon only runs in the global zone, as part of the sysevent:default

Re: [zones-discuss] CPU Caps Code review

2007-01-23 Thread Steve Lawrence
Some comments, mostly to myself :) usr/src/uts/common/sys/rctl.h No change from onnv. (fixed) usr/src/uts/common/os/rctl.c No change from onnv. (fixed) usr/src/uts/common/sys/project.h This is more of a comment for myself. I wonder if we should think about

Re: Fwd: [zones-discuss] Re: Tivoli Storage Manager (TSM) and zones

2007-01-24 Thread Steve Lawrence
On Wed, Jan 24, 2007 at 07:09:59PM -0600, Gael wrote: On 1/24/07, stephen lawrence [EMAIL PROTECTED] wrote: I can make some general suggestions on how to avoid duplicate backups, but I'm not very familiar with TSM, or your specific backup requirements. Does the TSM backup client run in the

Re: [zones-discuss] Capped memory observability

2007-02-06 Thread Steve Lawrence
On Mon, Feb 05, 2007 at 10:17:42PM -0600, Mike Gerdts wrote: I just got a chance to start playing with the capped memory resource controls in build 56. At first blush, this looks to be *very* good stuff. My initial testing included some very basic single process memory hog tests and multiple

Re: [zones-discuss] zlogin and locales

2008-04-02 Thread Steve Lawrence
On Wed, Apr 02, 2008 at 11:11:12AM -0400, Moore, Joe wrote: Steve Lawrence wrote: Looks like the environment contained in /etc/default/init is read and set by startd and init. Since zlogin'ed processes are not child of startd or init in the zone, they do not have these environment

Re: [zones-discuss] Dynamic dedicated-cpu

2008-04-16 Thread Steve Lawrence
zone reboot is required. -Steve L. On Tue, Apr 15, 2008 at 04:20:40PM +0100, Terry Smith wrote: Hi When adding dedicated-cpus to a zone does the configuration take effect immediately or is a zone reboot required? T ___ zones-discuss mailing

Re: [zones-discuss] How to migrate a seperate running server into a zone?

2008-05-14 Thread Steve Lawrence
We currently don't have p2v support for native zones. Future work for this is under consideration, but no timeframe established (yet). I could think of ways to make it work in the short term, but nothing that we could support. It could also result in furthur issues later when

Re: [zones-discuss] How to migrate a seperate running server into a zone?

2008-05-15 Thread Steve Lawrence
the only stable way of solving this issue. Regards, Mehmet On Thu, May 15, 2008 at 6:02 AM, Steve Lawrence [EMAIL PROTECTED] wrote: We currently don't have p2v support for native zones. Future work for this is under consideration, but no timeframe

Re: [zones-discuss] Can zone id be same on different global zones?

2008-05-16 Thread Steve Lawrence
/usr/bin/tar on solaris 10. My comment was incorrect. I was referring to the preservation of hard links. I need to investigate the status of this in the various verions of tar. Thanks, -Steve L. On Fri, May 16, 2008 at 10:59:10AM +0200, Joerg Schilling wrote: Steve Lawrence [EMAIL PROTECTED

Re: [zones-discuss] physical= not obeyed when ip-type=shared and physical dev part of IPMP group in global zone

2008-05-20 Thread Steve Lawrence
This appears to be the affect of selecting an interface that is a member of an ipmp group in the global zone. It is documented here: http://docs.sun.com/app/docs/doc/819-2450/z.admin.task-60?l=koa=viewq=multipathing The behavior you are seeing is not specifically documented, but it seems

Re: [zones-discuss] physical= not obeyed when ip-type=shared and physical dev part of IPMP group in global zone

2008-05-21 Thread Steve Lawrence
In the global zone, do you have two ip addresses (one on vnet0, one on vnet1) or is vnet1 configured as standby? Steve L. On Wed, May 21, 2008 at 09:12:35AM +0100, Lewis Thompson wrote: On Tue, 2008-05-20 at 13:56 -0700, Steve Lawrence wrote: It is documented here: http://docs.sun.com

Re: [zones-discuss] physical= not obeyed when ip-type=shared and physical dev part of IPMP group in global zone

2008-05-22 Thread Steve Lawrence
don't know how ldoms map vnets to physical interfaces. -Steve L. On Thu, May 22, 2008 at 03:59:07PM +0100, Lewis Thompson wrote: On Wed, 2008-05-21 at 12:56 -0700, Steve Lawrence wrote: In the global zone, do you have two ip addresses (one on vnet0, one on vnet1) or is vnet1 configured

Re: [zones-discuss] code review: native brand refactoring

2008-05-23 Thread Steve Lawrence
It seems to me that the first comment in the NOTES section of fork(2) would only apply to vfork(). ?? -Steve On Fri, May 23, 2008 at 01:31:58PM +0200, Joerg Barfurth wrote: Hi, I just stumbled over this: Edward Pilatowicz schrieb: - nit: in start_zoneadmd(), instead of: if

Re: [zones-discuss] S10 branded zones

2008-05-27 Thread Steve Lawrence
Are you running sparc or x86? On x86, you can use Xen or Virtualbox today to run s10 guests. On sparc, you can use ldoms on sun4v. If you indeed need a zones-based solution, please elaborate on your requirements. -Thanks, -Steve L. On Sun, May 25, 2008 at 10:41:29AM +1000, Rodney Lindner -

Re: [zones-discuss] code review: native brand refactoring

2008-05-27 Thread Steve Lawrence
Hey Jerry, Does this address this comment in 6621020: This appears to point out at least one bug in zlogin, namely that it keeps stdout_pipe[1] and stderr_pipe[1] from noninteractive_login() open when returning to the parent. Basically, I think the filer expected to see something like:

Re: [zones-discuss] Memory Cap accounting for shared memory

2008-06-18 Thread Steve Lawrence
As of s10u4, (and nevada build 56?) rcapd (and prstat -ZJTta) account for shared memory (both sysV, anon, and text) between processes in the same zone, project, etc. -Steve L. On Wed, Jun 18, 2008 at 01:13:21PM -0500, Brian Smith wrote: My reading of the documentation is that if I try to cap

Re: [zones-discuss] Making zoneadm more like the other adms...

2008-06-18 Thread Steve Lawrence
Hey Darren, Are you interested in drafting an arc fasttrack for these interface additions? Do you see zoneadm being used as: # zoneadm boot myzone -s That would be: - myzone is an operand to zoneadm that comes after the subcommand. This is not compliant with getopt or clip

Re: [zones-discuss] mongrel rails in a zone

2008-07-13 Thread Steve Lawrence
My guess is that your zones lack /var/ruby.* Did you install ruby+friends in the global zone using packages, from a tar file, or from source compilation? A package install from the global zone should install the package contents into all zones, properly handling /usr verses /var. If your means

Re: [zones-discuss] [osol-discuss] solaris 8 container installation failed

2008-08-08 Thread Steve Lawrence
You could try: s8 cpio patch:112097-08 s8 compress patch:108823-02 s8 flar patch:109318-39 (requires some other patches) You could be hitting 4384301, fixed in 109318-12, which was obsoleted by the flar patch above. -Steve L. On Fri, Aug 08, 2008 at 04:58:40PM -0400,

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-19 Thread Steve Lawrence
So you want to be able to interrupt any boot to any milestone, and instead do the patch processing if a patch is pending. You basically want to interrupt the current milestone, and instead just boot to filesystem-local and do the patching. The question is, can the smf milestone be changed

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-19 Thread Steve Lawrence
2. Create patch-install-milestone, which depends on patch-install-service below. The patch-install-milestone could also depend on single-user and filesystem-local so that it is generally useful for admins manually installing patches as well, even if they don't have

Re: [zones-discuss] how to configure port listening in a zone?

2008-08-19 Thread Steve Lawrence
By default, a zone does not have privilege to snoop: http://blogs.sun.com/JeffV/entry/snoop_zoney_zone Could just be a network config/routing issue. Can you ping 10.5.185.103? Can you access other network services, like ssh? -Steve L. On Tue, Aug 19, 2008 at 03:01:37PM -0700, Russ

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-19 Thread Steve Lawrence
It should be ok to issue smf commands from an smf service, as long as they do not try to do any synchronous operations (-s). Seems a little convoluted, but might be workable. I can't see any straightforward way to interrupt boot without changing the milestone. You could make lots of

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-19 Thread Steve Lawrence
The only way that you can get *that* guarantee is by using the milestone mechanism to limit the system to a particular milestone, as you suggest. In fact, argh. This problem affects even your proposed scheme. By the time that your patch-test-service is running, there could (in

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-21 Thread Steve Lawrence
On Thu, Aug 21, 2008 at 12:54:14PM -0700, Jordan Brown wrote: [ Which brain-dead mail client turns all of the spaces in the Subject into tabs? ] Zones folks: the current proposed answers to this problem involve moving system/filesystem/local into milestone/single-user. That was

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-21 Thread Steve Lawrence
The list of use cases is really pretty simple: 1) Administrator has in hand a patch that says install in single user mode. What does this administrator do? The answer seems self-evident: take the system to single-user mode (either by booting the system in single-user mode using boot

Re: [zones-discuss] [smf-discuss] 6725004 - installing single-user-mode patches automatically

2008-08-21 Thread Steve Lawrence
On Thu, Aug 21, 2008 at 04:01:43PM -0700, Jordan Brown wrote: Steve Lawrence wrote: A. Make patchadd verify that the system is in single user milestone when installing a single-user patch. That's a non-starter. *Many* of our customers ignore our recommendation to install patches

Re: [zones-discuss] zones/SNAP design

2008-08-25 Thread Steve Lawrence
During the zone installation and after the zone is installed, the zone's ZBE1 dataset is explicitly mounted by the global zone onto the zone root (note, the dataset is a ZFS legacy mount so zones infrastructure itself must manage the mounting. It uses the dataset properties to determine which

Re: [zones-discuss] Oracle/RMAN in a Zone

2008-09-22 Thread Steve Lawrence
I think you need this or later: http://www-01.ibm.com/support/docview.wss?rs=666context=SSTFZRuid=swg21254543loc=en_UScs=utf-8lang=en Some ibm docs: http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=/com.ibm.itsmreadme.doc/readme_server541.html

Re: [zones-discuss] Confirming Zone running Container

2008-10-02 Thread Steve Lawrence
The other way that the global zone identity normally leaks through to the non-global zones is through the system's hostid. So if you compare the output of `/usr/bin/hostid` with `for e in $allglobalzones ; do ssh $e /usr/bin/hostid ; done`, you can easily see which global zone matches your

Re: [zones-discuss] Update on attach and upgrades

2008-11-06 Thread Steve Lawrence
On Thu, Nov 06, 2008 at 10:20:43AM -0500, Dr. Hung-Sheng Tsao (LaoTsao) wrote: anyone know when the brandz for s10 will be out? e.g. running s10 with opensolaris zone? No target has been set for this. We cannot reasonably manage such a project until s10 begins taking less change. The

Re: [zones-discuss] Capped-Memory - swap physical? (was: Failing to NFS mount on non-global zone)

2009-02-20 Thread Steve Lawrence
Swap limits how much of the systems total memory (ram + disk) can be reserved. When this limit is hit, allocations, such as malloc, will fail. Physical memory limits resident memory. When this limit is hit, the zone will page pages in memory to disk swap. In general, your example config is only

Re: [zones-discuss] Capped-Memory - swap physical? (was: Failing to NFS mount on non-global zone)

2009-02-23 Thread Steve Lawrence
: physical: 4G [swap: 6G] Is that correct? I just reread the documentation about swap and from that it's not clear to me that swap in the zone configuration is used that way regards Bernd Steve Lawrence wrote: Swap limits how much of the systems total memory (ram

Re: [zones-discuss] Zone in a pset with high load generating high packet loss at the frame level

2009-03-05 Thread Steve Lawrence
On Thu, Mar 05, 2009 at 01:22:25PM -0500, Jeff Victor wrote: Thanks for the great feedback Gael. Comments below. On Thu, Mar 5, 2009 at 11:00 AM, Gael gael.marti...@gmail.com wrote: On Wed, Mar 4, 2009 at 9:06 AM, Jeff Victor jeff.j.vic...@gmail.com wrote: Some questions: 1. Do you

Re: [zones-discuss] Zone in a pset with high load generating high packet loss at the frame level

2009-03-05 Thread Steve Lawrence
On Thu, Mar 05, 2009 at 04:12:19PM -0500, Jeff Victor wrote: On Thu, Mar 5, 2009 at 1:48 PM, Steve Lawrence stephen.lawre...@sun.com wrote: On Thu, Mar 05, 2009 at 01:22:25PM -0500, Jeff Victor wrote: On Thu, Mar 5, 2009 at 11:00 AM, Gael gael.marti...@gmail.com wrote: On Wed, Mar 4

Re: [zones-discuss] [osol-code] Zones memory usage from the Global Zone

2009-04-09 Thread Steve Lawrence
You can use prstat -cZ 1 1 to get the resident memory in use by each zone. This command counts shared pages correctly. It uses a private interface. On Wed, Apr 08, 2009 at 03:52:01PM -0700, OpenSolaris Forums wrote: Hello Bart, thanks for your suggestion... but I have another question

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-06 Thread Steve Lawrence
zsched is always unkillable. It will only exit when instructed to by zoneadmd. Is the remaining zone shutting down, or down? (zoneadm list -v). What is the ref_count on the zone? # mdb -k ::walk zone | ::print zone_t zone_name zone_ref If the refcount is greater than 0x1, it could be:

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-06 Thread Steve Lawrence
be able to use mdb -k on the live system, and issue dcmds similar to the comments of 6272846. No need to force a crashdump or take a live crashdump. -Steve L. Derek On Wed, May 6, 2009 at 4:08 PM, Steve Lawrence [1]stephen.lawre...@sun.com wrote: zsched is always unkillable

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-06 Thread Steve Lawrence
they are not public. Is that something you can pass along? On Wed, May 6, 2009 at 5:27 PM, Steve Lawrence [1]stephen.lawre...@sun.com wrote: * *I already tried killing the zoneadmd process and issuing the halt and all * *it does is start back up the zoneadmd process and hang

Re: [zones-discuss] Probs with S8 Branded Zone on b114

2009-06-04 Thread Steve Lawrence
S8C and S9C do not run on sxce or opensolaris. They can be hosted on Solaris 10, using any filesystem which supports zones, including zfs. -Steve L. On Thu, Jun 04, 2009 at 12:06:10PM -0700, Rich Teer wrote: Hi all, I'm trying to install a Solaris 8 branded zone on a 280R running SXCE

Re: [zones-discuss] Probs with S8 Branded Zone on b114

2009-06-04 Thread Steve Lawrence
On Thu, Jun 04, 2009 at 01:12:00PM -0700, Rich Teer wrote: On Thu, 4 Jun 2009, Steve Lawrence wrote: Hi Steve, S8C and S9C do not run on sxce or opensolaris. They can be hosted on Solaris 10, using any filesystem which supports zones, including zfs. Thanks for confirming the bad news

Re: [zones-discuss] Probs with S8 Branded Zone on b114

2009-06-05 Thread Steve Lawrence
On Fri, Jun 05, 2009 at 07:13:14AM -0700, Rich Teer wrote: On Thu, 4 Jun 2009, Steve Lawrence wrote: That's correct. You need only install the 1.0.1 SUNWs?brandk package for each, which enable the brand(s). Cool. So I don't need to install the packages under the 1.0 tree before I

Re: [zones-discuss] Weird Solaris 8 container problem (fwd)

2009-06-23 Thread Steve Lawrence
-- Forwarded message -- Date: Wed, 17 Jun 2009 17:59:04 -0700 From: Steve Lawrence stephen.lawre...@sun.com To: Rich Teer rich.t...@rite-group.com Cc: Zones discuss zones-discuss@opensolaris.org Subject: Re: [zones-discuss] Weird Solaris 8 container problem On Wed, Jun 17, 2009 at 02

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Steve Lawrence
On Mon, Jun 29, 2009 at 08:00:28PM +0200, William Roche wrote: Hello Vladi, Yes you can use LOFS to all your zones to share the file system providing r/w access. I would even say that this is your BEST option. NFS mount in your local zones of a file system shared by the global zone is

Re: [zones-discuss] sysidcfg requires zlogin

2009-07-21 Thread Steve Lawrence
If you want to configure the ip addresss within the zone with sysidcfg/hostname.* files, then you need to use exclusive ip stack zones: zonecfg -z zweb$Z set iptype=exclusive -Steve L. On Wed, Jul 15, 2009 at 03:55:27PM -0700, Patrick J. McEvoy wrote: the only thing that comes to mind

Re: [zones-discuss] Zone copy in Live Upgrade

2009-07-22 Thread Steve Lawrence
The issue is that from the global zone context (non-zlogin), stuff like symbolic links to something like /etc could copy files from the global zone. I'm not sure why this is dangerous in this case, as we are only reading from the zone, as cpio does not traverse/open sym links, it just copes the

Re: [zones-discuss] Zone copy in Live Upgrade

2009-07-23 Thread Steve Lawrence
On Thu, Jul 23, 2009 at 09:14:55AM +0200, Martin Rehak wrote: Hi Steve, On 2009.07.22 12:32:01 -0700, Steve Lawrence wrote: The issue is that from the global zone context (non-zlogin), stuff like symbolic links to something like /etc could copy files from the global zone. I don't

Re: [zones-discuss] Zone copy in Live Upgrade

2009-07-29 Thread Steve Lawrence
On Wed, Jul 29, 2009 at 08:43:05AM +0200, Martin Rehak wrote: Hi Steve, On 2009.07.23 14:34:22 -0700, Steve Lawrence wrote: On Thu, Jul 23, 2009 at 09:14:55AM +0200, Martin Rehak wrote: Hi Steve, On 2009.07.22 12:32:01 -0700, Steve Lawrence wrote: The issue is that from

Re: [zones-discuss] Difference between resource management attribbutes

2009-10-20 Thread Steve Lawrence
On Tue, Oct 20, 2009 at 10:20:14AM -0700, Ketan wrote: Can anyone answer my questions 1. Whats the difference between project.max-locked-memory and max-rss. And out these 2 which is the preferred way of limiting the physical memory in a project or zone. max-rss limits both pageable and

Re: [zones-discuss] Difference between resource management attribbutes

2009-10-21 Thread Steve Lawrence
There is a kstat. Look at the output of: $ kstat -c project_caps -n 'lockedmem*' -Steve L. On Wed, Oct 21, 2009 at 05:43:03AM -0700, Ketan wrote: But there is one more thing if i set max-rss i can test it and see the task under specified project does not exceeds the specified rss value but

Re: [zones-discuss] restrcit physical memory with zone.max-locked-memory

2009-10-28 Thread Steve Lawrence
It limits the amount of physical memory that can be pinned by a zone by mlock() or shmat(SHM_SHARE_MMU). These are typically done by databases or performance critical apps. locked memory cannot be paged out. -Steve L. On Wed, Oct 28, 2009 at 10:25:01AM -0700, Ketan wrote: So for what purpose

Re: [zones-discuss] s10 p2v

2009-11-25 Thread Steve Lawrence
This feature exists in nevada, (nevada global to nevada zone), and is currently being backported to s10u9. -Steve L. On Tue, Nov 24, 2009 at 07:41:03AM -0500, Dr. Hung-Sheng Tsao wrote: hi Is there p2v in s10 to move from physical host to zone env? It seems that cpio of the apps directory

Re: [zones-discuss] /var/run/zones not cleaned up ?

2009-12-10 Thread Steve Lawrence
Feature. It is the F_WRLCK operation which takes the lock. I suppose this avoids having to deal with stale lock files from dead zoneadm's. Similar for the door. The door file is he who fattaches, not he who creates the door file. Saying that, I don't see a problem with the unlock/fdetach

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-11 Thread Steve Lawrence
Looks a lot like 6894901. Can you try build 128? -Steve On Fri, Dec 11, 2009 at 03:48:52PM -0500, Glenn Brunette wrote: As part of some Immutable Service Container[1] demonstration that I am creating for an event in January. I have the need to start/stop a zone quite a few times (as part

Re: [zones-discuss] Application leaking on local zone

2009-12-17 Thread Steve Lawrence
I recommend using libumem on the application. Some folks were nice enough to write about it. http://blogs.sun.com/pnayak/entry/finding_memory_leaks_within_solaris http://blogs.sun.com/dlutz/entry/memory_leak_detection_with_libumem -Steve On Thu, Dec 17, 2009 at 12:09:11PM +0200,

Re: [zones-discuss] Application leaking on local zone

2009-12-17 Thread Steve Lawrence
a memory leak and on local zone there is ?! Steve Lawrence wrote: I recommend using libumem on the application. Some folks were nice enough to write about it. [1]http://blogs.sun.com/pnayak/entry/finding_memory_leaks_within_solaris [2]http://blogs.sun.com/dlutz/entry

Re: [zones-discuss] Webrev for CR 6909222

2009-12-21 Thread Steve Lawrence
The bug mentions that this can also impact a nevada zone that was p2v'ed. Should you fix usr/src/lib/brand/native/zone as well? -Steve On Mon, Dec 21, 2009 at 03:46:00PM -0800, Jordan Vaughan wrote: I need someone to review my fix for 6909222 reboot of system upgraded from 128 to build 129

Re: [zones-discuss] Webrev for CR 6782448

2009-12-21 Thread Steve Lawrence
Minor nit. You could use != POC_STRING, put the Z_NO_ENTRY in the {}, and put the success case after. Not a required change. LGTM. -Steve On Fri, Dec 18, 2009 at 07:28:52PM -0800, Jordan Vaughan wrote: I expanded my webrev to include my fix for 6910339 zonecfg coredumps with badly formed

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-23 Thread Steve Lawrence
Do you have the panic message or crash dump? -Steve L. On Wed, Dec 23, 2009 at 09:26:17AM -0500, Glenn Brunette wrote: Frank, Just verified that something is still wrong in b129, but the problem is _not_ with a vanilla configuration. This time around boot/halt #102, the system apparently

Re: [zones-discuss] ZFS ARC cache issue

2010-06-03 Thread Steve Lawrence
Try zfs-discuss. Ketan wrote: We are having a server running zfs root with 64G RAM and the system has 3 zones running oracle fusion app and zfs cache is using 40G memory as per kstat zfs:0:arcstats:size. and system shows only 5G of memory is free rest is taken by kernel and 2 remaining

Re: [zones-discuss] failed to move zones in os2009.06 (attach failed)

2010-07-16 Thread Steve Lawrence
Did you try: # zoneadm attach -z bibcmi4 -d rpool/zones/bibcmi4/ROOT/zbe-2 -d is an ipkg specific option. -Steve L. Gerard Henry wrote: hello all, i need to move zones from serv1 to serv2. Every server is os2009.06 b111b On serv1, i have, after detach: serv1 # zfs list -r

Re: [zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-07-27 Thread Steve Lawrence
Peter Tribble wrote: Looking at the recent zonestat arc case reminded me of something I've been meaning to ask for a while. In the case, it says: prstat polls /proc, and will not account for cpu used by short-lived processes. and Extended accounting must be used to compute

Re: [zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-08-17 Thread Steve Lawrence
Peter Tribble wrote: On Tue, Jul 27, 2010 at 5:34 PM, Steve Lawrence stephen.lawre...@oracle.com wrote: Now, if you want to account for cpu utilization by children, why not use the pr_ctime member of the psinfo structure? As far as I understand it, that collects cpu for child processes

Re: [zones-discuss] All zones continuously core dump after upgrade to Solaris Express

2010-11-18 Thread Steve Lawrence
On 11/18/10 12:38 PM, Ian Collins wrote: On 11/19/10 09:12 AM, Steve Lawrence wrote: What build are you upgrading from? 134 through 134b as recommended in the release notes. Is this during the attach -u portion of the upgrade for each zone? It happens after rebooting into the new BE. I

Re: [zones-discuss] Zone Resource Management Issue.

2010-12-13 Thread Steve Lawrence
Do you mean zone_caps? You are looking at project_caps. On 12/13/10 01:50 AM, Ketan wrote: Ok got it .. but still if i want to check what's current usage by a whole zone/project for locked-memory what would be the best way .. i 'm using kstat -c project_caps -n 'lockedmem*' but with this

Re: [zones-discuss] psets for zones

2011-03-10 Thread Steve Lawrence
When pooladm -c is done to commit the configuration, it will try and satisfy the min/max constraints of all psets. In your case, there are plenty of cpus, so pset1 gets 5 cpus. If you had more psets configured, there might not be enough cpus to give pset1 5 cpus. If the pset.min off all

Re: [zones-discuss] Solaris 10 zone migration to Solaris 11 Express

2011-04-06 Thread Steve Lawrence
Look for unmount on this page: http://download.oracle.com/docs/cd/E19797-01/817-1592/gjwmp/index.html On 04/ 6/11 06:18 AM, Mike Gerdts wrote: On Wed 06 Apr 2011 at 02:33AM, Ketan wrote: I was testing of migrating the solaris10 zone to solaris 11 express zone. I used cpio to create the

Re: [zones-discuss] Solaris 10 zone migration to Solaris 11 Express

2011-04-06 Thread Steve Lawrence
Can you provide the contents of the log file? You might find a line starting with HWCAP:. Please provide this info. -Steve On 04/ 6/11 06:22 PM, Ketan wrote: Hi Steve, I already checked this link and i did not see any hwcap libraries mounted on M-5K server .. root@serverM5K # df -h

Re: [zones-discuss] Zones disappeared fron zoneadm on OpenSolaris

2011-04-20 Thread Steve Lawrence
Never seen this failure before. Is it possible that you ran out of disk space? For reference, which opensolaris build (cat /etc/release, and uname -v). Did you do any upgrading? If so, from which prior build? It seems that you've lost your /etc/zones/index file. Perhaps there is a

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Steve Lawrence
On 04/18/12 02:42 PM, Jordi Espasa Clofent wrote: El 2012-04-18 19.22, Hung-Sheng Tsao (LaoTsao) Ph.D escribió: hi may be one could add in solaris resource control used to be project based one need to setup project and limit the resoure pool then assign the poll to zone. it is not easy to

Re: [zones-discuss] Limit swap area on disk for a zone ?

2012-10-08 Thread Steve Lawrence
We do not have per-zone disk swap reservations or limits. Limiting how much of a zone that can be paged out would effectively lock the remaining memory in use by the zone. This memory could not be paged, potentially causing physical memory starvation for other zones. If one zone is paged