@jack All – It seems you have identified the root cause of your issues with a web host serving 1500 sites from a single server … as it is, what are the server settings you see under Gallery > Overview? We can start there …
– Cais.
Thanks for your quick response Cais.
Below are the setting in Dutch (I suppose you can mp it to English):
Besturingssysteem : Linux (32 Bit)
Server : Apache/2
Geheugen gebruik : 52.15 MByte
MYSQL Versie : 5.1.72
SQL Modus : Niet ingesteld
PHP Versie : 5.3.27
PHP Safe Mode : Uit
PHP Allow URL fopen : Aan
PHP Geheugen Limiet : 256
PHP Max Upload Grootte : 20M
PHP Max Bericht Grootte : 20M
PCRE Backtracking Limiet : 4194304
PHP Max Script Uitvoertijd : 300s
PHP Exif ondersteuning : Ja ( V1.4 )
PHP IPTC ondersteuning : Ja
PHP XML ondersteuning : Ja
Grafische Bibliotheek
GD Version : bundled (2.1.0 compatible)
FreeType Support : Ja
FreeType Linkage : with freetype
T1Lib Support : Nee
GIF Read Support : Ja
GIF Create Support : Ja
JPEG Support : Ja
PNG Support : Ja
WBMP Support : Ja
XPM Support : Nee
XBM Support : Ja
JIS-mapped Japanese Font Support : Nee
@jack All – Those settings appear fine and should be able to handle image uploads without any issues in most cases. How many images are you trying to upload at once? What size are the images that are being uploaded? If you are uploading the full size image (as produced by a DSLR for example) and automatically resizing to the 640px limit you might consider resizing them before uploading instead.
Are you seeing any error messages during upload or in your server’s error_log files?
– Cais.
The galleries contain about 75 pictures per article, size about 80~100k, pixelsize max 800 height or width.
The ngg automatically resize option is switched off.
There are errors in the log. Multiple lines show the following error for every uploaded image, occurring every 2~5 seconds:
[Fri Sep 05 09:34:21 2014] [error] [client x.x.x.x] Attempted to upload image/jpeg., referer: http://www.mydomain.be/wp-admin/admin.php?page=ngg_addgallery
The hosting provider states that their logs show lines proving the overload:
Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
3-161 24741 12/26/22698 W 11.13 5 0 233.2 0.72 361.37 84.198.215.77 www.mydomain.be GET /nextgen-image/2539/120x90x100/crop/5f98c65771988c6c706dfc6
4-161 24677 10/29/21969 W 11.45 2 0 54.2 0.19 336.32 84.198.215.77 www.mydomain.be GET /nextgen-image/2551/120x90x100/crop/86a9bbf2ceb864c2d183800
5-161 - 0/0/21766 . 2.99 16 1761 0.0 0.00 341.10 212.187.120.82 localhost NULL
etc…
They refuse to help me any further with this issue.
I’m sure it is not a client side issue. The homepage shows about 12 thumbnails in the random gallery widget and no other galleries are present on the hompage.
Site runs WP3.9.2 with X-theme and W3TotalCache.
@jack All – Thanks for those details but they really are not pointing to anything that seems directly related to NextGEN Gallery.
Do you still have this issue if you switch to a default WordPress Twenty series theme, clear all of your caches, deactivate W3 Total Cache, remove all if its artifacts (there are generally several) and try again?
It is possible (although unlikely) there is something in the theme (extremely rare) or a W3 Total Cache setting (first thought) that may be creating this issue …
… I also find it troubling that your web host “refuse to help me any further with this issue.”
– Cais.