Hi,
i'm facing an issue when uploading a big file (here 134GB) on iRODS ressource with a replication.
The upload to the primary server seems to be OK (100% done) but then, an error occurs and the file is not replicated, and is marked as an intermediate state in the catalog.
I'm using the iput (version 4.3.3 client and server) with the -PVTf options.
Here is the error msg of the iput command
```
0/1 - 0.00% of files done 0.000/133900.875 MB - 0.00% of file sizes done
Processing 14368.tar - 133900.875 MB 2025-01-22.09:20:46
From server: NumThreads=4, addr:*****************, port:24025, cookie=1473576768
14368.tar - 40.000/133900.875 MB - 0.03% done 2025-01-22.09:20:48
14368.tar - 240.000/133900.875 MB - 0.18% done 2025-01-22.09:20:50
14368.tar - 360.000/133900.875 MB - 0.27% done 2025-01-22.09:20:52
[...]
14368.tar - 126760.000/133900.875 MB - 94.67% done 2025-01-22.09:46:32
14368.tar - 126835.219/133900.875 MB - 94.72% done 2025-01-22.09:46:34
14368.tar - 133900.875/133900.875 MB - 100.00% done 2025-01-22.09:49:56
ERROR: [-] /irods_source/lib/core/src/procApiRequest.cpp:162:int sendApiRequest(rcComm_t *, int, const void *, const bytesBuf_t *) : status [SYS_HEADER_WRITE_LEN_ERR] errno [] -- message [failed to call 'write body']
[-] /irods_source/lib/core/src/sockComm.cpp:1337:irods::error sendRodsMsg(irods::network_object_ptr, const char *, const bytesBuf_t *, const bytesBuf_t *, const bytesBuf_t *, int, irodsProt_t) : status [SYS_HEADER_WRITE_LEN_ERR] errno [] -- message [failed to call 'write body']
[-] /irods_source/plugins/network/src/ssl.cpp:945:irods::error ssl_send_rods_msg(irods::plugin_context &, const char *, const bytesBuf_t *, const bytesBuf_t *, const bytesBuf_t *, int, irodsProt_t) : status [SYS_HEADER_WRITE_LEN_ERR] errno [] -- message [Write message header failed.]
[-] /irods_source/lib/core/src/sockComm.cpp:587:irods::error writeMsgHeader(irods::network_object_ptr, const msgHeader_t *) : status [SYS_HEADER_WRITE_LEN_ERR] errno [] -- message [Wrote -1 expected -1962934272.]
[-] /irods_source/plugins/network/src/ssl.cpp:889:irods::error ssl_write_msg_header(irods::plugin_context &, const bytesBuf_t *) : status [SYS_HEADER_WRITE_LEN_ERR] errno [] -- message [Wrote -1 expected -1962934272.]
ERROR: putUtil: put error for /FranceGrillesZone/home/4p/qualification/3196/14368.tar, status = -1 status = -1 Unknown iRODS error, Operation not permitted
ERROR: [-] /irods_source/lib/core/src/rcConnect.cpp:284:int rcDisconnect(rcComm_t *) : status [SSL_SHUTDOWN_ERROR] errno [] -- message [failed to call 'client stop']
[-] /irods_source/lib/core/src/sockComm.cpp:129:irods::error sockClientStop(irods::network_object_ptr, rodsEnv *) : status [SSL_SHUTDOWN_ERROR] errno [] -- message [failed to call 'client stop']
[-] /irods_source/plugins/network/src/ssl.cpp:593:irods::error ssl_client_stop(irods::plugin_context &, rodsEnv *) : status [SSL_SHUTDOWN_ERROR] errno [] -- message [error shutting down the SSL connection | error:140E0197:SSL routines:SSL_shutdown:shutdown while in init]
```
Here the result of the ils -L command
```
4p 0 phenome;phenome-random;dc-pole2;dc-idf-irods1b 0 2025-01-22.10:20 ? 14368.tar
generic /mnt/lv0b/home/4p/qualification/3196/14368.tar
```
Have you an idea on how to resolve this issue ?
Thanks you
Best regards,
COLIN Renaud (PHENOME INRAE France)