Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 23:38

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: TWG on home server slow
PostPosted: 25. Mar 2013, 18:12 
Offline

Joined: 25. Mar 2013, 18:05
Posts: 3
I have nginx running on ubuntu 12.04 on a local server. My page load times are really slow. Is there any way I can speed this up? I am just testing right now, I plan to notify my users when everything is up and running (read: family).

I have wandered through the FAQs and howtos, and changed some settings, netting a slight speed increase. But not really where I want it to be.

Is there a 'detailed' configuration write-up on the options available, their settings, and what they do?

I can supply the url, and my config files if requested


Top
 Profile  
 
PostPosted: 25. Mar 2013, 20:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
There is a howto about optimizing TWG for speed. But you could provide some more details like how many images/folder you have and so on...

Best, Michael


Top
 Profile  
 
PostPosted: 26. Mar 2013, 04:57 
Offline

Joined: 25. Mar 2013, 18:05
Posts: 3
Currently, it is browsing through my entire photo collection. BUT, I am going to strip alot of them out when I actually publish the site.
The entire structure is only 2 or 3 folders deep.
Folder stats as reported by windoze: 4,569 Files, 69 Folders = 13.1Gb on disk.

My configuration is as follows:
TWG installation check for TWG 1.8.9
PHP version >= 4.3.0 Yes (5.3.10-1ubuntu3.6)
- XML support Available
- GD lib support Available
- GD lib >= 2.0 Yes (2.0)
- imagecreatetruecolor Available
- Memory limit Very Good (128M)
- Max resolution ~ 5089 x 3821
- Rotate available Available
- Text watermark Available
- Remote jpg support Available
- File Uploads Available
- Upload max filesize 32M (howto)
Session Available
- session.save_path /var/lib/php5
Javascript Available
fsockopen (howto) Available
Image Magick Support Available
ffmpeg Support Available
ffmpeg video convert Available


Directory and File Permissions
cache/ Writeable
counter/ Writeable
xml/ Writeable
admin/_config/.htusers.php Writeable
TWG folder Writeable
config.php Unwriteable
my_config.php Writeable
my_style.css Writeable
Recomended Settings
Directive Recommended Actual
Safe Mode: OFF: OFF
Display Errors: ON: OFF
File Uploads: ON: ON
Magic Quotes GPC: ON: OFF
Magic Quotes Runtime: OFF: OFF
Register Globals: ON/OFF: OFF
Output Buffering: OFF: OFF
Session auto start: OFF: OFF


Top
 Profile  
 
PostPosted: 26. Mar 2013, 15:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
define slow. are all the thumbnails and preview images are already created?
Because folders where they have still to be created are of course slow...

Best, Michael


Top
 Profile  
 
PostPosted: 26. Mar 2013, 16:05 
Offline

Joined: 25. Mar 2013, 18:05
Posts: 3
How would I go about forcing the creation of the thumbnails, without a page view, and without crashing nginx/php-fastcgi?


Top
 Profile  
 
PostPosted: 26. Mar 2013, 16:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can do this in the administration.

Best, Michael


Top
 Profile  
 
PostPosted: 3. Apr 2013, 00:30 
Offline

Joined: 26. Jan 2013, 06:16
Posts: 16
could you document how to create thumbs directly (i.e. not with the web interface) using imagemagick? I think going via php is extremely slow compared to running a dedicated batch job.
Having my apache at 100% CPU is not fun...


Top
 Profile  
 
PostPosted: 3. Apr 2013, 09:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you would have to create them with the same naming like I do.

But you can enable image magic in TWG as well!

Thumbnails are created only once. So it should not be on 100% so long.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy