Jump to content

upload files error


Didier
 Share

Recommended Posts

it's not the file name the problem.
if i rename my file in "toto.zip", it's the same problem

Maybe apach serveur ?

I put LimitRequestBody 314572800 (300Mo)

This morning i could upload one time my file (on about 20 try ...).

memory on my serveur increase but stay at 50%. It's not this.

it's only on big files.

I use your TUniFileUploadButton

Link to comment
Share on other sites

  • 6 months later...

hi ,

i work with @Didier

i have more information :

we use hyperserver with apache.

when the problem appear in our app there is an message in log file of hyperserver dll

hyperserver.dll: 000011F4: 11:19:27 [TUniHyperServer.HandleHTTPRequest(), Node:[3]]:Out of memory
hyperserver.dll: 000011F4: 11:19:27 [HttpExtensionProc[185.182.168.43]]:EOutOfMemory : Out of memory : Addr: $01A1D146

we have got 8Go of RAMon the server ,and we used only 25% of RAM

Link to comment
Share on other sites

yes i know , yes it is a 32 bits app but we are far from this limit.

and the message is not in our app but in the hyperserver log. we use apache 32 bits and hyperserver 32 bits.

if we were near the limit of 2Gb, i think i'll try use apache and hyperserver 64 bits but it seems we are far this limit.

Link to comment
Share on other sites

i continue investigation for trying reproduce the problem.

on our test server where i am am alone :

i send with multiupload  5 * files 212Mo : ok

i open 2 session and on each session i send with multiupload 5 * files 212Mo : KO submitFile(): expected expression, got '<' in console

i open 2 session and on each session i send with multiupload 5 * files 90 Mo : OK

i open 2 session and on each session i send with multiupload 5 * files 120 Mo : OK

i open 2 session and on first session 5 * files 120 Mo and on second session 5 * files 212Mo : OK

i retry with 2 session with 5*212Mo : KO

image.png.c23e765a2dcbc15f213c9964c54aff51.png

image.png.a3831729f3acf3d3695ac26a385df5bb.png

it not seems have memory leak, the memory before test and after test are the same

Like you could see we are far from 2Gb

One of problem, if you send a file with size 200 Mo the memory used in ressource have a peak to 400Mo . it would be better if the upload was done by packet with unigui upload component. Without this upload by packet i can't have many session that can upload simultaneously

 

Have you got an idea for fixi this problem ?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...