This is my server configuration:
PHP Version: 7.4
Render: php
Mode: production
Plugin Contributor
Imagely
(@imagely)
Hi @dylanp06,
Could you please let us know how big are the images that’d fail to get successfully uploaded and does it work if you resize them smaller then re-upload?
Hello @imagely , the original image size was 7952×5304.
Some of them can be uploaded with those sizes, but when I want to resize to 1920×1280 it fails.
I tried with Chrome, but on Safari it seems to works a little bit better (however, I still have some error I wrote before).
I have a throttle 30s from server side, when I want to resize them
-
This reply was modified 3 years ago by
dylanp06.
Plugin Contributor
Imagely
(@imagely)
Hi @dylanp06,
7952×5304 is a large size for the server to process ( especially if you use a shared hosting with limited RAM and CPU ). Could you please check the server’s logs to ensure that the server’s RAM doesn’t reach 100% while the uploading process goes?
Hello @imagely, yesterday I had some 500 error, like this:
– “GET /wp-content/gallery/1621/thumbs/thumbs_12.jpg?i=454137442 HTTP/1.1” 500 541 “/wp-admin/admin.php?page=nggallery-manage-gallery&mode=edit&gid=806&_wpnonce=12d7517c90”
– (104)Connection reset by peer: AH10143: FastCGI: comm with server
- AH10149: FastCGI: incomplete headers (0 bytes) received from server
- AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI,
I use WPML Plugin for the translation, and WP-Debug, and I noticed some slow response from their service yesterday on WP-Debug
My hosting have:
– Memory limit: 256M
– Max. memory limit: 512M
– PHP Version : 7.4.33
– “UploadMax”:”128M”
– “PostMax”:”130M”
– Max execution time: 165
– Max input vars: 16000
-
This reply was modified 3 years ago by
dylanp06.
Plugin Contributor
Imagely
(@imagely)
Hi @dylanp06,
This error doesn’t really point to something specific. You can get it related with a bunch of reasons and the starting point would be checking your server’s logs to ensure that the RAM and CPU doesn’t reach 100% usage while the uploading process goes and also double check with the hosting provider to see if PHP GDlibrary can process images of this size.
NextGen’s uploader is complex and it implies lots of background processes such as copying the images as text to your server’s RAM then extracting the metadata, creating at least 2 resized versions out of the original and injecting the metadata into these.
We need to specify that while your PHP parameters for the memory limits and execution time look fine, this doesn’t really have to do with the RAM loading that we have previously recommended to check.
hello
i run a newswebsite (rocknews.ch) and since some time i have the problem that when i create a gallery i suddenly can’t continue. this is also true when i want to select an existing gallery and integrate it into the website. after about half a minute it continues. uploading is no problem. my wp installation is always up to date, i also update the plugin regularly.
hundreds of galleries are hosted on the website, because we as a magazine write about concerts and festivals.
we compress the image files before uploading.