I'm confused. One of our DBAs is reporting an issue with LDAP connection errors. I figured I'd start tracing that from truss to see exactly what it's connecting to, but what I'm seeing makes no sense to me.
This is the full extract from the truss output regarding file descriptor 35:
# grep 35 /tmp/11834.2.truss | grep -v write.33
/3: read(35, " 0", 1) = 1
/3: read(35, "\f", 1) = 1
/3: read(35, "020101 `0702010304\080\0", 12) = 12
/9: write(35, " 084\0\0\010020101 a84\0".., 22) = 22
/3: read(35, " 0", 1) = 1
/3: read(35, "81", 1) = 1
/3: read(35, "9E", 1) = 1
/3: read(35, "020102 c819804 : c n = a".., 158) = 158
/9: write(35, " 084\0\001 8020102 d84\0".., 340) = 340
/3: read(35, " 0", 1) = 1
/3: read(35, "05", 1) = 1
/3: read(35, "020103 B\0", 5) = 5
/3: close(35) = 0
/6: read(35, " 0", 1) = 1
/6: read(35, "\f", 1) = 1
/6: read(35, "020101 `0702010304\080\0", 12) = 12
/8: write(35, " 084\0\0\010020101 a84\0".., 22) = 22
/6: read(35, " 0", 1) = 1
/6: read(35, "81", 1) = 1
/6: read(35, "98", 1) = 1
/6: read(35, "020102 c819204 4 c n = M".., 152) = 152
/9: write(35, " 084\0\001 @020102 d84\0".., 348) = 348
/6: read(35, " 0", 1) = 1
/6: read(35, "05", 1) = 1
/6: read(35, "020103 B\0", 5) = 5
/6: close(35) = 0
/6: read(35, 0x7FFFEFB4FFB4B, 1) Err#131 ECONNRESET
/6: close(35) = 0
/6: read(35, " 0", 1) = 1
/6: read(35, "\f", 1) = 1
/6: read(35, "020101 `0702010304\080\0", 12) = 12
/8: write(35, " 084\0\0\010020101 a84\0".., 22) = 22
/6: read(35, " 0", 1) = 1
/6: read(35, "81", 1) = 1
/6: read(35, "A3", 1) = 1
/6: read(35, "020102 c819D04 ? c n = a".., 163) = 163
/8: write(35, " 084\0\001 B020102 d84\0".., 350) = 350
/6: read(35, " 0", 1) = 1
/6: read(35, "05", 1) = 1
/6: read(35, "020103 B\0", 5) = 5
/6: close(35) = 0
If I run pfiles on the process during this time, FD35 is never seen. And from what I can tell in the truss output, it's never opened, yet it's read from, written to, and closed twice during this trace, and it continues to be used afterwards. I'd like to know what it's talking to in order to run a network trace...
Has anyone seen anything like this behaviour before and could help explain it? Must admit, the company policy of "if it ain't broke, don't patch it" might be coming into play here...
Any info much appreciated.