Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Attachments Details »»
Attachments
Version: , by Kevlar Kevlar is offline
Developer Last Online: Apr 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-13-2006 Last Update: Never Installs: 0
 
No support by the author.

How do large boards handle attachments? Right now I have about 7GB of attachments in my file system. I was just curious how others deal with this issue. Especially if you have more than one web server...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-28-2006, 07:41 PM
G2place G2place is offline
 
Join Date: May 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a similar request....

I have our website on a server.... Great.
Presently it is storing attachments in the database.... Not so great.

So, I want to use the vBulletin Attachment Manager to store them elsewhere.
To merely put them in a different folder on the forum server is easy....
I modified the Attachments to say
"Attachments are currently being stored in the filesystem at ../files"
(note... this is the sub-dir I created with appropriate permissions).
This works great.

So, let's move them to a Different server.
I have a different server and can access it via IPaddress.
It has a folder under the root called /files, with all the appropriate permissions.
So I change the Attachment manager to say
Attachments are currently being stored in the filesystem at
http://xxx.xxx.xxx.xxx/files
No sir... it just doesn't like this... the error message I get is

"We attempted to write a test file to http://xxx.xxx.xxx.xxx/files, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path."

For the life of me I can't figure out what I am doing wrong.

Any help ?????
Reply With Quote
  #23  
Old 10-28-2006, 08:46 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http:// isn't a protocol to write files. I think you have to code your own attachment solution to store them on a seperate server.
Reply With Quote
  #24  
Old 10-29-2006, 02:17 PM
deegan deegan is offline
 
Join Date: May 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you copy those attachment files to your PC just in case...

I accidentlly lost my smilies moving to a new server...Thankfully, I backed up the /images & /gallery directories to my pc beforehand...took awhile, but worth it...
Reply With Quote
  #25  
Old 10-30-2006, 09:53 AM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But, they way to move attachments to a another Server with link the attachment.php to the new Domain ist not the best way. For example, what is if the extern server also full?
The best way is, to modify the Forum so, that it stores the Real-URL to The images like: www.forums.de/imagesdir/image.jpg than you can use many HDDs and many Servers.

But I don’t now how can I do this

Whit the way from “scotty” I can copy al my attachments to the Upload Server, that’s great. But what is, if the HDD full an I but in a new one? Than I have the same Problem as now.

GreeTz
Snatch
Reply With Quote
  #26  
Old 10-30-2006, 07:25 PM
netwind netwind is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use light frontend http server which serve attachments/images and backend server which serve php.
attachment.php with simple hack points frontend where get attachement body and this work. client not give direct link anytime.
Reply With Quote
  #27  
Old 11-02-2006, 05:05 AM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Currently i have 14gigs of attachments..... on a single server.
Reply With Quote
  #28  
Old 11-04-2006, 08:57 AM
scotty's Avatar
scotty scotty is offline
 
Join Date: Oct 2001
Location: Mannheim, Germany
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snatch
The best way is, to modify the Forum so, that it stores the Real-URL to The images like: www.forums.de/imagesdir/image.jpg
be carefull: use this method only, if you have no permissions on your attachments! the main advandtage to use attachment.php is, that you have full control over the rights to download depending on used forum & user groups!

Quote:
Whit the way from ?scotty? I can copy al my attachments to the Upload Server, that?s great. But what is, if the HDD full an I but in a new one? Than I have the same Problem as now.
than you'll need an attachment server with a bigger HDD. Pack your attachment into a gzip/tar, copy per FTP directly to the new server and put it in the same directory structure, as the old one. I've done this a few times when moving to bigger hardware.
Reply With Quote
  #29  
Old 11-06-2006, 06:51 AM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scotty
be carefull: use this method only, if you have no permissions on your attachments! the main advandtage to use attachment.php is, that you have full control over the rights to download depending on used forum & user groups!

than you'll need an attachment server with a bigger HDD. Pack your attachment into a gzip/tar, copy per FTP directly to the new server and put it in the same directory structure, as the old one. I've done this a few times when moving to bigger hardware.
Yew, but I have 240GB of Attachements. The Max HDD Size is about 300GB. So this way is not the right for me.
Reply With Quote
  #30  
Old 11-06-2006, 02:37 PM
woodysfj40 woodysfj40 is offline
 
Join Date: Jun 2004
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Max SCSI HDD size is about 145GB.......in Raid10, you are stuck at 278.47 in useable space....if you limit to 4 drives....

four 7200rpm 750GB SATA drives in a Raid10 configuration results in a useable space of 1430.51GB

should be sufficient....
Reply With Quote
  #31  
Old 11-10-2006, 08:39 AM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I mean the Max HDD size on my Server.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04808 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete