vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   avatars stored in database - good solution? DB: Too many connections... (https://vborg.vbsupport.ru/showthread.php?t=65301)

Chriss74 05-19-2004 11:49 PM

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

Zachery 05-19-2004 11:49 PM

are you on your own server or a shared host?

Chriss74 05-19-2004 11:51 PM

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

Zachery 05-19-2004 11:52 PM

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?

Chriss74 05-20-2004 12:12 AM

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

Zachery 05-20-2004 12:22 AM

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.

filburt1 05-20-2004 12:35 AM

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.


All times are GMT. The time now is 12:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00960 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete