Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
AlexWright Posted December 6, 2020 Posted December 6, 2020 Is there a way to run the background processes at server level? Run Manually takes too long to start and runs into a php limit. We're moving about 152,000 image files from the s3 back onto the server. Any help appreciated! Thanks, Alex
Nathan Explosion Posted December 6, 2020 Posted December 6, 2020 Set up a CRON job, as per settings in the ACP
AlexWright Posted December 6, 2020 Author Posted December 6, 2020 20 minutes ago, Nathan Explosion said: Set up a CRON job, as per settings in the ACP The problem is the cron job just isn't fast enough. We're already using CRON to run tasks, which includes the Queue task, which handles the background processes. I'm wondering if there's a way to speed this up without using the web interface's Run Manually.
VR6Pete Posted December 6, 2020 Posted December 6, 2020 What’s the reason for moving them back to local server storage ?
AlexWright Posted December 7, 2020 Author Posted December 7, 2020 5 hours ago, VR6Pete said: What’s the reason for moving them back to local server storage ? Conversion to XenForo. Which, unfortunately, requires the files to be localhosted. VR6Pete 1
VR6Pete Posted December 7, 2020 Posted December 7, 2020 6 hours ago, AlexWright said: Conversion to XenForo. Which, unfortunately, requires the files to be localhosted. ahhh I see - Yes I had same issue as you with PHP memory being exhausted when running the job manually (moving localhost > S3) and I was able to set PHP limit to 512MB and completed pretty quickly after that.
AlexWright Posted December 7, 2020 Author Posted December 7, 2020 5 hours ago, VR6Pete said: ahhh I see - Yes I had same issue as you with PHP memory being exhausted when running the job manually (moving localhost > S3) and I was able to set PHP limit to 512MB and completed pretty quickly after that. Yeah. Turned out not to matter anyways. Not enough space on the server. Invision's ACP showed 212 GB of space used for gallery...really it's more like 800 GB with the double copies of every item (small and large version plus original). I'm still wondering why the Invision widget showed total of 212 GB of gallery disk space, unless that's just originals? Seems kind of pointless to list just that if in fact the size is much larger.
Recommended Posts