GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How many MySQL connections can server handle? (https://gfy.com/showthread.php?t=209182)

Juicy D. Links 12-15-2003 07:30 PM

How many MySQL connections can server handle?
 
How many MySQL connections can server handle before gettting fucked?

Avg server 2 ghz , 1 gig of ram running Freebsd

- Jesus Christ - 12-15-2003 07:31 PM

7

hyper 12-15-2003 07:31 PM

hmm dont you set that up?

Juicy D. Links 12-15-2003 07:32 PM

Quote:

Originally posted by hyper
hmm dont you set that up?
yeah but I was curious as to whether there is a threshold

Turboface 12-15-2003 07:33 PM

Ask your tech support. They'll increase the amount of connections that they know will be ok.

:winkwink:

- Jesus Christ - 12-15-2003 07:35 PM

Quote:

Originally posted by juicylinks


yeah but I was curious as to whether there is a threshold

nope.... But it could start to slow the sytem down and If your ram is full, data will start going in and out of your swap. (Thats bad)

hyper 12-15-2003 07:41 PM

found this

From the manual - "If you need more connections than the default (100), then you
should restart mysqld with a bigger value for the max_connections variable."

"The maximum number of connects MySQL is depending on how good the thread library is
on a given platform. Linux or Solaris should be able to support 500-1000 simultaneous
connections, depending on how much RAM you have and what your clients are doing."

fletcher 12-15-2003 07:43 PM

You should be able to easily do 500-600 on that setup.

fsfaz 12-15-2003 07:45 PM

Hard Question.

MySQL sucks up RAM like a baby on a mothers tit.

nathan_f 12-15-2003 07:51 PM

Quote:

Originally posted by fletcher
You should be able to easily do 500-600 on that setup.
Agreed, the number would be somewhere around there.

JSA Matt 12-15-2003 07:57 PM

Quote:

Originally posted by fsfaz
Hard Question.

MySQL sucks up RAM like a baby on a mothers tit.

MySQL is one of our lowest running processes, you need to optimize :)

sweet7 12-15-2003 08:15 PM

Quote:

Originally posted by juicylinks


yeah but I was curious as to whether there is a threshold

there usually is a threshold set by the admin and when that threshold is met you won't be able to create any more connections to your DB. :Graucho

Eve 12-15-2003 08:15 PM

ALOT. But there shouldn't be that many unless you are using persistent connections, which are gay.

sandman! 12-15-2003 08:17 PM

43590485739357 connections

grumpy 12-15-2003 08:18 PM

depends on what you gonna do in the mysql.
the 100 means 100 users at the same time.

fuzebox 12-15-2003 09:59 PM

Like everyone else says, depends what you're doing, and how intensive the queries are.

MySQL is going to be happier with more ram, so that's the main consideration in building a DB server. The disk setup will also make a big difference in performance (you didn't mention how that was setup).

Mr.Fiction 12-15-2003 10:01 PM

Optimize & cache.

arial 12-15-2003 10:02 PM

I've tested mine with over 2 million in one day. I have a dual xeon processed server (4ghz total), 1GB ram, red hat, all the works.

dnsmonster 12-15-2003 10:11 PM

MySQL comes with benchmark scripts that should tell you exactly that. As someone mentioned, counting connections, unless they are persistent, makes little sense. A real benchmark is how many queries in can do per second.

myneid 12-15-2003 11:54 PM

i think you should be able to set it at 1024 without any problems.


All times are GMT -7. The time now is 06:33 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123