Re: [OpenIndiana-discuss] e2fsprogs header file bug

2011-11-04 Thread Andrey N. Oktyabrski

On 03.11.11 16:22, James Carlson wrote:

Andrey N. Oktyabrski wrote:

More about e2fsprogs. Now from the pkgsrc. There is a same bug as here:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45499

Is it correct to expect ifr_hwaddr member in ifreq structure if
SIOCGIFHWADDR defined?


It might be correct on some platforms.  It wouldn't be correct on
OpenIndiana, because it doesn't exist on that one.  In other words, the
application needs to be ported.

I believe that ioctl only works on PF_PACKET sockets, and requires the
use of sockaddr_ll.  See:

http://arc.opensolaris.org/caselog/PSARC/2009/232/pfp-psarc.txt


What solution would be correct?
1. Check it in the configure stage:
if ${OPSYS} == SunOS then #undef SIOCGIFHWADDR in config.h

In this case the software developers must do it in the configure script.

2. Remove the SIOCGIFHWADDR definition from Illumos/OI headers while it 
don't work.


In this case Illumos/OI developers must correct header files.


P.S. I can't understand, why e2fsprogs want any network-related 
headers... Of course, this question is for e2fsprogs developers.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OI on kvm-linux - networking issue?

2011-11-04 Thread carlopmart

On 11/04/2011 02:32 AM, Peter Lees wrote:

hi folks

i'm trying to run openindiana 151a in a VM using KVM linux (centos 6.0)

