-
Hello I am Johannes from Kiel, since we have this discussion place here I would like to report about a problem I have with file uploads via the portal. The rodsLog shows me the error: For files smaller than 132120551 Byte the upload works fine. I looked into the file libtcp.cpp and found that the function "tcp_socket_read" returns (bytes_read != sizeof(header_length)) and thus gives out an error. Since the number of 132120551 doesn't ring any bells and I haven't any clue why this happens for certain file sizes , I was wondering if anyone else have seen this behaviour and if yes has a fix for that. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi Johannes, To increase to upload limit in v1.7.x (v1.7.2 already has an increased upload limit of 300MB) changes are needed in several places. In the portal (UtrechtUniversity/yoda-portal-research@c094e6f ) and in the PHP.ini configuration (72a79b6) We have seen similar behaviour when the changes are made in the portal, but not in the PHP.ini configuration. In the upcoming v1.8 release we completely reimplemented the portal upload functionality. The new upload does not have an upload limit and should have the same behaviour as Davrods and the iCommands. |
Beta Was this translation helpful? Give feedback.
-
Hi Lazlo, thanks for the answer. The limit was already set to 300MB at all places you mentioned. I will set it back to 100MB so the user is not wondering about it and the wait for the next release. Thanks for all the work. Nevertheless I'm still super curious why it fails for greater than this exact file size. For failed uploads with sizes below 300MB there are no entries in the logs of the webserver. Thanks again and best regards |
Beta Was this translation helpful? Give feedback.
-
Hi Lazlo, I found the reason for the mysterious behavior .... Thanks for all you work again |
Beta Was this translation helpful? Give feedback.
Hi Lazlo,
I found the reason for the mysterious behavior ....
The memory_limit value in the php.ini was still set to 128M.
After setting it to 300M everything was as expected.
Thanks for all you work again
Johannes