Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2004, 11:49 PM
Chriss74 Chriss74 is offline
 
Join Date: Apr 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default avatars stored in database - good solution? DB: Too many connections...

Hi Forum!

Since version 3 of vb attachments are not stored in the database any longer. But why are the avatar-pics still stored in the database?

I've large problems with my mysql-database. Often I get the message "too many connections" and the forum is down. I think it would be better and would save mysql-queries, if the attachments would be stored as files, or what do you think?

Has anybody else problems with the too many connections? I've a server of my own and it is running very fast. But if about 80 users are online on my vb, I get too many connections. Is that normal?

Greetings,
Chriss
Reply With Quote
  #2  
Old 05-19-2004, 11:49 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you on your own server or a shared host?
Reply With Quote
  #3  
Old 05-19-2004, 11:51 PM
Chriss74 Chriss74 is offline
 
Join Date: Apr 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
are you on your own server or a shared host?
Own server: Intel 1 GHZ, 256 MB RAM. Not shared. Only my vb is running on the server, nothing else.

Greetings,
Chriss
Reply With Quote
  #4  
Old 05-19-2004, 11:52 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chriss74
Own server: Intel 1 GHZ, 256 MB RAM. Not shared. Only my vb is running on the server, nothing else.

Greetings,
Chriss
good god thats slow. its time to look at getting a new server, but for the mean time have you filled out a request for a server optimization?
Reply With Quote
  #5  
Old 05-20-2004, 12:12 AM
Chriss74 Chriss74 is offline
 
Join Date: Apr 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
good god thats slow. its time to look at getting a new server, but for the mean time have you filled out a request for a server optimization?
Ok, my (rented) server is not the newest one. But it should be good enought for one forum, or?

No, I havent optimized my server yet. I hope, that the standard-configuration of my provider is optimized. Maybe, you have some hints for me?

Back to the avatars: If they're stored in the database, they have to be loaded into the Server-memory. And that must influence the performance negatively. If the avatar is stored as file, the file needn't be opened by the server, but only by the client. Or do I make an error in reasoning?

Greetings,
Chriss
Reply With Quote
  #6  
Old 05-20-2004, 12:22 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chriss74
Ok, my (rented) server is not the newest one. But it should be good enought for one forum, or?

No, I havent optimized my server yet. I hope, that the standard-configuration of my provider is optimized. Maybe, you have some hints for me?

Back to the avatars: If they're stored in the database, they have to be loaded into the Server-memory. And that must influence the performance negatively. If the avatar is stored as file, the file needn't be opened by the server, but only by the client. Or do I make an error in reasoning?

Greetings,
Chriss
As i said, at vB.com go to the server configuration forum and request an optimization


Depdning, if you only are going to have 50~ people online constantly it might be good, like i said go and request a server config.
Reply With Quote
  #7  
Old 05-20-2004, 12:35 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chriss74
Ok, my (rented) server is not the newest one. But it should be good enought for one forum, or?
256 MB of RAM is not even sufficient for most desktop computers nowadays, let alone a server. I would have a minimum of 1 GB of RAM even for a small forum to provide a buffer room for bursts of traffic--a common cause of a "Too many connections" error.
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 08:00 PM.


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.04863 seconds
  • Memory Usage 2,220KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete