Title: Overloading host when uploading galleries
Last modified: August 22, 2016

---

# Overloading host when uploading galleries

 *  [Jack All](https://wordpress.org/support/users/jack-all/)
 * (@jack-all)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/)
 * When uploading multiple images to the nextgen galleries, it seems I am overloading
   the server from my hosting provider (shared hosting ~1500 web sites hosted on
   a single 8 core server). He once set my site on suspended when I was uploading
   images.
 * I know overloading has been an issue in the past, but I can not find anything
   about it in the changelogs of the last versions.
 * What can I do about this?
    The published images height or width will never need
   to be larger than 640 pixels. Can I set this to prevent overload?
 * I’m able to edit php scripts, only need to know where i’d best change it.
 * Other ideas also very welcome.
 * Regards,
    Jack

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311311)
 * [@jack](https://wordpress.org/support/users/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.
 *  Thread Starter [Jack All](https://wordpress.org/support/users/jack-all/)
 * (@jack-all)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311351)
 * 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
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311357)
 * [@jack](https://wordpress.org/support/users/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.
 *  Thread Starter [Jack All](https://wordpress.org/support/users/jack-all/)
 * (@jack-all)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311405)
 * 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.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311453)
 * [@jack](https://wordpress.org/support/users/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.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Overloading host when uploading galleries’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [overload](https://wordpress.org/support/topic-tag/overload/)

 * 5 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/overloading-host-when-uploading-galleries/#post-5311453)
 * Status: not resolved