[indiana-discuss] rcap*
Tony Ambrozie
tony.ambrozie at gmail.com
Mon Jun 16 19:47:43 PDT 2008
Thanks, Stephen, that worked. I was thrown off by the seg fault error.
On Mon, Jun 16, 2008 at 10:46 AM, Stephen Hahn <sch at sun.com> wrote:
> * Tony Ambrozie <tony.ambrozie at gmail.com> [2008-06-16 00:45]:
> > I am running OS 2008.05. I was looking for rcap* tools (rcapadm,
> > rcapstat), could not find them in either /usr/bin or /usr/sbin (or
> > anywhere else, for that matter). It turns out that SUNWrcapu is not
> > installed. Any reason for this omission?
> >
> > I found the package SUNWrcap in the OS repo, I pkg install it
> manually,
> > however now I am getting errors:
> >
> > xyz at opensolaris:~# rcapadm
> > rcapadm: SMF initialization problem: entity not found
> > rcapadm: Unexpected libscf error: entity not found.
> > Segmentation Fault (core dumped)
> > Any suggestions/ideas?
>
> At present, image packaging doesn't automatically import the service
> manifests within a package. So what's happening is rcapadm(1M) is
> trying to look up properties on svc:/system/rcap, which it's not
> finding. rcapadm isn't handling that failure with any grace.
>
> If you import the rcap manifest, by invoking
>
> $ pfexec svccfg import /var/svc/manifest/system/rcap.xml
>
> then
>
> $ rcapadm
> state: disabled
> memory cap enforcement threshold: 0%
> process scan rate (sec): 15
> reconfiguration rate (sec): 60
> report rate (sec): 5
> RSS sampling rate (sec): 5
>
> will work. I filed
>
> http://defect.opensolaris.org/bz/show_bug.cgi?id=2249
>
> for the rcapadm bug.
>
> - Stephen
>
> --
> sch at sun.com http://blogs.sun.com/sch/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20080616/6e8fa536/attachment.html>
More information about the indiana-discuss
mailing list