ZIP download trouble

Please tell me if the 8.0.4 server is installed on debian. The problem with downloading ZIP - directories and files of small size are downloaded well, directories larger than 5Mb - the message “Packing… 0%” hangs, sometimes not 0%. So the message hangs. Temporary zip files are created in the httptemp directory well. What settings can I see?