Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Picture viewer slow
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Picture viewer slow

 Post Reply Post Reply
Author
Andersen View Drop Down
Groupie
Groupie


Joined: 07 July 2002
Location: Denmark
Status: Offline
Points: 152
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andersen Quote  Post ReplyReply Direct Link To This Post Topic: Picture viewer slow
    Posted: 02 November 2006 at 9:14am
Hi boRg.
 
I have a issue around uploading of pictures.
When entering the wysiwyg editor and click the icon for uploading/add a picture, the list of already uploaded pictures is slow as hell. Takes around 30 seconds to show. I have not noticed this before, as I hardly ever upload pictures to my forum. But yesterday one of the users complaint about it and I tested it myself.
 
Do you have any idea why itīs this slow now? Could the reason be, that there are a lot of pictures ind the upload folder?
If thats the case, what can i do to change the amount of pictures (without having to delete the threads in the forum containing the pictures)?
 
I also noticed I have a Temp folder, containing almost the same pictures as for my upload folder.. Shouldnīt this be empty?
 
Iīm running win2003 server here, using MSSQL database. Still on webWiz 8.01 though Embarrassed
 
Greets
Andersen
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 9:24am
The reason why it would be slow is that the FSO object reads all the files names from the hard drive, iof you have a slow hard drive on the server or an overloaded server that has allot of read and writes to the hard drive the list will be slow to load in.

Edited by -boRg- - 02 November 2006 at 9:25am
Back to Top
Andersen View Drop Down
Groupie
Groupie


Joined: 07 July 2002
Location: Denmark
Status: Offline
Points: 152
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andersen Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 10:06am
Hmm, thats not good Geek
 
How come the upload doesnt use a user specific folder anymore? I think I recall it did back in version 7.xx or something? It would mean the server wouldnīt have to scan through several hundres of files each time.
 
I may be able to change hard drive, but the problem will only get worse in time. And then what to do?
 
Greets
Andersen
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 10:11am
The only reason usernames were used in previous versions was so because uploads were not attached to a post, in teh new version they are but because the database can only hold a small amount of data the file path needs to be kept as short as possiable.

The system is going to be looked at again for version 9 to see if any improvements can be made, like giving users their own folder and only allowing them access to that folder.

The Temp directory shouldn't contain anything, these are orphaned files from things like the user failing to actually post submit the post with the uploaded files and so you can delete the contents of this folder. A tool is planned for the admin area which will clear out this folder for you.
Back to Top
Andersen View Drop Down
Groupie
Groupie


Joined: 07 July 2002
Location: Denmark
Status: Offline
Points: 152
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andersen Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 10:35am
Looking forward to version 9 then. I assume itīll be released in a few weeks LOL
 
Greets
Andersen
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.