-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long Delay and Errors #75
Comments
Did you have similar problems prior to 1.7? |
What image manipulation method do you use? (GD, ImageMagick, Gmagick) |
Is that listed in the admin panel somewhere? |
Yes, sorry I was looking for something more specific. Under Prerequisites it says I have both GD and ImageMagick installed. The error I mentioned at the top is in the Imagick directory, so I'm just guessing it's not GD. |
The error seems to be related to Imagick: |
Ok right, so everything looks good there. Imagemagick is the best choice. Probably then the server resources (CPU, RAM) are not sufficient to resize images fast enough. |
i3-7100U with 8 GB. It's not expensive, but it's a dedicated server. Generally no more than 1 or 2 users logged in. And I'm not getting any memory errors from PHP. |
Hmm thats strange, can you try to increase the max. execution time? |
I could do that, but I'm never going to wait 30 seconds for a page load. Is this script processing thumbnails and caching them? Is there a way to make it happen asynchronously instead of waiting for the entire gallery to regenerate in Imagick? |
Also, is there a simple way to switch to GD to see if it runs faster? |
Normally thumbnails are only created new images and only once. There is currently no console option. You need to disable the Imagick Extension. But I think this is the fastes one. |
Going to check if any galleries won't load after repeat attempts. Some of the smaller ~40 photo galleries still show some placeholder thumbnails on the first attempt but then load fine on the second try. No new errors yet. |
Looks like everything is back to normal after clicking around more. I wonder if this kind of gallery regeneration would be better experienced as a cron task? Something that could be batched during idle time and work itself out over a day or two instead of just being semi-broken until enough people click on it. |
When I look at the gallery grid in my profile and click on one of them to open the photo grid, there is a delay of several seconds where it looks like nothing is happening. If I click and then just wait about 10 seconds, sometimes it will open and sometimes it will do nothing at all. Occasionally it will say "An internal server error occurred." Some of my galleries are now unavailable as a result.
I'm using Chrome for Windows, HumHub 1.7.1, and Gallery 1.2.2.
This looks relevant:
The text was updated successfully, but these errors were encountered: