General Discussion & News - Upload timeouts and script execution errors during heavy multitasking

Message
Author
vivian77845
Posts: 1
Joined: May 09, 2026 11:30 pm

Upload timeouts and script execution errors during heavy multitasking

#1 Postby vivian77845 » May 09, 2026 11:41 pm

Hi everyone,

I’ve been using the XFileSharing script for my file hosting project, and while it generally handles high traffic well, I’ve hit a technical snag regarding upload stability when my local environment is under heavy load.

I’ve noticed that whenever my system is under significant resource pressure—specifically when I’m running several background automation scripts or trying to play game sessions through an executor to test multi-threading performance—the file upload progress on my Sibsoft-powered site often stalls at 99%. The most frustrating part is that I frequently hit "CGI Timeout" or "Internal Server Error" messages during the file assembly phase. While discussing these bottlenecks with a few other developers, it seemed like the browser’s main thread was being deprioritized, causing the AJAX heartbeat to the upload script to drop during these high-concurrency spikes.

Has anyone else noticed their uploads hitting silent connection timeouts or failing to trigger the post-upload redirect if there are other high-performance tasks running in the background? I’m also seeing occasional "Socket closed" errors in the server logs when the system is under load, which makes me think the network stack is struggling to keep the connection alive alongside the background processes.

I’m trying to figure out if there’s a way to make the upload session more resilient—perhaps by increasing the max_execution_time in the perl/cgi settings or if I should look into a more aggressive buffer size for the file chunks to ensure the UI remains fluid in "noisy" multitasking environments. If you’ve dealt with stabilizing your file hosting workflow while multitasking heavily, I’d really value your advice!

Best regards!