Hi David, thanks for your response… I had to wait for the issue occured again.
SO RHEL 7
This time I got the output from both the strace command and the java and ontape process, and found very interesting things:
informix 18528 18511 0 Feb18 ? 00:00:56 java -jar /informix/informix/bin/ifxbkpcloud.jar BACKUP_FILE amazon https://bucket1.s3.amazonaws.com /logs/server_10_Log0000014249
ids>strace -p 18528
Process 18528 attached
futex(0x7ff0f60989d0, FUTEX_WAIT, 18529, NULL
If I type ps -efL|grep /informix/informix/bin/ifxbkpcloud.jar
I found several threads for the java class.
informix 18528 18511 18528 0 57 Feb18 ? 00:00:00 java -jar /informix/informix/bin/ifxbkpcloud.jar BACKUP_FILE amazon https://bucket1.s3.amazonaws.com /LOGS/server_10_Log0000014249
….
To
informix 18528 18511 18585 0 57 Feb18 ? 00:00:00 java -jar /informix/informix/bin/ifxbkpcloud.jar BACKUP_FILE amazon https://bucket1.s3.amazonaws.com /LOGS/server_10_Log0000014249
From PID 18530 to 18585 in state FUTEX_WAIT_PRIVATE
ids>strace -p 18585
Process 18585 attached
futex(0x7fefcc017674, FUTEX_WAIT_PRIVATE, 1, NULL^CProcess 18585 detached
<detached ...>
But, for process 18529
ids>strace -p 18529
Process 18529 attached
restart_syscall(<... resuming interrupted call ...>) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ff0ec009a54, FUTEX_WAIT_BITSET_PRIVATE, 1, {63354707, 978830382}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ff0ec009a54, FUTEX_WAIT_BITSET_PRIVATE, 1, {63354709, 979094256}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ff0ec009a54, FUTEX_WAIT_BITSET_PRIVATE, 1, {63354711, 979290151}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ff0ec009a54, FUTEX_WAIT_BITSET_PRIVATE, 1, {63354713, 979555340}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ff0ec009a54, FUTEX_WAIT_BITSET_PRIVATE, 1, {63354715, 979849831}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ff0ec009a28, FUTEX_WAKE_PRIVATE, 1) = 0
So .. I am stucked now in the ETIMEDOUT state… the keep alive option in sqlhosts relief something?.
Greetings
------------------------------
Jessica Flores
------------------------------
Original Message:
Sent: Tue February 02, 2021 11:43 AM
From: David Williams
Subject: ifxbkpcloud.jar stucked
Which OS Platform?
Try lsof on the backup process, does it use tcp sockets to communicate with the remote aws service? if so then configure keepalive to detect dead connections if possible.
Also if it is using TCP/IP why does the socket not get closed on network failure?
Try running onstat -g ath and onstat -g tpf and see if the arcbackup threads are doing reads/writes.
You may also need to run strace on the ontape or backup process to see where it is geting stuck.
Regards,
David.
------------------------------
David Williams
------------------------------