i'm trying to use a bridged ethernet connection, but for some reason the
data is not getting through (can't ping the real network)

this is probably more a centos/linux question than OI, but i wondered if
anyone had a similar setup they could share ?

regards

p

--
peter lees



How do you defined the bridge in c6 host?? What nic driver do you use in 
OI??



--
CL Martinez
carlopmart {at} gmail {d0t} com

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OI on kvm-linux - networking issue?

2011-11-04 Thread Peter Lees

On 4/11/11 7:42 PM, carlopmart wrote:

On 11/04/2011 02:32 AM, Peter Lees wrote:

hi folks

i'm trying to run openindiana 151a in a VM using KVM linux (centos 6.0)

i'm trying to use a bridged ethernet connection, but for some reason the
data is not getting through (can't ping the real network)

this is probably more a centos/linux question than OI, but i wondered if
anyone had a similar setup they could share ?

regards

p

--
peter lees



How do you defined the bridge in c6 host?? What nic driver do you use in
OI??



centos6 (host) bridge is defined using /etc/sysconfig/network-scripts:

ifcfg-eth0:
  DEVICE=eth0
  BRIDGE=br0
  NM_CONTROLLED=no
  ONBOOT=yes
  HWADDR=00:1E:67:14:E7:5D
  TYPE=Ethernet
  DNS1=10.16.168.10
  IPV4_FAILURE_FATAL=yes
  IPV6INIT=no


ifcfg-br0
  DEVICE=br0
  NM_CONTROLLED=no
  BOOTPROTO=static
  ONBOOT=yes
  TYPE=Bridge
  IPADDR=10.16.168.3
  PREFIX=27
  GATEWAY=10.16.168.10
  DNS1=10.16.168.10
  DEFROUTE=yes
  IPV6INIT=no

10.16.168.3 is the host IP address on that network.

nics driver on OI was the default rtl8139 (rtls0), but i have changed to 
e1000g (the physical port, fwiw, is e1000g)


both types plumb OK on the OI VM, but no traffic seems to cross the bridge


thoughts?

p




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] e2fsprogs header file bug

2011-11-04 Thread James Carlson
Andrey N. Oktyabrski wrote:
 On 03.11.11 16:22, James Carlson wrote:
 Andrey N. Oktyabrski wrote:
 More about e2fsprogs. Now from the pkgsrc. There is a same bug as here:
 http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45499

 Is it correct to expect ifr_hwaddr member in ifreq structure if
 SIOCGIFHWADDR defined?

 It might be correct on some platforms.  It wouldn't be correct on
 OpenIndiana, because it doesn't exist on that one.  In other words, the
 application needs to be ported.

 I believe that ioctl only works on PF_PACKET sockets, and requires the
 use of sockaddr_ll.  See:

 http://arc.opensolaris.org/caselog/PSARC/2009/232/pfp-psarc.txt
 
 What solution would be correct?
 1. Check it in the configure stage:
 if ${OPSYS} == SunOS then #undef SIOCGIFHWADDR in config.h
 
 In this case the software developers must do it in the configure script.
 
 2. Remove the SIOCGIFHWADDR definition from Illumos/OI headers while it
 don't work.
 
 In this case Illumos/OI developers must correct header files.

I'd say #1.  The reason I say that is that (a) the OI header does in
fact work, if you know how to use it, and that other software's failure
to understand how to use it really isn't OI's problem, (b) definition of
that macro does not in fact imply anything about the system, (c) there's
no fundamental system design requirement saying that #defines must be
omitted until the underlying implementation is perfect with respect to
some thoroughly arbitrary external reference, and (d) there's really no
standard saying precisely what that #define must do, so there's no
violation of type or conformance.

I do agree that partially implemented Linux compatibility things are a
bit of a hazard in general, and that this one in particular is a bit
sad.  Taking that failure up with the developer of the feature (not me,
but he's not hard to find) might be interesting.

However, like the last problem with this same unported software posted
on this same list, this new problem exposes a number of fairly clear issues:

  1.  Non-trivial software needs to be ported in order to run on
  different systems.  All of us who build software that runs on
  multiple systems really do wish it were otherwise, that somehow
  standards bodies and market pressure would magically make every
  system compatible with another, but we know that in the real
  world, that just doesn't work.  Porting is work.

  As a corollary, software that hasn't been ported, like features
  that are never tested, does not work.  Period.  It doesn't work.

  2.  Automatic configuration systems (such as, but certainly not
  limited to, GNU autoconf) are not magic.  Sometimes, in the hands
  of skilled and wise developers, they help the process of designing
  and then _TESTING_ software that is widely portable.  But they're
  not pixie dust that can be sprinkled on top in the hope that
  somehow a slew of build-time tests combined with a rat's nest of
  #ifdefs will make it all work out.

  Perhaps more significantly: no automated test can (today at least)
  determine what has been documented to work on any given system.
  All that it can test is the contents of include files, symbols in
  libraries, OS name and version, files/directories, installed
  software packages, and, if it tries hard, kernel interfaces.  None
  of that substitutes in any automated way for an actual developer
  reading the flippin' man pages.

  3.  Not all systems are Linux.  Nor are they BSD.  Nor are they
  Windows.  Nor are they Solaris.  And so on.  Assuming that there's
  one special golden reference standard out there that everyone
  must support is pure folly.

  If everything were the same, well, there'd only be one OS in the
  world, and I know I'd really be sad if we all had to write code
  on Win7.

  4.  e2fsprogs is not greater in stature than OI.  That is to say,
  there's no reason I can see that OI should have to change in order
  to pave a road for that one software project.  Sure, if there are
  objective bugs or flaws in OI, and if someone has the time and
  ability to repair those things, then that's great, whether it does
  or does not help e2fsprogs.  But assuming that each
  incompatibility between the two is in fact a problem is _either_
  is, I think, deeply wrong.

  One doesn't go visiting a foreign land and just assume the
  residents there must speak the one's own language and, if they
  don't, then they must be defective.  That's not how it works.

Note that this goes both ways.  I wouldn't expect software written
explicitly for OI to run well at all on the systems used by the
e2fsprogs developers.  If someone wanted it to run there, then that
person would have to put in the work required to port the software over.
 And calling their systems broken because they don't run native
Solaris software is not too 

[OpenIndiana-discuss] KVM again

2011-11-04 Thread alessio
I'm very interested in KVM on Openindiana.
Unfortunately I don't actually have a CPU supporting KVM.
I can buy a new PC, so I want to buy a system on wich I can install
Openindiana and run KVM.

Can someone tell me wich intel CPU model works with KVM for sure?
Thank you for any advice.


A.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Schuster
Hi,

the obvious question to ask: what's the machine doing?

Michael

On Fri, Nov 4, 2011 at 13:49, Daniel Kjar dk...@elmira.edu wrote:
 I have always had this problem and it has never been resolved.  Does anyone
 else see  this and is there a cure?

 I have a v40z (although all of my boxes do it) 32gb ram 4 dual core 885s.
  When you restart the server it shows about 27 gb free.  Over 12 hours this
 slowly degrades to about 1gb free and I start to notice a slow down.  Once
 this drops down to 400mb stuff starts to really drag.  Setting the max zfs
 arc use does nothing.  This is using TOP.

 If you look at the gnome performance monitor it will say you are only using
 2gb of ram yet there is degradation in performance (I assume for slow memory
 clearing and reuse).

 CPU states: 94.3% idle,  1.3% user,  4.4% kernel,  0.0% iowait,  0.0% swap
 Kernel: 7755 ctxsw, 139 trap, 13034 intr, 22379 syscall, 120 flt, 136 pgin
 Memory: 32G phys mem, 988M free mem, 16G total swap, 16G free swap

 and this dropped below 1gb while I was typing this message.


 --
 Dr. Daniel Kjar
 Assistant Professor of Biology
 Division of Mathematics and Natural Sciences
 Elmira College
 1 Park Place
 Elmira, NY 14901
 607-735-1826
 http://faculty.elmira.edu/dkjar

 ...humans send their young men to war; ants send their old ladies
        -E. O. Wilson




 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




-- 
Michael Schuster
http://recursiveramblings.wordpress.com/

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
Just serving sunray sessions but this happens whether anyone is logged 
on (none last night) or not.  If somebody fires up something like a 
virtual machine it just speeds up the process.


On 11/ 4/11 08:53 AM, Michael Schuster wrote:

Hi,

the obvious question to ask: what's the machine doing?

Michael

On Fri, Nov 4, 2011 at 13:49, Daniel Kjardk...@elmira.edu  wrote:

I have always had this problem and it has never been resolved.  Does anyone
else see  this and is there a cure?

I have a v40z (although all of my boxes do it) 32gb ram 4 dual core 885s.
  When you restart the server it shows about 27 gb free.  Over 12 hours this
slowly degrades to about 1gb free and I start to notice a slow down.  Once
this drops down to 400mb stuff starts to really drag.  Setting the max zfs
arc use does nothing.  This is using TOP.

If you look at the gnome performance monitor it will say you are only using
2gb of ram yet there is degradation in performance (I assume for slow memory
clearing and reuse).

CPU states: 94.3% idle,  1.3% user,  4.4% kernel,  0.0% iowait,  0.0% swap
Kernel: 7755 ctxsw, 139 trap, 13034 intr, 22379 syscall, 120 flt, 136 pgin
Memory: 32G phys mem, 988M free mem, 16G total swap, 16G free swap

and this dropped below 1gb while I was typing this message.


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss






--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Schuster
On Fri, Nov 4, 2011 at 13:56, Daniel Kjar dk...@elmira.edu wrote:
 Just serving sunray sessions but this happens whether anyone is logged on
 (none last night) or not.  If somebody fires up something like a virtual
 machine it just speeds up the process.

hmm ... (haven't done this in a while ...) I'd suggest you
periodically (once every 10', perhaps)  'pmap' all processes and see
which grow most, and then look at those in detail (perhaps using pmap
-x, or starting those with LD_PRELOAD=/usr/lib/libumem.so ...)

I'm sure other people have better ideas.

HTH
Michael

 On 11/ 4/11 08:53 AM, Michael Schuster wrote:

 Hi,

 the obvious question to ask: what's the machine doing?

 Michael

 On Fri, Nov 4, 2011 at 13:49, Daniel Kjardk...@elmira.edu  wrote:

 I have always had this problem and it has never been resolved.  Does
 anyone
 else see  this and is there a cure?

 I have a v40z (although all of my boxes do it) 32gb ram 4 dual core 885s.
  When you restart the server it shows about 27 gb free.  Over 12 hours
 this
 slowly degrades to about 1gb free and I start to notice a slow down.
  Once
 this drops down to 400mb stuff starts to really drag.  Setting the max
 zfs
 arc use does nothing.  This is using TOP.

 If you look at the gnome performance monitor it will say you are only
 using
 2gb of ram yet there is degradation in performance (I assume for slow
 memory
 clearing and reuse).

 CPU states: 94.3% idle,  1.3% user,  4.4% kernel,  0.0% iowait,  0.0%
 swap
 Kernel: 7755 ctxsw, 139 trap, 13034 intr, 22379 syscall, 120 flt, 136
 pgin
 Memory: 32G phys mem, 988M free mem, 16G total swap, 16G free swap

 and this dropped below 1gb while I was typing this message.


 --
 Dr. Daniel Kjar
 Assistant Professor of Biology
 Division of Mathematics and Natural Sciences
 Elmira College
 1 Park Place
 Elmira, NY 14901
 607-735-1826
 http://faculty.elmira.edu/dkjar

 ...humans send their young men to war; ants send their old ladies
        -E. O. Wilson




 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




 --
 Dr. Daniel Kjar
 Assistant Professor of Biology
 Division of Mathematics and Natural Sciences
 Elmira College
 1 Park Place
 Elmira, NY 14901
 607-735-1826
 http://faculty.elmira.edu/dkjar

 ...humans send their young men to war; ants send their old ladies
        -E. O. Wilson




 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss




-- 
Michael Schuster
http://recursiveramblings.wordpress.com/

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar

pmap seems to give me exactly what top tells me.

There just doesn't look like 32gb of stuff running (more like 5gb 
max)...  although I have to laugh at how much memory Firefox seems to 
need


 9409 eagle3 17  590  765M  739M sleep3:24  0.37% VirtualBox
  9413 eagle3 21  390  291M  129M sleep1:54  0.51% firefox
  2589 eagle2 21  590  245M  150M sleep0:34  0.01% java
  5357 eagle2  1  590  112M   58M sleep0:01  0.00% nautilus
  4179 eagle3  1  580  107M   98M sleep1:03  0.03% Xnewt
  4470 eagle3  1  490  106M   39M sleep0:01  0.00% nautilus
  3423 gdm 1  590  102M   35M sleep0:00  0.00% 
gnome-settings-

  5063 eagle2  1  590   98M   90M sleep0:33  0.00% Xnewt
  3430 gdm 1  590   91M   26M sleep0:57  0.01% 
gdm-simple-gree

  4480 eagle3  1  590   91M   21M sleep0:03  0.00% isapython2.6
  4467 eagle3  1  590   90M   24M sleep0:01  0.00% gnome-panel
  5354 eagle2  1  590   90M   26M sleep0:01  0.00% gnome-panel
  4499 eagle3  1  590   86M   19M sleep0:21  0.01% 
mixer_applet2
  5388 eagle2  1  590   86M   19M sleep0:15  0.01% 
mixer_applet2
  4462 eagle3  1  590   86M   18M sleep0:00  0.00% 
gnome-settings-

  4486 eagle3  1  490   86M   18M sleep0:00  0.00% trashapplet
  3429 gdm 1  590   85M   18M sleep0:01  0.00% 
gnome-power-man

  5371 eagle2  1  590   84M   17M sleep0:00  0.00% wnck-applet
  4485 eagle3  1  590   84M   17M sleep0:01  0.00% wnck-applet
  4466 eagle3  1  590   84M   17M sleep0:00  0.00% metacity
  5360 eagle2  1  590   83M   17M sleep0:01  0.00% 
gnome-power-man
  4471 eagle3  1  590   83M   16M sleep0:01  0.00% 
gnome-power-man

  5373 eagle2  1  590   79M   13M sleep0:00  0.00% trashapplet
  3428 gdm 1  590   78M   13M sleep0:00  0.00% metacity
   637 mysql   9  590   53M   19M sleep0:19  0.01% mysqld
  2452 root   23  59  -10   52M   26M sleep0:45  0.02% java
  5362 eagle2  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno
  4473 eagle3  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno

  3367 root4  590   47M   36M sleep   13:58  0.17% Xorg
  3332 root1  590   39M   20M sleep0:20  0.01% Xnewt


On 11/ 4/11 09:01 AM, Michael Schuster wrote:

On Fri, Nov 4, 2011 at 13:56, Daniel Kjardk...@elmira.edu  wrote:

Just serving sunray sessions but this happens whether anyone is logged on
(none last night) or not.  If somebody fires up something like a virtual
machine it just speeds up the process.

hmm ... (haven't done this in a while ...) I'd suggest you
periodically (once every 10', perhaps)  'pmap' all processes and see
which grow most, and then look at those in detail (perhaps using pmap
-x, or starting those with LD_PRELOAD=/usr/lib/libumem.so ...)

I'm sure other people have better ideas.

HTH
Michael

On 11/ 4/11 08:53 AM, Michael Schuster wrote:

Hi,

the obvious question to ask: what's the machine doing?

Michael

On Fri, Nov 4, 2011 at 13:49, Daniel Kjardk...@elmira.eduwrote:

I have always had this problem and it has never been resolved.  Does
anyone
else see  this and is there a cure?

I have a v40z (although all of my boxes do it) 32gb ram 4 dual core 885s.
  When you restart the server it shows about 27 gb free.  Over 12 hours
this
slowly degrades to about 1gb free and I start to notice a slow down.
  Once
this drops down to 400mb stuff starts to really drag.  Setting the max
zfs
arc use does nothing.  This is using TOP.

If you look at the gnome performance monitor it will say you are only
using
2gb of ram yet there is degradation in performance (I assume for slow
memory
clearing and reuse).

CPU states: 94.3% idle,  1.3% user,  4.4% kernel,  0.0% iowait,  0.0%
swap
Kernel: 7755 ctxsw, 139 trap, 13034 intr, 22379 syscall, 120 flt, 136
pgin
Memory: 32G phys mem, 988M free mem, 16G total swap, 16G free swap

and this dropped below 1gb while I was typing this message.


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Robin Axelsson
I'm wondering if this memory drain may be due to zpool caching (L2ARC). 
You could try and see if it helps of you set a limit on this cache. The 
way that I understand it zpool/zfs uses quite a bit of RAM for caching.


Robin.

On 2011-11-04 14:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.

There just doesn't look like 32gb of stuff running (more like 5gb 
max)...  although I have to laugh at how much memory Firefox seems to 
need


 9409 eagle3 17  590  765M  739M sleep3:24  0.37% VirtualBox
  9413 eagle3 21  390  291M  129M sleep1:54  0.51% firefox
  2589 eagle2 21  590  245M  150M sleep0:34  0.01% java
  5357 eagle2  1  590  112M   58M sleep0:01  0.00% nautilus
  4179 eagle3  1  580  107M   98M sleep1:03  0.03% Xnewt
  4470 eagle3  1  490  106M   39M sleep0:01  0.00% nautilus
  3423 gdm 1  590  102M   35M sleep0:00  0.00% 
gnome-settings-

  5063 eagle2  1  590   98M   90M sleep0:33  0.00% Xnewt
  3430 gdm 1  590   91M   26M sleep0:57  0.01% 
gdm-simple-gree
  4480 eagle3  1  590   91M   21M sleep0:03  0.00% 
isapython2.6
  4467 eagle3  1  590   90M   24M sleep0:01  0.00% 
gnome-panel
  5354 eagle2  1  590   90M   26M sleep0:01  0.00% 
gnome-panel
  4499 eagle3  1  590   86M   19M sleep0:21  0.01% 
mixer_applet2
  5388 eagle2  1  590   86M   19M sleep0:15  0.01% 
mixer_applet2
  4462 eagle3  1  590   86M   18M sleep0:00  0.00% 
gnome-settings-
  4486 eagle3  1  490   86M   18M sleep0:00  0.00% 
trashapplet
  3429 gdm 1  590   85M   18M sleep0:01  0.00% 
gnome-power-man
  5371 eagle2  1  590   84M   17M sleep0:00  0.00% 
wnck-applet
  4485 eagle3  1  590   84M   17M sleep0:01  0.00% 
wnck-applet

  4466 eagle3  1  590   84M   17M sleep0:00  0.00% metacity
  5360 eagle2  1  590   83M   17M sleep0:01  0.00% 
gnome-power-man
  4471 eagle3  1  590   83M   16M sleep0:01  0.00% 
gnome-power-man
  5373 eagle2  1  590   79M   13M sleep0:00  0.00% 
trashapplet

  3428 gdm 1  590   78M   13M sleep0:00  0.00% metacity
   637 mysql   9  590   53M   19M sleep0:19  0.01% mysqld
  2452 root   23  59  -10   52M   26M sleep0:45  0.02% java
  5362 eagle2  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno
  4473 eagle3  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno

  3367 root4  590   47M   36M sleep   13:58  0.17% Xorg
  3332 root1  590   39M   20M sleep0:20  0.01% Xnewt


On 11/ 4/11 09:01 AM, Michael Schuster wrote:

On Fri, Nov 4, 2011 at 13:56, Daniel Kjardk...@elmira.edu  wrote:
Just serving sunray sessions but this happens whether anyone is 
logged on
(none last night) or not.  If somebody fires up something like a 
virtual

machine it just speeds up the process.

hmm ... (haven't done this in a while ...) I'd suggest you
periodically (once every 10', perhaps)  'pmap' all processes and see
which grow most, and then look at those in detail (perhaps using pmap
-x, or starting those with LD_PRELOAD=/usr/lib/libumem.so ...)

I'm sure other people have better ideas.

HTH
Michael

On 11/ 4/11 08:53 AM, Michael Schuster wrote:

Hi,

the obvious question to ask: what's the machine doing?

Michael

On Fri, Nov 4, 2011 at 13:49, Daniel Kjardk...@elmira.eduwrote:

I have always had this problem and it has never been resolved.  Does
anyone
else see  this and is there a cure?

I have a v40z (although all of my boxes do it) 32gb ram 4 dual 
core 885s.
  When you restart the server it shows about 27 gb free.  Over 12 
hours

this
slowly degrades to about 1gb free and I start to notice a slow down.
  Once
this drops down to 400mb stuff starts to really drag.  Setting the 
max

zfs
arc use does nothing.  This is using TOP.

If you look at the gnome performance monitor it will say you are only
using
2gb of ram yet there is degradation in performance (I assume for slow
memory
clearing and reuse).

CPU states: 94.3% idle,  1.3% user,  4.4% kernel,  0.0% iowait,  0.0%
swap
Kernel: 7755 ctxsw, 139 trap, 13034 intr, 22379 syscall, 120 flt, 136
pgin
Memory: 32G phys mem, 988M free mem, 16G total swap, 16G free swap

and this dropped below 1gb while I was typing this message.


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences

Re: [OpenIndiana-discuss] KVM again

2011-11-04 Thread carlopmart

On 11/04/2011 01:33 PM, alessio wrote:

I'm very interested in KVM on Openindiana.
Unfortunately I don't actually have a CPU supporting KVM.
I can buy a new PC, so I want to buy a system on wich I can install
Openindiana and run KVM.

Can someone tell me wich intel CPU model works with KVM for sure?
Thank you for any advice.




These:

- 
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/ch03s02.html



--
CL Martinez
carlopmart {at} gmail {d0t} com

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] KVM again

2011-11-04 Thread Patrick O'Sullivan
That list is not relevant. Joyent targeted their port strictly for Intel
chips with VT-x and EPT.

Basically this means you need a Nehalem or later (Westmere, Sandy Bridge)
processor.

On Friday, November 4, 2011, carlopmart carlopm...@gmail.com wrote:
 On 11/04/2011 01:33 PM, alessio wrote:

 I'm very interested in KVM on Openindiana.
 Unfortunately I don't actually have a CPU supporting KVM.
 I can buy a new PC, so I want to buy a system on wich I can install
 Openindiana and run KVM.

 Can someone tell me wich intel CPU model works with KVM for sure?
 Thank you for any advice.



 These:

 -
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/ch03s02.html


 --
 CL Martinez
 carlopmart {at} gmail {d0t} com

 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
Yeah... I have tried setting that on other servers with no luck.  I will 
give it a shot again though.


My x2200 powercycled this morning (again at exactly 3:21am, another 
problem I need to figure out) so it is only using 1gb or ram at the moment

Here is it's memstat
 ::memstat
Page SummaryPagesMB  %Tot
     
Kernel 107571   4203%
ZFS File Data  135197   5284%
Anon53276   2082%
Exec and libs8032310%
Page cache   8750340%
Free (cachelist)20737811%
Free (freelist)   2810003 10976   89%

Total 3143566 12279
Physical  3083897 12046

and here is the memstat of my v40z

 ::memstat
Page SummaryPagesMB  %Tot
     
Kernel 649587  25378%
ZFS File Data 5775404 22560   70%
Anon   294014  11484%
Exec and libs6715260%
Page cache  40089   1560%
Free (cachelist)   146536   5722%
Free (freelist)   1359279  5309   16%

Total 8271624 32311
Physical  8271623 32311

What on earth ZFS wants with 22gb of ram is beyond me.

On 11/ 4/11 09:22 AM, Robin Axelsson wrote:
I'm wondering if this memory drain may be due to zpool caching 
(L2ARC). You could try and see if it helps of you set a limit on this 
cache. The way that I understand it zpool/zfs uses quite a bit of RAM 
for caching.


Robin.

On 2011-11-04 14:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.

There just doesn't look like 32gb of stuff running (more like 5gb 
max)...  although I have to laugh at how much memory Firefox seems to 
need


 9409 eagle3 17  590  765M  739M sleep3:24  0.37% VirtualBox
  9413 eagle3 21  390  291M  129M sleep1:54  0.51% firefox
  2589 eagle2 21  590  245M  150M sleep0:34  0.01% java
  5357 eagle2  1  590  112M   58M sleep0:01  0.00% nautilus
  4179 eagle3  1  580  107M   98M sleep1:03  0.03% Xnewt
  4470 eagle3  1  490  106M   39M sleep0:01  0.00% nautilus
  3423 gdm 1  590  102M   35M sleep0:00  0.00% 
gnome-settings-

  5063 eagle2  1  590   98M   90M sleep0:33  0.00% Xnewt
  3430 gdm 1  590   91M   26M sleep0:57  0.01% 
gdm-simple-gree
  4480 eagle3  1  590   91M   21M sleep0:03  0.00% 
isapython2.6
  4467 eagle3  1  590   90M   24M sleep0:01  0.00% 
gnome-panel
  5354 eagle2  1  590   90M   26M sleep0:01  0.00% 
gnome-panel
  4499 eagle3  1  590   86M   19M sleep0:21  0.01% 
mixer_applet2
  5388 eagle2  1  590   86M   19M sleep0:15  0.01% 
mixer_applet2
  4462 eagle3  1  590   86M   18M sleep0:00  0.00% 
gnome-settings-
  4486 eagle3  1  490   86M   18M sleep0:00  0.00% 
trashapplet
  3429 gdm 1  590   85M   18M sleep0:01  0.00% 
gnome-power-man
  5371 eagle2  1  590   84M   17M sleep0:00  0.00% 
wnck-applet
  4485 eagle3  1  590   84M   17M sleep0:01  0.00% 
wnck-applet

  4466 eagle3  1  590   84M   17M sleep0:00  0.00% metacity
  5360 eagle2  1  590   83M   17M sleep0:01  0.00% 
gnome-power-man
  4471 eagle3  1  590   83M   16M sleep0:01  0.00% 
gnome-power-man
  5373 eagle2  1  590   79M   13M sleep0:00  0.00% 
trashapplet

  3428 gdm 1  590   78M   13M sleep0:00  0.00% metacity
   637 mysql   9  590   53M   19M sleep0:19  0.01% mysqld
  2452 root   23  59  -10   52M   26M sleep0:45  0.02% java
  5362 eagle2  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno
  4473 eagle3  1  12   19   49M   33M sleep0:02  0.00% 
updatemanagerno

  3367 root4  590   47M   36M sleep   13:58  0.17% Xorg
  3332 root1  590   39M   20M sleep0:20  0.01% Xnewt


On 11/ 4/11 09:01 AM, Michael Schuster wrote:

On Fri, Nov 4, 2011 at 13:56, Daniel Kjardk...@elmira.edu  wrote:
Just serving sunray sessions but this happens whether anyone is 
logged on
(none last night) or not.  If somebody fires up something like a 
virtual

machine it just speeds up the process.

hmm ... (haven't done this in a while ...) I'd suggest you
periodically (once every 10', perhaps)  'pmap' all processes and see
which grow most, and then look at those in detail (perhaps using pmap
-x, or starting those with LD_PRELOAD=/usr/lib/libumem.so ...)

I'm sure other people have 

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Rob McMahon

On 04/11/2011 13:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.
Remember top will almost always show low free memory.  Free memory is 
wasted memory, it gets filled by filesystem cache, zfs or otherwise, and 
re-used when needed.  Look at e.g. `vmstat 5' to look for memory issues.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OI on kvm-linux - networking issue?

2011-11-04 Thread carlopmart

On 11/04/2011 11:44 AM, Peter Lees wrote:

On 4/11/11 7:42 PM, carlopmart wrote:

On 11/04/2011 02:32 AM, Peter Lees wrote:

hi folks

i'm trying to run openindiana 151a in a VM using KVM linux (centos 6.0)

i'm trying to use a bridged ethernet connection, but for some reason the
data is not getting through (can't ping the real network)

this is probably more a centos/linux question than OI, but i wondered if
anyone had a similar setup they could share ?

regards

p

--
peter lees



How do you defined the bridge in c6 host?? What nic driver do you use in
OI??



centos6 (host) bridge is defined using /etc/sysconfig/network-scripts:

ifcfg-eth0:
DEVICE=eth0
BRIDGE=br0
NM_CONTROLLED=no
ONBOOT=yes
HWADDR=00:1E:67:14:E7:5D
TYPE=Ethernet
DNS1=10.16.168.10
IPV4_FAILURE_FATAL=yes
IPV6INIT=no


ifcfg-br0
DEVICE=br0
NM_CONTROLLED=no
BOOTPROTO=static
ONBOOT=yes
TYPE=Bridge
IPADDR=10.16.168.3
PREFIX=27
GATEWAY=10.16.168.10
DNS1=10.16.168.10
DEFROUTE=yes
IPV6INIT=no

10.16.168.3 is the host IP address on that network.

nics driver on OI was the default rtl8139 (rtls0), but i have changed to
e1000g (the physical port, fwiw, is e1000g)

both types plumb OK on the OI VM, but no traffic seems to cross the bridge


thoughts?

p



Uhmm ... Maybe the problem is with e1000g driver. I have installed a 
FreeBSD guest under a RHEL6 kvm host, and this driver suffers problems ...


--
CL Martinez
carlopmart {at} gmail {d0t} com

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
I have seen that in plenty of places and I 'know' it to be true but as I 
watch zfs swallow all of my ram and my server ends up stuttering (when 
it shouldn't) then I have to do something.  Although everything 
everywhere says that ZFS gives it up whenever asked many comments from 
oracle and the zfs tuning guide hint that it isn't really that good at 
giving it up.  Some processes don't know the right way to ask (exert 
pressure) etc.  Also, when ZFS was young Sun kept saying that it using 
all of the available ram was harmless but... later they figured out 
there was a bug in how it was handling the process of detecting memory 
constraints on the system and now there are known scenarios when 
limiting ZFS hunger is called for.


I was just hoping there was something else going on here with 151a but I 
see now that is not the case.


On 11/ 4/11 10:28 AM, Rob McMahon wrote:

On 04/11/2011 13:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.
Remember top will almost always show low free memory.  Free memory is 
wasted memory, it gets filled by filesystem cache, zfs or otherwise, 
and re-used when needed.  Look at e.g. `vmstat 5' to look for memory 
issues.


Rob



--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Setting nfsmapid_domain

2011-11-04 Thread Martyn Klassen
I am trying to configuring an NFS client to mount from a server which has been 
configure with an NFS domain 'company' and over which I have no control, i.e. I 
cannot change the NFS domain. This is of course not the DNS domain name, so 
everything mounts belonging to 'nobody' and when I try to explicitly set the 
nfsmapid_domain sharectl complains that is an invalid domain

# sharectl set -p nfsmapid_domain=company nfs
Could not set property nfsmapid_domain: bad property value

Apparently it wants something that looks like domain name by having at least 
one period, e.g. 'company.com'

Is there a way to force the system to use a none standard NFS mapid domain?

Martyn



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] KVM again

2011-11-04 Thread Sriram Narayanan
On Fri, Nov 4, 2011 at 7:11 PM, Patrick O'Sullivan
ir...@insaneirish.com wrote:
 That list is not relevant. Joyent targeted their port strictly for Intel
 chips with VT-x and EPT.

 Basically this means you need a Nehalem or later (Westmere, Sandy Bridge)
 processor.


SandyBridge support is not complete at the moment in Illumos. So an
earlier Intel system would be best at the moment.

-- Sriram

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Stapleton
Hello,

There is an issue running VirtualBox with ZFS. ZFS will cause
fragmentation of memory which is usually not a problem, but due to the
nature of how VirtualBox attempt to lock down continuous chunks of RAM,
it is a problem for VBox. If you are running VBox and ZFS, cap the ARC
cache...


Mike,


 On Fri, 2011-11-04 at 10:39 -0400, Daniel Kjar wrote:

 I have seen that in plenty of places and I 'know' it to be true but as I 
 watch zfs swallow all of my ram and my server ends up stuttering (when 
 it shouldn't) then I have to do something.  Although everything 
 everywhere says that ZFS gives it up whenever asked many comments from 
 oracle and the zfs tuning guide hint that it isn't really that good at 
 giving it up.  Some processes don't know the right way to ask (exert 
 pressure) etc.  Also, when ZFS was young Sun kept saying that it using 
 all of the available ram was harmless but... later they figured out 
 there was a bug in how it was handling the process of detecting memory 
 constraints on the system and now there are known scenarios when 
 limiting ZFS hunger is called for.
 
 I was just hoping there was something else going on here with 151a but I 
 see now that is not the case.
 
 On 11/ 4/11 10:28 AM, Rob McMahon wrote:
  On 04/11/2011 13:13, Daniel Kjar wrote:
  pmap seems to give me exactly what top tells me.
  Remember top will almost always show low free memory.  Free memory is 
  wasted memory, it gets filled by filesystem cache, zfs or otherwise, 
  and re-used when needed.  Look at e.g. `vmstat 5' to look for memory 
  issues.
 
  Rob
 
 


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] server power cycling at very predictable moments

2011-11-04 Thread Daniel Kjar
The oracle board is down so I thought I would throw this out here... 
every two weeks at 3:20AM my x2200 powercycles.


Oct  7 03:21:44 bio2 genunix: [ID 540533 kern.notice] ^MSunOS Release 
5.10 Version Generic_144501-19 64-bit
Oct 21 03:21:48 bio2 genunix: [ID 540533 kern.notice] ^MSunOS Release 
5.10 Version Generic_147441-03 64-bit
Nov  4 03:21:51 bio2 genunix: [ID 540533 kern.notice] ^MSunOS Release 
5.10 Version Generic_147441-04 64-bit


but I don't see anything in my crontab that would cause this every two 
weeks.  Is there somewhere else I should be looking?  It can't be 
nfsfind since this always happens on friday and at 2 week intervals.  I 
am sure this is something very simple that I am just missing  the 
logs show nothing before the powercycle.


10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ]  /usr/lib/gss/gsscred_clean
15 4 * * * /usr/sbin/backupdatabasescript.sh
30 7 22 * * /usr/sbin/backupdatabasemonthlyscript.sh
30 7 * * * /usr/sbin/backupscript.sh
59 1 * * * /usr/sbin/zfssnap.sh
#
# The rtc command is run to adjust the real time clock if and when
# daylight savings time changes.
#
1 2 * * * [ -x /usr/sbin/rtc ]  /usr/sbin/rtc -c  /dev/null 21
#10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___
04 0 * * * /usr/lib/patch/swupAuto  /dev/null 21

--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Gabriele Bulfon
Hi,
where would I find the packages of OpenOffice for OpenIndiana?
I installed the Solaris downloadable from openoffice.org but in the end soffice 
doesn't work,
it says:
ld.so.1: soffice.bin: fatal: libc.so.6: open failed: No such file or directory
ld.so.1: soffice.bin: fatal: relocation error: file 
/opt/openoffice.org/basis3.3/program/libvclsi.so: symbol FT_Init_FreeType: 
referenced symbol not found
/usr/bin/soffice[120]: wait: 20287: Killed
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Alan Coopersmith

On 11/04/11 10:04, Gabriele Bulfon wrote:

Hi,
where would I find the packages of OpenOffice for OpenIndiana?
I installed the Solaris downloadable from openoffice.org but in the end soffice 
doesn't work,
it says:
ld.so.1: soffice.bin: fatal: libc.so.6: open failed: No such file or directory


libc.so.6 sounds like Linux - Solaris/OpenSolaris/etc. has always had libc.so.1

--
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Gabriele Bulfon
Yesindeed it's a strange response.
Oh yes, I ran under pfexec and it works.
Probably my user has some misleading environment set.can't really say.
--
Da: Alan Coopersmith
A: Discussion list for OpenIndiana
Cc: Gabriele Bulfon
Data: 4 novembre 2011 18.15.25 CET
Oggetto: Re: [OpenIndiana-discuss] OpenOffice on oi151a
On 11/04/11 10:04, Gabriele Bulfon wrote:
Hi,
where would I find the packages of OpenOffice for OpenIndiana?
I installed the Solaris downloadable from openoffice.org but in the end soffice 
doesn't work,
it says:
ld.so.1: soffice.bin: fatal: libc.so.6: open failed: No such file or directory
libc.so.6 sounds like Linux - Solaris/OpenSolaris/etc. has always had libc.so.1
--
-Alan Coopersmith-alan.coopersm...@oracle.com
Oracle Solaris Platform Engineering: X Window System
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Robin Axelsson
Yeah, for a period I had the system gobble up vast amounts of RAM while 
running Virtualbox. I tried capping the ARC (in some config file I 
believe, can't remember) but that didn't help. In the end I discovered 
that this happened when the virtual machines did network intensive tasks 
over a NAT connection and the problems disappeared when I switched to 
bridged networking. I filed a bug report and the Virtualbox team fixed 
the bug in version 3.2.12.


On 2011-11-04 16:41, Michael Stapleton wrote:

Hello,

 There is an issue running VirtualBox with ZFS. ZFS will cause
fragmentation of memory which is usually not a problem, but due to the
nature of how VirtualBox attempt to lock down continuous chunks of RAM,
it is a problem for VBox. If you are running VBox and ZFS, cap the ARC
cache...


Mike,


  On Fri, 2011-11-04 at 10:39 -0400, Daniel Kjar wrote:


I have seen that in plenty of places and I 'know' it to be true but as I
watch zfs swallow all of my ram and my server ends up stuttering (when
it shouldn't) then I have to do something.  Although everything
everywhere says that ZFS gives it up whenever asked many comments from
oracle and the zfs tuning guide hint that it isn't really that good at
giving it up.  Some processes don't know the right way to ask (exert
pressure) etc.  Also, when ZFS was young Sun kept saying that it using
all of the available ram was harmless but... later they figured out
there was a bug in how it was handling the process of detecting memory
constraints on the system and now there are known scenarios when
limiting ZFS hunger is called for.

I was just hoping there was something else going on here with 151a but I
see now that is not the case.

On 11/ 4/11 10:28 AM, Rob McMahon wrote:

On 04/11/2011 13:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.

Remember top will almost always show low free memory.  Free memory is
wasted memory, it gets filled by filesystem cache, zfs or otherwise,
and re-used when needed.  Look at e.g. `vmstat 5' to look for memory
issues.

Rob



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss






___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Alex Viskovatoff
On Fri, 2011-11-04 at 18:04 +0100, Gabriele Bulfon wrote:
 where would I find the packages of OpenOffice for OpenIndiana?
 I installed the Solaris downloadable from openoffice.org

That's interesting. OpenOffice is in http://pkg.openindiana.org/legacy/,
but there it's at 3.1.0, whereas the one at openoffice.org is at 3.3.0.

Given that the effort to port LibreOffice to OpenIndiana has stalled, OI
should provide OpenOffice 3.3.0 (modified to fix the problem you ran
into) in an IPS repo.

I have heard bad things about LibreOffice. OI probably shouldn't bother
with LibreOffice until it gets more manpower.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar

Interesting...  I will have to check the connection although this is 4x

On 11/ 4/11 01:50 PM, Robin Axelsson wrote:
Yeah, for a period I had the system gobble up vast amounts of RAM 
while running Virtualbox. I tried capping the ARC (in some config file 
I believe, can't remember) but that didn't help. In the end I 
discovered that this happened when the virtual machines did network 
intensive tasks over a NAT connection and the problems disappeared 
when I switched to bridged networking. I filed a bug report and the 
Virtualbox team fixed the bug in version 3.2.12.


On 2011-11-04 16:41, Michael Stapleton wrote:

Hello,

 There is an issue running VirtualBox with ZFS. ZFS will cause
fragmentation of memory which is usually not a problem, but due to the
nature of how VirtualBox attempt to lock down continuous chunks of RAM,
it is a problem for VBox. If you are running VBox and ZFS, cap the ARC
cache...


Mike,


  On Fri, 2011-11-04 at 10:39 -0400, Daniel Kjar wrote:

I have seen that in plenty of places and I 'know' it to be true but 
as I

watch zfs swallow all of my ram and my server ends up stuttering (when
it shouldn't) then I have to do something.  Although everything
everywhere says that ZFS gives it up whenever asked many comments from
oracle and the zfs tuning guide hint that it isn't really that good at
giving it up.  Some processes don't know the right way to ask (exert
pressure) etc.  Also, when ZFS was young Sun kept saying that it using
all of the available ram was harmless but... later they figured out
there was a bug in how it was handling the process of detecting memory
constraints on the system and now there are known scenarios when
limiting ZFS hunger is called for.

I was just hoping there was something else going on here with 151a 
but I

see now that is not the case.

On 11/ 4/11 10:28 AM, Rob McMahon wrote:

On 04/11/2011 13:13, Daniel Kjar wrote:

pmap seems to give me exactly what top tells me.

Remember top will almost always show low free memory.  Free memory is
wasted memory, it gets filled by filesystem cache, zfs or otherwise,
and re-used when needed.  Look at e.g. `vmstat 5' to look for memory
issues.

Rob



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss






___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Gabriele Bulfon
I could run it under pfexec. Don't know why ld looks for a Linux libc under my 
user

Inviato da iPad

Il giorno 04/nov/2011, alle ore 19:18, Alex Viskovatoff viskovat...@imap.cc 
ha scritto:

 On Fri, 2011-11-04 at 18:04 +0100, Gabriele Bulfon wrote:
 where would I find the packages of OpenOffice for OpenIndiana?
 I installed the Solaris downloadable from openoffice.org
 
 That's interesting. OpenOffice is in http://pkg.openindiana.org/legacy/,
 but there it's at 3.1.0, whereas the one at openoffice.org is at 3.3.0.
 
 Given that the effort to port LibreOffice to OpenIndiana has stalled, OI
 should provide OpenOffice 3.3.0 (modified to fix the problem you ran
 into) in an IPS repo.
 
 I have heard bad things about LibreOffice. OI probably shouldn't bother
 with LibreOffice until it gets more manpower.
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] VPN tunnel to cisco with VPNC

2011-11-04 Thread Ewald Ertl
Hello,

has anybody got a VPN connection with the vpnc?

I have a cisco VPN gateway.
The configuration is set and it seems, as if the tunnel is established,
because I got the parameter ( network ), but
setting the routing fails.

The tun-device is setup, but the adding of the route says, that the network
is not reachable.

The route for the VPN gateway IP is added.



Thanks for any info
Ewald
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] VPN tunnel to cisco with VPNC

2011-11-04 Thread Jerry Kemp
Hello Ewald,

Please review the following link, and see if there is anything that can
assist you.

http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2005-April/000589.html

If possible, please post a summary if/when you resolve your issue.  VPN
connectivity is seriously lacking in the *Solaris world.

Jerry Kemp



On 11/ 4/11 03:10 PM, Ewald Ertl wrote:
 Hello,
 
 has anybody got a VPN connection with the vpnc?
 
 I have a cisco VPN gateway.
 The configuration is set and it seems, as if the tunnel is established,
 because I got the parameter ( network ), but
 setting the routing fails.
 
 The tun-device is setup, but the adding of the route says, that the network
 is not reachable.
 
 The route for the VPN gateway IP is added.
 
 
 
 Thanks for any info
 Ewald

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] server power cycling at very predictable moments

2011-11-04 Thread Volker A. Brandt
Hello Daniel!


 every two weeks at 3:20AM my x2200 powercycles.

Well, that's a tough one. :-)

Have you looked at the BIOS?  You can do strange things there...

Apart from that, your best bet would be to set up auditing and
enable it some 10 minutes before the next shutdown, then try and
find out what the last commands were before the box rebooted.

If you can time it closely enough, a crashdump (i.e. savecore -L)
might also help.


Good luck -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread Harry Putnam
A new install of 151a as virtual guest on win7 OS (with Vbox)

I've enabled time-slider in the gui

All sevices appear to be running:

 # svcs -a |grep 'time-slider\|auto-snap'

  disabled   Oct_29   svc:/application/time-slider/plugin:zfs-send
  disabled   Oct_29   svc:/application/time-slider/plugin:rsync
  online Oct_29   svc:/application/time-slider:default
  online 13:29:51 svc:/system/filesystem/zfs/auto-snapshot:daily
  online 13:30:51 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online 13:31:00 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online 13:31:10 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online 13:31:15 svc:/system/filesystem/zfs/auto-snapshot:weekly

But still no snapshots:

ls /rpool/.zfs/snapshot
nada



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread Jeppe Toustrup
On Fri, Nov 4, 2011 at 23:41, Harry Putnam rea...@newsguy.com wrote:
 A new install of 151a as virtual guest on win7 OS (with Vbox)

 I've enabled time-slider in the gui

 All sevices appear to be running:

  # svcs -a |grep 'time-slider\|auto-snap'

  disabled       Oct_29   svc:/application/time-slider/plugin:zfs-send
  disabled       Oct_29   svc:/application/time-slider/plugin:rsync
  online         Oct_29   svc:/application/time-slider:default
  online         13:29:51 svc:/system/filesystem/zfs/auto-snapshot:daily
  online         13:30:51 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online         13:31:00 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online         13:31:10 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online         13:31:15 svc:/system/filesystem/zfs/auto-snapshot:weekly

 But still no snapshots:

Please see the release notes, the known issues part:
http://wiki.openindiana.org/oi/oi_151a+Release+Notes

--
Venlig hilsen / Kind regards
Jeppe Toustrup (aka. Tenzer)

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenOffice on oi151a

2011-11-04 Thread Daniel Kjar
I have had no problems with the latest oo on an fresh install of 151a.  
On my old update machine with staroffice 9 oo 3.3.0 errors out when I 
try to open it (I believe it was library problems).  Someday I will wipe 
the slate.  Also... crossoveroffice works well and MS office 2003 is 
pretty respectable on my 151a (although I only use it when I have to).



On 11/4/2011 2:56 PM, Gabriele Bulfon wrote:

I could run it under pfexec. Don't know why ld looks for a Linux libc under my 
user

Inviato da iPad

Il giorno 04/nov/2011, alle ore 19:18, Alex Viskovatoffviskovat...@imap.cc  
ha scritto:


On Fri, 2011-11-04 at 18:04 +0100, Gabriele Bulfon wrote:

where would I find the packages of OpenOffice for OpenIndiana?
I installed the Solaris downloadable from openoffice.org

That's interesting. OpenOffice is in http://pkg.openindiana.org/legacy/,
but there it's at 3.1.0, whereas the one at openoffice.org is at 3.3.0.

Given that the effort to port LibreOffice to OpenIndiana has stalled, OI
should provide OpenOffice 3.3.0 (modified to fix the problem you ran
into) in an IPS repo.

I have heard bad things about LibreOffice. OI probably shouldn't bother
with LibreOffice until it gets more manpower.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


--
Dr. Daniel Kjar
Assistant Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar

...humans send their young men to war; ants send their old ladies
-E. O. Wilson


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Zone Privileges for a Normal User

2011-11-04 Thread Deniz Rende
Hello,

I am using openindiana 151a server edition in VirtualBox.

root@oi151a:~# uname -a
SunOS oi151a 5.11 oi_151a i86pc i386 i86pc Solaris

I have the following zones in the system:

root@oi151a:~# zoneadm list -civ
  ID NAME STATUS PATH   BRANDIP

   0 global   running/  ipkg
shared
   1 zdev running/zones/zdevipkg
shared
   2 zdev2running/zones/zdev2   ipkg
shared

I have a user called macuser1 with the following auths and profiles:

macuser1@oi151a:~$ auths
solaris.admin.wusb.read,solaris.device.cdrw,solaris.device.mount.removable,solaris.mail.mailq,solaris.profmgr.read,solaris.zone.login/zdev2,solaris.zone.manage/zdev2


macuser1@oi151a:~$ profiles
Zone Management
ZFS File System Management
Basic Solaris User
All

What I am trying to do is to dedicate the zdev2 zone to the macuser1 but
also let this user to manage it.

I got the first part successfully:

macuser1@oi151a:~$ pfexec zlogin zdev2
[Connected to zone 'zdev2' pts/3]
Last login: Fri Nov  4 17:22:49 on pts/3
OpenIndiana (powered by illumos)SunOS 5.11oi_151aSeptember 2011
root@zdev2:~#

and as intended the user is not able to login to zdev zone:

macuser1@oi151a:~$ pfexec zlogin zdev
zlogin: macuser1 is not authorized  to login to zdev zone.

which is good, but I can't get the user to configure it's own zone, ie:

macuser1@oi151a:~$ pfexec zonecfg -z zdev2
WARNING: you do not have write access to this zone's configuration file;
going into read-only mode.
zonecfg:zdev2exit

which is giving me read-only mode.

How do I let this user to manage ( i,e use zonecfg ) zdev2 zone? I
appreciate the feedback.

Regards,

Deniz Rende


-- 
Deniz Rende
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread Harry Putnam
Jeppe Toustrup openindi...@tenzer.dk writes:

 On Fri, Nov 4, 2011 at 23:41, Harry Putnam rea...@newsguy.com wrote:
 A new install of 151a as virtual guest on win7 OS (with Vbox)

 I've enabled time-slider in the gui

 All sevices appear to be running:

  # svcs -a |grep 'time-slider\|auto-snap'

  disabled       Oct_29   svc:/application/time-slider/plugin:zfs-send
  disabled       Oct_29   svc:/application/time-slider/plugin:rsync
  online         Oct_29   svc:/application/time-slider:default
  online         13:29:51 svc:/system/filesystem/zfs/auto-snapshot:daily
  online         13:30:51 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online         13:31:00 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online         13:31:10 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online         13:31:15 svc:/system/filesystem/zfs/auto-snapshot:weekly

 But still no snapshots:

 Please see the release notes, the known issues part:
 http://wiki.openindiana.org/oi/oi_151a+Release+Notes

Yes, of course but it is also a known issue that many here (or maybe
its more like `some' here) have auto-snapshots working with no
problem.  Maybe someone can tell why it is not for me.

And further isn't that a rather basic thing to not have working?


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Where are my auto snapshots?

2011-11-04 Thread LinuxBSDos.com
 Jeppe Toustrup openindi...@tenzer.dk writes:

 On Fri, Nov 4, 2011 at 23:41, Harry Putnam rea...@newsguy.com wrote:
 A new install of 151a as virtual guest on win7 OS (with Vbox)

 I've enabled time-slider in the gui

 All sevices appear to be running:

  # svcs -a |grep 'time-slider\|auto-snap'

  disabled       Oct_29  
 svc:/application/time-slider/plugin:zfs-send
  disabled       Oct_29   svc:/application/time-slider/plugin:rsync
  online         Oct_29   svc:/application/time-slider:default
  online         13:29:51
 svc:/system/filesystem/zfs/auto-snapshot:daily
  online         13:30:51
 svc:/system/filesystem/zfs/auto-snapshot:frequent
  online         13:31:00
 svc:/system/filesystem/zfs/auto-snapshot:hourly
  online         13:31:10
 svc:/system/filesystem/zfs/auto-snapshot:monthly
  online         13:31:15
 svc:/system/filesystem/zfs/auto-snapshot:weekly

 But still no snapshots:

 Please see the release notes, the known issues part:
 http://wiki.openindiana.org/oi/oi_151a+Release+Notes

 Yes, of course but it is also a known issue that many here (or maybe
 its more like `some' here) have auto-snapshots working with no
 problem.  Maybe someone can tell why it is not for me.

 And further isn't that a rather basic thing to not have working?


On a new installation, it worked for me. You may view some screenshots of
the snapshots as viewed from Nautilus at
http://www.linuxbsdos.com/2011/10/15/openindiana-151a-desktop-review/

Keep in mind that this is beta, so these issues are expected.


--
Fini D.
http://LinuxBSDos.com





___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss