November 3, 2019 at 3:16 pm #15593
Our website has developed an issue uploading images, or rather, processing the various sized images with the watermark.
We have the latest version of the plugin installed (2.4.6)
I am seeing this messages in the dashboard:
“There are currently bulk import events in progress”
Even though there are no images being uploaded at the moment.
This is what happens:
Uploaded three photos. The third photo had an error message.
Uploaded that third photo again – it worked.
Uploaded three more photos. All worked.
Uploaded three more photos. No message to say that it had not worked, but…. when I looked at the page, you can see that some of the images are missing:thesportsjournalist.com/photogallery/gallery540/
Plugin Version: 2.4.6
WP Version: 5.2.4
MySQL Version: 5.5.5
WP Table Prefix: wp_
PHP Version: 7.3.11
Session Save Path: /tmp
CURL Library Present: Yes
Debug File Write Permissions: Writable
PHP Version: 7.3.11
PHP Memory Usage: 15.83 MB
PHP Memory Limit: 4096M
PHP Max Upload Size: 4096M
PHP Max Post Size: 4096M
PHP Allow URL fopen: On
PHP Allow URL Include: Off
PHP Display Errors: Off
PHP Max Script Execution Time: 2400 Seconds
What’s going on? We’ve been running all fine for a long time, all of a sudden, this is happening.November 3, 2019 at 4:42 pm #80039
I’ve got an update, a pattern has emerged, this seems to be happening on photos over 5mb.November 4, 2019 at 10:44 pm #80040
That usually means the server’s resources is a little low to be able to handle the processing of the larger photos. Your PHP RAM memory limit looks fine to me. Maybe it is hitting the script processing time limit. Just as a test, can you create a new gallery and use only one or two large photos (instead of many), then let me know if that processing on that completes?November 5, 2019 at 1:42 pm #80041
This problem happens even if only 1 photo over 5mb is uploaded.November 5, 2019 at 2:07 pm #80042
Just to be sure, I’ve tested this myself (as I just took the customers word for it), I uploaded 1 image, which worked, I tried again but the upload stopped around 20%, eventually, I closed the browser and restarted it and logged back in.
A 2nd test uploaded 1 image fine.
I then tried to upload 2 images, the 2nd failed.
When uploading the images, the page does say there is a 4mb limit. Does that help?November 5, 2019 at 2:31 pm #80043
Sorry, the page says the limit is 4gb (not 4mb)November 6, 2019 at 2:12 am #80044
Thank you. This is going to be more of a hosting resource limitation related issue (so the plugin is failing to process a bigger file). Can you please talk to the hosting provider and see if you can get them to allow more power/resources to this site so it can handle the processing of the bigger files?November 7, 2019 at 12:52 pm #80045
My hosting company are asking:
“…Can you please talk to the hosting provider and see if you can get them to allow more power/resources to this site so it can handle the processing of the bigger files?”
Do you think you could find out what in particular they suggest should be increased? At 8gb, there’s more than enough RAM.November 8, 2019 at 2:16 am #80046
The RAM is definitely more than enough. This is something outside the plugin so I can’t really say for sure. I can process multiple 5MG+ photos in a gallery with my site without any issue. So something specific in this site is preventing the operation. Is the PHP script execution time limit a factor on this site?November 8, 2019 at 9:05 am #80047
I don’t think so, max_execution_time is set to 2400November 10, 2019 at 12:36 am #80048
I just can’t think of anything else that can prevent this. Can you check the server for some error_log to see if there is any error log for when the operation fails? The server’s error_log will contain more specific info as to why the process failed. Then we may have a better idea of what is causing it.November 11, 2019 at 11:18 am #80049PeterMember
Have you checked your site’s PHP error log file?
There might be something useful in there which could shed more light on your issue.
- You must be logged in to reply to this topic.