Replies: 3 comments 1 reply
-
Partially tracked this down ... Issues were:
I'm still tweaking 2 so that I can get it to fully run, but at least it's getting through part of the processing now. |
Beta Was this translation helpful? Give feedback.
-
Hi Chris, this makes sense as (as far as I know) files are being stored in memory when being up- or downloaded. So you need to assign enough memory to in order make this work. I’ve had a similar situation where we wanted users to download files (same principal applies) in excess of 2GB and we immediately ran into memory issues. You should be able to track these issues in the server log though, as memory issues normally will be reported in the server logfiles.
Best regards,
Erik van Doorne
… Op 15 okt. 2021, om 04:51 heeft Chris Paschen ***@***.***> het volgende geschreven:
Partially tracked this down ...
Issues were:
Improper access settings on the component's /media folder, was blocking ability to write files there
Server memory and file size uploads (and processing time) - only 3 files but they are pretty huge, so had to increase both length of time to process and available memory size.
I'm still tweaking 2 so that I can get it to fully run, but at least it's getting through part of the processing now.
(Hopefully I won't have to add more memory to the server just to run this component).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#818 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGHG3FI2QOQX2XBURJOU4QLUG6JMVANCNFSM5GAXPI4A>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Erik, Our process runs once a week and otherwise the site needs very little resources for 'every day' functionality. So we're considering re-writing the code to run locally (do all 'processing offline') and possibly upload it in batches. |
Beta Was this translation helpful? Give feedback.
-
I'm developing a rather simple component, but running into a VERY weird problem.
It has a form that allows 3 files to be uploaded.
After the files are uploaded (postSaveHook), the files are processed via a custom function in the main component helper file.
That's it (so far); however, when I run it on my local development environment (J3.10 with JCB on WAMP), everything runs fine.
But when I compile and install on my live server, I can open and complete the form, but after pressing the Save & Close button it just processes for a bit and then returns to the component dashboard. Nothing is saved in the component's database. No errors in the log file.
Absolutely nothing.
I have custom save code added to the model file; however, it doesn't appear that code is even being called
I've completely commented out the functioning from the controller's postSaveHook function area (i.e. links to my function in the helper), as well as all modifications in the model's save function and still nothing is saved, not even a blank record. And no errors either (on screen or in the log file).
I am testing with a SuperUser account so access should not be an issue.
It's like the model/controller for this view aren't being called - but this problem is only happening on the live site, not on the local dev site.
(And I've confirmed that I'm working with the proper component admin views.)
I've never had this happen with a JCB coponent.
I do have other (commercial) extensions installed on this site (same on local dev version as well as live site) and those extensions are all working fine.
Anyone ever had this happen or have any other ideas on tracking down what the issue is?
Beta Was this translation helpful? Give feedback.
All reactions