Skip to content

Instantly share code, notes, and snippets.

@beheerderdag
Created January 24, 2018 08:59
Show Gist options
  • Save beheerderdag/a00defb179eeeab14e63064c45115c40 to your computer and use it in GitHub Desktop.
Save beheerderdag/a00defb179eeeab14e63064c45115c40 to your computer and use it in GitHub Desktop.
irods failure
Create a 5GB test file:
$ dd if=/dev/zero of=maketest.dat bs=1M count=5001
5001+0 records in
5001+0 records out
5243928576 bytes (5.2 GB) copied, 4.40052 s, 1.2 GB/s
upload with verbose and progress option when the upload starts after 10% or so stop irods (have another windown open)
rods$ sleep 5; iput -kvP maketest.dat
0/1 - 0.00% of files done 0.000/5000.886 MB - 0.00% of file sizes done
Processing maketest.dat - 5000.886 MB 2018-01-24.09:57:28
maketest.dat - 79.998/5000.886 MB - 1.60% done 2018-01-24.09:57:28
maketest.dat - 199.995/5000.886 MB - 4.00% done 2018-01-24.09:57:28
maketest.dat - 319.993/5000.886 MB - 6.40% done 2018-01-24.09:57:28
maketest.dat - 439.990/5000.886 MB - 8.80% done 2018-01-24.09:57:28
maketest.dat - 559.987/5000.886 MB - 11.20% done 2018-01-24.09:57:29
maketest.dat - 679.984/5000.886 MB - 13.60% done 2018-01-24.09:57:29
maketest.dat - 2897.621/5000.886 MB - 57.94% done 2018-01-24.09:57:32
maketest.dat - 3010.181/5000.886 MB - 60.19% done 2018-01-24.09:57:32
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 262144, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 1998848, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 458752, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcvTranHeader: toread = 24, read = 0
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: rcvTranHeader: toread = 24, read = 0
ERROR: rcPartialDataPut: toWrite 4194304, bytesWritten 425984, errno = 104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: [-] iRODS/lib/core/src/procApiRequest.cpp:176:sendApiRequest : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:1394:sendRodsMsg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [failed to call 'write body']
[-] libtcp.cpp:420:tcp_send_rods_msg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [writeMsgHeader failed]
[-] iRODS/lib/core/src/sockComm.cpp:473:writeMsgHeader : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] libtcp.cpp:358:tcp_write_msg_header : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [wrote 0 expected 139]
ERROR: [-] iRODS/lib/core/src/procApiRequest.cpp:266:readAndProcApiReply : status [SYS_HEADER_READ_LEN_ERR] errno [Broken pipe] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:199:readMsgHeader : status [SYS_HEADER_READ_LEN_ERR] errno [Broken pipe] -- message [failed to call 'read header']
[-] libtcp.cpp:240:tcp_read_msg_header : status [SYS_HEADER_READ_LEN_ERR] errno [Broken pipe] -- message [read 0 expected 4]
ERROR: putUtil: put error for /SURFsaraTest01/home/rods/maketest.dat, status = -27104 status = -27104 SYS_COPY_LEN_ERR, Connection reset by peer
ERROR: [-] iRODS/lib/core/src/rcConnect.cpp:269:rcDisconnect : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] iRODS/lib/core/src/sockComm.cpp:1394:sendRodsMsg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [failed to call 'write body']
[-] libtcp.cpp:420:tcp_send_rods_msg : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [writeMsgHeader failed]
[-] iRODS/lib/core/src/sockComm.cpp:473:writeMsgHeader : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message []
[-] libtcp.cpp:341:tcp_write_msg_header : status [SYS_HEADER_WRITE_LEN_ERR] errno [Broken pipe] -- message [wrote 0 expected -1946157056]
Start the service back up
then see there is a file but it is zero byte.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment