Hello,
New to Lucee coming over from ACF 2016.
File Uploads to Lucee/Tomcat are taking a Ridiculous amount of time.
I’ve tested using 2 different machines. 1 is my local machine and the 2nd is a remote server up on the web both running basically the same setup.
Machine 1 : Local Desktop : Win10 AMD
- Win10/IIS : Adobe CF 2016
- Virtual Machine WinServer 2016: Lucee : lucee-5.3.8.189
Machine 2 : Bare Metal Rack Server : Win 2016 Server Intel
- WinServer 2016/IIS : Lucee/Tomcat : lucee-5.3.8.189
I have traced/isolated the problem to Lucee/Tomcat. Using a very basic form file upload to : Function : FileUpload
- Uploading a 10-Megabyte file to ACF-2016 takes less than 1 second
- The same 10-Megabyte file uploaded to Lucee/Tomcat takes about 30-40 seconds.
Larger files up to 80MB
- ACF-2016 : about 3 seconds (basically the Transfer/Write Time)
- Lucee/Tomcat : 2+ Minutes
- I’m sure it’s Not a network issue
- Disk Read/Write is also Not an issue (Tested copying a 110MB file on the VM)
I have been up and down google and the lucee support forums for 2 days straight (searching for at least 12 hours total before posting this - I Did Try). The only thing that seems remotely close to being the bottle neck is possible virus scanning of files uploaded to Lucee/Tomcat. However, when uploading an 80MB file there is no change in CPU Load (it’s flatline like 2% idle) and I would think that virus scanning would hit the CPU and be noticed.
So it feels like a bottle neck in the Lucee to Tomcat Connection. Or something with Tomcat. I searched google extensively on Tomcat upload issues Not related to Lucee and that is where people talked about virus scanning file uploads. But as mentioned I find that unlikely due the 0-Zero change in CPU Load when uploading a file to Lucee/Tomcat.
I started out using lucee-5.3.7.47 and moved up to lucee-5.3.8.193
- No Change
Any help would be great… Very Frustrating
Many Thanks!
OS: Windows 2016
Java Version: ??
Tomcat Version: 9
Lucee Version: Tested from lucee-5.3.7.47 up to lucee-5.3.8.193