> Can you post from your php.ini what you did set for the following
> values?

php.ini:

upload_max_filesize = 4096M
post_max_size = 4096M
memory_limit = 256M
max_execution_time = 300

httpd.conf:

connection {
    max request body 4294967296  # 4096M
}

I'm able to reproduce the problem locally with identical setup.
Transfer is then a matter of seconds and timeout should not be an issue.
Uploading a 3000M file with increased login.conf limits succeeds, 
but sometimes results in very high memory consumption first by relayd
and then followed by httpd, as observed with top:

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
56119 _relayd    2    0 8198M 7117M sleep/1   kqread    0:20 25.78% relayd
15048 www        2    0 4101M 4105M sleep/3   kqread    0:32 24.71% httpd

As mentioned, other times relayd's memory usage just remains low (few Mb) 
while the data is passed on to varnish/httpd (which does have increased 
memory usage while flushing the data to disk)

Kind regards,
Erwin


Reply via email to