PxPlus User Forum

Twitter Twitter Twitter

Author Topic: %inomads'upload_file() times out  (Read 1075 times)

pwhirley

  • Member
  • **
  • Posts: 19
    • View Profile
%inomads'upload_file() times out
« on: July 07, 2022, 09:23:09 PM »
Is there a limit to the size file the %inomads'upload_file() function can handle?  I've got my upload working well with small files.  I've tested with 2K file size with success.   The actual files the user will be uploading are generally 22-25MB Excel files.  This does not seem to be a very large file, considering that the upload attempts are either on the same server where EZWEB and iNOMADS are running or are connected with a 300Mb connection.  Whenever I try the larger file it sits for a long time then says that it cannot make a connection.  I then find that EZWEB is no longer running and I have to restart it.
Any idea what might be happening here or where I can begin to look for a cause.  The weird part, to me, is that the issues seems to kill EZWEB.

The server is Windows running PXPlus 2021 Web. 

Thanks!  - Phil
Philip Whirley
Freelance software developer
phil@whirley.org

EVa

  • Gold Member
  • ****
  • Posts: 52
    • View Profile
    • EDIAS
Re: %inomads'upload_file() times out
« Reply #1 on: July 08, 2022, 09:46:01 AM »
You need to set parameter IZ (SET_PARAM 'IZ'=1) in the PxPlus session that is running the EzWeb Server or else it will run out of memory (error 31) and terminate.

pwhirley

  • Member
  • **
  • Posts: 19
    • View Profile
Re: %inomads'upload_file() times out
« Reply #2 on: July 08, 2022, 01:24:25 PM »
Thanks!   This worked.
I put SET_PARAM 'IZ' in my START_UP and it solved the problem.  Is there another place that is preferable to set the parameter?
 - Phil
Philip Whirley
Freelance software developer
phil@whirley.org

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: %inomads'upload_file() times out
« Reply #3 on: July 11, 2022, 09:21:31 AM »
No -- the start_up is fine
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com