Previous Thread
Next Thread
Print Thread
Hop To
#207061 02/22/2008 9:35 PM
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
is there any particular advantage in enabling persistent connections? are there any known issues in enabling it?


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
the advantage is that apache doesn't have to start a new connection with every page view. apache can spawn a new child if needed, connect to the database, and stay connected until the server is restarted.

the disadvantages can be great however, if you are not able to balance the number of apache children and connections allowed in your MySQL setup. get them out of balance and you'll likely get a ton of MySQL max connection errors or out of memory errors.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
thanks for that ... i think i'll leave it off for the time being!


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Okusi Associates
thanks for that ... i think i'll leave it off for the time being!
I would, specifically if you have more than just your site on the server...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
hmmm ... i do in fact have multiple domains on my VPS. is this what you mean? five of these domains use relatively simple mysql applications. so you think there are definitely no down sides, in the case of ubbthreads?


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I would always recommend not using them... Unless you have the memory on the server to allow for a large amount of users on at once (I'm talking a lot, several hundred, not including guest/bots)...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
It's not memory that is the issue, it's balancing your apache and MySQL. Unless you have the time/knowledge/resource don't turn it on.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 831 guests, and 191 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)