eunsungc / gt6-RAMSES_8_5

Apache License 2.0
1 stars 0 forks source link

end of file error #7

Closed eunsungc closed 8 years ago

eunsungc commented 8 years ago

After adding xdd execution results, errors occur from time to time. Trying to figure out where the bug is: 1) receiver side? 2) sender side?

eunsungc commented 8 years ago

It turns out that bug is on the sender side. Tests: globus-url-copy ftp: to file: --> error globus-url-copy file: to ftp: --> no error

eunsungc commented 8 years ago

debug: starting to get ftp://vm3:50000/mnt/hgfs/SrcRepos/RAMSES-vm/sender/dataset/test145.dat debug: sending command to ftp://vm3:50000/mnt/hgfs/SrcRepos/RAMSES-vm/sender/dataset/test145.dat: RETR /mnt/hgfs/SrcRepos/RAMSES-vm/sender/dataset/test145.dat

debug: fault on connection to ftp://vm3:50000/mnt/hgfs/SrcRepos/RAMSES-vm/sender/dataset/test145.dat: an end-of-file was reached debug: data callback, error an end-of-file was reached, buffer 0x25d3300, length 0, offset=0, eof=true debug: operation complete

error: an end-of-file was reached globus_xio: An end of file occurred

eunsungc commented 8 years ago

From globus_gridftp_server_control.h

/**

eunsungc commented 8 years ago

Related error messages: [33912] Wed Apr 20 08:06:50 2016 :: Forcefully terminating process. SEND stalled after 19 updates.

static void globus_l_gfs_data_watchdog_check( void * arg) { globus_l_gfs_data_session_t * session_handle;

session_handle = (globus_l_gfs_data_session_t *) arg;

if(!session_handle)
{
    globus_gfs_log_message(GLOBUS_GFS_LOG_ERR,
        "Forcefully terminating process.  No exit after session stop.\n");
    exit(1);
}
else if(session_handle->watch)
{
    if(time(NULL) > 
        session_handle->last_active + globus_l_gfs_watchdog_limit)
    {
        globus_gfs_log_message(GLOBUS_GFS_LOG_ERR,
            "Forcefully terminating process.  %s stalled after %"GLOBUS_OFF_T_FORMAT" updates.\n", 
            session_handle->watch_op, session_handle->watch_updates);
        exit(1);
    }
}
eunsungc commented 8 years ago

No error when non-threaded version server is running.

eunsungc commented 8 years ago

Due to assert failure in globus_i_gfs_data_request_send() function.