On Fri, 13 Apr 2001, Duane Wessels wrote:
> On Fri, 13 Apr 2001, Lynn Scott wrote:
>
> > Dear Sirs,
> >
> > I previous inquired of Alex on using the the --notify option to signal
> > my process when Web Polygraph was complete. Alex mentioned that if
> > properly configured, Polygraph processes quit when the test is over. In
> > doing some testing, I am running polymix-1 on a single workstation with
> > a very small duration expirement.
> >
> > // experiment duration
> > time ExpDur = 1min
> >
> > After the tests complete the server process (polysrv) shutsdown properly
> >
> > 002.22| got 698 xactions and 0 errors
> > 002.22| shutdown reason: all 4 phases met their goals
> >
> > However, the client process continues to run.
> >
> > 002.35| i-cool 870 3.79 45001 100.00 18 28
> > 002.43| i-cool 870 0.20 -1 -1.00 1 27
> > 002.52| i-cool 870 3.19 -1 -1.00 16 11
> > 002.60| i-cool 870 2.00 -1 -1.00 10 1
> > 002.69| i-cool 870 0.00 -1 -1.00 0 1
> > 002.77| i-cool 870 0.00 -1 -1.00 0 1
> > 002.85| i-cool 870 0.20 -1 -1.00 1 0
> >
> > How do I properly configure so that both will shutdown?
>
> You might have to wait just a bit longer. I think the cool phase
> is hard-wired at one minute. Also the cool phase might not exit
> as long as there are outstanding requests (the last column).
Not exactly. There are no hard-wired phases with non-zero minimum
duration in Polygraph. When all _configured_ phases are over and no
client-side idle timeout is specified, polyclt should exit. Polygraph
does have a dummy "cold" phase that starts right after all configured
phases are done, but that phase has no minimum duration and is usually
not even visible.
My guess is that you are using Polygraph version 2.5.4 and you did not
specify idle timeout for the server side. Your servers quit
before clients. Recent polygraph versions synchronize phase schedules,
and when polysrv quits first, that synchronization breaks -- clients
wait for servers to confirm phase change for ever.
The solution is to use "--idle_tout 3min" option (3min can be changed
to something smaller if needed) with polysrv and polysrv only. This
will be the default starting with the next release.
HTH,
Alex.
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:18 MDT