On Thu 11 Dec 2008 at 11:05AM, Shawn Walker wrote:
> Conclusions
> ===========
> We need your changes for the first case.

Another case, is a depot which is in some pathological other state-- for
example, one which is pstop'd, which is how I tested this.

> However, for the second case there are two things to note:
> 2) if you add "server.shutdown_timeout": 0   to the gconf dict in 
> depot.py just before server.socket_timeout, you'll get a nearly 
> immediate shutdown if there are just idle connections.

I looked at that setting last night, for a while actually.  The default
value of shutdown_timeout is 5 seconds.  Since we set our service timeout
to 30 seconds, and I still see this problem crop up frequently,
essentially I don't believe that changing this from 5 to 0 will have a
material impact on this problem in our production environment.

But, I'll go ahead and do that, as well.

I personally think that CP should have a "hard timeout" for shutdown,
at which point, it actually really truly shuts things down.

> svc-pkg-depot:
>   line 174: you need a line with a leading '#' to match the comment 
> block style

Fixed.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [email protected] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to