[zones-discuss] How to start processes in non-global zone by a GZ process?

2006-12-27 Thread Ian McGlothlin
I am looking for an efficient way to have a GZ process start a process in a 
zone, specifically a labeled zone in Trusted Extensions. The only thing that I 
can find so far that even comes close is using zlogin in the non-interactive 
mode. Is there a way to do this with utilizing a fork(), exec() or something 
like it?

I am trying to replace a Trusted Solaris 8 setcmwplabel() call, which was 
utilized to change a processes run label after a call to fork().
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zone to zone networking slow!!

2006-12-27 Thread Steffen Weiberle

Hi Gino,

Is it possible that UNIX sockets are being used instead of INET? That would eliminate the TCP and IP 
protocol processing down and up the stack required for IPC. X Windowing System does that--if the 
client and server are co-located, they don't create IP connections. With the web and DB servers in 
different zones, they must use IP.


You can check by seeing how many network connections via netstat or they type of connections via 
pfiles (the peername: would show AF_UNIX instead of AF_INET[6]).


Steffen

Gino Ruopolo wrote On 12/27/06 13:13,:

Hi all,

S10u2, 2 zones.
Zone A:  higly optimized Apache+PHP serving about 1000 concurrent users
Zone B:  MySQL database

We found that just moving the MySQL database from zone B to zone A reduce the 
load of about 20% (system %cpu)!!

Why zones introduce so high overhead??

thanks,
Gino
 
 
This message posted from opensolaris.org

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

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