I'm transferring files using http post request from one host to another. Receiving host runs apache with php onboard. The request contains multipart/form-data and is performing by php script (cURL). There are 86 files with total size about 20Mb. The issue is the receiving php script gots empty $_POST array. I reconfigured sending script so it sends the same request in loop but removes one file from data collection on each iteration. When 36 files (total size ~12Mb) are removed the receiving script accepts the data, $_POST variable is populated well. What can be wrong? I've reviewed all resposible php.ini parameters, so they contain reasonable values.
ini_set("post_max_size","510M");
ini_set("memory_limit","400M");
ini_set("upload_max_filesize","510M");
ini_set("max_file_uploads","500");
Is there a way to investigate the reason? I mean, error_log doesn't contain anything useful. Maybe there is another source to see?