laravel-chunk-upload icon indicating copy to clipboard operation
laravel-chunk-upload copied to clipboard

When merging files my server API stop working

Open awnigharbia opened this issue 1 year ago • 4 comments

When my server is merging chunks the api is stop working and other functionality as well, May I know why? Can anyone help me through this?

awnigharbia avatar May 21 '23 06:05 awnigharbia

Any idea?

awnigharbia avatar May 22 '23 14:05 awnigharbia

  • How are you running your environment? is is dev / production?
  • Merging can be quite resource intensive, maybe your environment is not strong enought? What is your CPU/memory doing?

pionl avatar Jun 08 '23 15:06 pionl

I am using shared hosting from Hostinger, with the heighest plan, I think 12 GB RAM/8 core CPU, How the enciroment can affect the process ?

awnigharbia avatar Jun 08 '23 16:06 awnigharbia

A lot of stuff can happen, depends how big files you are working with, how many chunks are merging. How the server is utilized, etc. You should check logs if there is more info. At this moment Im unable to help you. Could be a timeout on the API. If I understand you correctly, that the server crashes?

pionl avatar Jun 09 '23 09:06 pionl