Submitting job to the server failed

Dear All
I was trying to run a script on the server, however, I failed. I either got the ""Error communicating with server gateway. Code 133. Description: Failure in writing file to gateway" message, or only part of the trajectory was submitted to the server ( the number of frame indicated the pl.out file was less than the total number of the trajectory). I thought it might due to the size of the trajectory (about 20GB), but I was able to run scripts on the server on trajectories which was bigger than 20GB. Does anyone have idea how to solve this? Thank you very much!

Regards,
Jingjing