Whenever we upload a large package (~10GB+) via the web interface (we've stopped using casper admin) that is above a certain size, we have issues in the replication process between the JSS and the JDS.
The upload looks to have completed successfully, but upon looking in the JDS share directory, it never arrives.
The mysql database is holding the package in the downloadable_file_chunk_data.MYD table, which has grown to 30GB.
The problem seems to be that when the JDS checks in to replicate the package to the JDS share directory, it encounters an error in pulling it down:
2014-08-07 10:52:07,970 INFO Collecting inventory...
2014-08-07 10:52:08,382 INFO Sending inventory
2014-08-07 10:52:08,888 INFO Finished policies
2014-08-07 10:55:01,729 INFO Checking for policies...
2014-08-07 10:55:03,206 INFO Received 3 responses.
2014-08-07 10:55:03,206 INFO Adding package "Base-10-9-4.dmg" for download
2014-08-07 10:55:03,207 INFO Adding package "tmp-testingonly-nukeme.dmg" for download
2014-08-07 10:55:03,217 INFO Downloading package "Base-10-9-4.dmg"
2014-08-07 10:56:02,771 ERROR Failed to download package "Base-10-9-4.dmg"
2014-08-07 10:56:02,772 ERROR (23, 'Failed writing body (2073 != 8999)')
Traceback (most recent call last):
File "<string>", line 781, in download
error: (23, 'Failed writing body (2073 != 8999)')
the servers are both running on RHEL 6.5