aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

uploading a pdf file takes a long time

Open alexeyshishkin01 opened this issue 11 months ago • 4 comments

Dear all,

I have created a Workspace with all default settings and tried to upload a pdf file of ~54 MB (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-ug.pdf)

The uploading task is not finished since then and is still running (around 4 hours already).

Is it normal behavior ? If not, what is the way to troubleshoot such issues ?

best regards Alexey Shishkin

alexeyshishkin01 avatar Mar 05 '24 14:03 alexeyshishkin01

Now it's 6 hours of uploading the 54 MB pdf file. It looks like there is an issue with this process. I tried both Aurora and OpenSearch as engines - but the result is the similar - the uploading process seems to hang.

alexeyshishkin01 avatar Mar 05 '24 16:03 alexeyshishkin01

Another example is uploading a 12 MB pdf-file https://docs.aws.amazon.com/dms/latest/userguide/dms-ug.pdf took me 22 minutes, so around 9,3 KB (kilobyte) per second. Is such speed expected ?

alexeyshishkin01 avatar Mar 07 '24 12:03 alexeyshishkin01

Hi Alexey, please share more setup details to resolve the slow PDF upload. Have you tried another network? Are other PDFs also slow or just those two? Any errors or logs that explain hanging uploads?

You linked full DMS and RDS guides. Were those example PDFs or relevant to the issue?

ystoneman avatar Apr 13 '24 15:04 ystoneman

my answers to the questions:

  • 'please share more setup details' - the setup is simple to reproduce: RAG-engine is Aurora, all options are by default
  • 'Have you tried another network ?' - what network do you mean ?
  • 'Are other PDFs also slow or just those two' - I did not try other files so far. I try to upload bigger files not exceeding the limit (100MB). Is it possible for you to follow my steps ?
  • 'any errors or logs that explain hanging uploads ?' - UI doesn't provide any errors, pls. let me know where the logs are located ?
  • 'You linked full DMS and RDS guides. Were those example PDFs or relevant to the issue?' - could you pls. clarify your question ?

alexeyshishkin01 avatar Apr 15 '24 07:04 alexeyshishkin01

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jun 15 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Jul 15 '24 01:07 github-actions[bot]