[Info-Ingres] slow terminal monitor startup -
03-21-2011
, 09:25 AM
I have an installation in which terminal monitor has a distinct pause of about 12seconds between starting and displaying a prompt.
I have run a sysmod on iidbdb.
I have confirmed there is no page overflow on iiprotect or iiqrytext.
strace -f sql iidbdb stalls at the poll...
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(50677), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 2147483607) = 1
getpeername(3, {sa_family=AF_INET, sin_port=htons(50677), sin_addr=inet_addr("127.0.0.1")}, [5761845549825261584]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 2147483597) = 1
write(3, "\0\0\0\0l\0\0\0l\0\0\0QRCG\0\0\0\0atlantic.cts".. ., 116) = 116
write(3, "\0\0\0\0\210\0\0\0<\0\0\0\6\0\0\0PACG\0\0\0\0C\0\ 0\0\0"..., 144) = 144
poll(
Does anyone know what its polling for and why it may be waiting?
Martin Bowes |