problems getting started on Solaris

From: Erin Charpentier (erinc@navipath.com)
Date: Tue Jan 16 2001 - 11:27:25 MST


Hello,

I am new to polygraph, and unfortunately, the lab I have at my disposal
is entirely Solaris, so I can't run Polygraph on Freebsd. I am
currently running successfully with version 2.2.9, however, I ran into a
problem with the 2.5.4 version that I wanted to share (and fix if
possible).

First, let me say I am running solaris 7, and compiled without errors
using GNU C++. The problem is a clock sync error -

When I run the simple.pg workload for both the server and client on the
same system, I get clock out of sync errors. They appear to be off by 1
hour, but since the client and server are on the same system, obviously
the clocks aren't off. I am wondering if different time functions are
used, and maybe one is implemented differently under solaris than other
unix varieties...

Here are some details from my tests:

  aqua$ sudo src/server/polysrv --config workloads/simple.pg --verb_lvl
5
  aqua$ sudo src/client/polyclt --config workloads/simple.pg --verb_lvl
5

Here are some of the messages from the Client Console. The messages are
frequent in the begining, and then the time between them seems to
double:

000.07| ./CltXact.cc:399: error: 511/511 (272) clocks out of sync
000.07| 979655012.000000 - 979651412.728059 = 59.99min
000.11| ./CltXact.cc:399: error: 1023/1023 (272) clocks out of sync
000.11| 979655014.000000 - 979651414.909415 = 59.98min
000.11| i-dflt 1133 226.60 4 0.00 0 1
000.19| ./CltXact.cc:399: error: 2047/2047 (272) clocks out of sync
000.19| 979655019.000000 - 979651419.749013 = 59.99min
000.20| i-dflt 2203 213.97 4 0.00 0 1
000.28| i-dflt 3397 238.79 4 0.00 0 1
000.33| ./CltXact.cc:399: error: 4095/4095 (272) clocks out of sync
000.33| 979655028.000000 - 979651428.380472 = 59.99min
000.36| i-dflt 4579 236.40 4 0.00 0 1
000.45| i-dflt 5740 232.20 4 0.00 0 1
000.53| i-dflt 6918 235.58 4 0.00 0 1
000.61| i-dflt 8032 222.70 4 0.00 0 1
000.63| ./CltXact.cc:399: error: 8191/8191 (272) clocks out of sync
000.63| 979655046.000000 - 979651446.143533 = 60.00min
^Cgot shutdown signal (2)
000.67| noticed shutdown signal (2)
000.67| resource usage:
        CPU Usage: 10.67sec sys + 13.45sec user = 24.12sec
        Page faults with physical i/o: 128

000.67| fyi: current state (2) stored
000.67| got 8639 xactions and 0 errors
000.67| shutdown reason: got shutdown signal

Thanks,

Erin Charpentier



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:16 MDT