php forum
php mysql forum
php mysql smarty
 
Page 2 of 3 < 1 2 3 >
Topic Options
#253450 - 07/13/03 06:56 PM Re: Let's tune MySQL! [Re: Hal_dup2]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
max edit time is up on my original post, so if someone could edit it so it specifies my.ini for windows, that would be good <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#253451 - 07/13/03 09:40 PM Re: Let's tune MySQL! [Re: palmen]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
got it for you <img src="/forum/images/graemlins/smile.gif" alt="" /> As moderator for this forum, you should be able to indefinitely edit your posts... let's see if we can fix it <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#253452 - 07/13/03 09:49 PM Re: Let's tune MySQL! [Re: SurfMinister]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
But I'm not a moderator of the MySQL forum <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#253453 - 07/13/03 11:05 PM Re: Let's tune MySQL! [Re: palmen]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
? really? hmmm... gotta fix that <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#253454 - 07/14/03 02:20 AM Re: Let's tune MySQL! [Re: palmen]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
[]Jeremy said:<br />But I'm not a moderator of the MySQL forum <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />You are now <img src="/forum/images/graemlins/smile.gif" alt="" /> and thanks for the post.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#253455 - 07/14/03 07:53 AM Re: Let's tune MySQL! [Re: Gorlum]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /> I can't hack threads code for crap, but at least I can be helpful in other areas <img src="/forum/images/graemlins/grin.gif" alt="" />

Top
#253456 - 07/14/03 07:30 PM Re: Let's tune MySQL! [Re: palmen]
ScottCargill Offline
Journeyman

Registered: 02/01/01
Posts: 144
Loc: Bakersfield, Ca.
Dunno what else you're good for, <img src="/forum/images/graemlins/smile.gif" alt="" /> but this thread was VERY helpful to me...<br /><br />Thanks!<br /><br />[]http://www.threadsdev.com/threads/php/uploads/panels/6747-13980.png[/]
_________________________
Scott Cargill -WebMaster
East Hills Kung Fu San Soo

Top
#253457 - 07/15/03 01:06 PM Re: Let's tune MySQL! [Re: DRYCARPET1]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2518
Loc: navahoville! :D
Chcuk, try /bin/top /bin/ps<br /><br />or if they don't work try<br /><br />bash2.04$ whereis top<br />bash2.04$ whereis ps<br />bash2.04$ whereis netstat<br /><br />It looks to me as though your environment isn't setup well, no paths. We should probably make another thread soemwhere on customizing your environment.
_________________________
Picture perfect penmanship here.

Top
#253458 - 08/12/03 05:48 PM Re: Let's tune MySQL! [Re: zerind]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
I notice from the large version it says in mine...<br /><br /># Try number of CPU's*2 for thread_concurrency<br />set-variable = thread_concurrency=8<br /><br />What would be the additional setting to benefit from dual CPU's?<br /><br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#253459 - 08/12/03 08:02 PM Re: Let's tune MySQL! [Re: Gorlum]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2518
Loc: navahoville! :D
set-variable = threads_concurrency=4<br /><br />dual CPU = 2 CPU, times 2 = 4.<br /><br />
_________________________
Picture perfect penmanship here.

Top
#253460 - 08/13/03 03:23 AM Re: Let's tune MySQL! [Re: zerind]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks.<br /><br />Going off to add <br /><br />set-variable = threads_concurrency=4<br />dual CPU = 2 CPU, times 2 = 4.<br /><br />to my cnf fle <img src="/forum/images/graemlins/smile.gif" alt="" /><br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#253461 - 08/13/03 05:06 AM Re: Let's tune MySQL! [Re: Gorlum]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Actually Dave ps is the only one in the /bin directory the other two top and netstat are nowhere to be found. The command whereis is not found LOL
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#253462 - 08/13/03 05:15 AM Re: Let's tune MySQL! [Re: Gorlum]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
[]Ian_W said: <br />Thanks. <br /> <br />Going off to add <br /> <br />set-variable = threads_concurrency=4 <br />dual CPU = 2 CPU, times 2 = 4. <br /> <br />to my cnf fle <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> [/] <br /> <br />I think you'll have more luck if you only add <br />
Code:
set-variable = threads_concurrency=4
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#253463 - 08/13/03 11:50 AM Re: Let's tune MySQL! [Re: -Fusion-]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Doh!! Just re-read what he put LOL
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#253464 - 08/13/03 02:13 PM Re: Let's tune MySQL! [Re: Gorlum]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2518
Loc: navahoville! :D
chcuk when I run whereis whereis on one of the machines I am handy to I get<br /><br />[root@machine:/root]# whereis whereis<br />whereis: /usr/bin/whereis /usr/share/man/man1/whereis.1.gz<br /><br />perhaps /usr/bin is not in your path?<br /><br />Look at your .bash_profile if you're running bash.<br /><br /><br />PATH=$PATH:$HOME/bin:/usr/local/bin<br /><br />Add more to it as you feel necessary, colon delimited. log out, log in. magic. Now it will start finding things for you.
_________________________
Picture perfect penmanship here.

Top
#253465 - 08/13/03 02:44 PM Re: Let's tune MySQL! [Re: zerind]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
How do you find your bash profile?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#253466 - 08/13/03 04:37 PM Re: Let's tune MySQL! [Re: sf49rminer]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2518
Loc: navahoville! :D
When you are ssh'd in just type more .bash_profile to read it, to edit it use pico or vi.<br /><br />the file will be in your home directory.
_________________________
Picture perfect penmanship here.

Top
#253467 - 01/29/04 12:23 AM Re: Let's tune MySQL! [Re: palmen]
santana Offline
Member

Registered: 09/26/00
Posts: 229
Loc: Asia
Jeremy<br /><br />I think my server needs your trick.<br /><br />Here is my result:<br />
Code:
<br />Thu Jan 29 13:16:11 2004 13:16:18 up 1:33, 2 users, load average: 26.99, 27.69, 31.70 184 processes: 183 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 89.2% user 10.0% system 0.0% nice 0.0% iowait 0.0% idle CPU1 states: 84.1% user 7.0% system 0.0% nice 0.0% iowait 8.1% idle Mem: 1030284k av, 540420k used, 489864k free, 0k shrd, 36708k buff 478752k actv, 2664k in_d, 3780k in_c Swap: 1020116k av, 6532k used, 1013584k free 225288k cached Http processes currently running = 122 Mysql processes currently running = 3 Netstat information summary 2 SYN_RECV 3 CLOSING 5 LAST_ACK 10 FIN_WAIT1 10 LISTEN 15 CLOSE_WAIT 81 ESTABLISHED 392 TIME_WAIT <br />
<br /><br />I am using Xeon HT 2.4Ghz on Intel Server board with 1GB ECC RAM and SCSI.<br /><br />On average there are 100 users login at the same time. Does persistant connection help?

Top
#253468 - 01/29/04 03:24 AM Re: Let's tune MySQL! [Re: often]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
No, in most cases persistant connections are a bad idea.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#253469 - 02/19/04 05:57 PM Re: What Need to be Tuned? [Re: -Fusion-]
Tony Offline
Lurker

Registered: 02/18/04
Posts: 4
I have a P4 2.4 with 1GB RAM dedicated server 100Mbps net connection<br /><br />It runs WHM 8.8.0 cPanel 8.8.0-R73 RedHat 9 - WHM X v2.1.2 apache (1.3.29 (Unix)) mysql (4.0.15-standard)<br /><br />This machine is entirely use for just 1 domain with a vBulletin board. The site has about somewhere from 200+ to 800+ users online concurrent depends on time of the day.<br /><br />When the number of users about 300- (less than 300) the server seem to react normally (Not Slow)<br /><br />However, when the number of users increase at night (7mp - 5am PST) the server react extreamly slow (I mean really really slow) and it sometimes refuse to dislay page and not to load images as well.<br /><br />1. Is this because of MySQL not tuned or Apache not Turned? How do I go about finding what need to fix?<br /><br />2. I have include the 2 results (when site not busy & busy) of the script Germy provide, with the numbers shown, How I optimize MySQL to be the most efficient for my site?<br /><br />3. With the hardware I have how many users I could have on the site just to browse the vBulletin board?<br /><br />Thank you in advance for helping.<br /><br />Result when site not busy:<br /><br />Thu Feb 19 15:57:00 PST 2004<br /><br /> 15:57:01 up 8:37, 1 user, load average: 0.53, 0.68, 0.72<br />99 processes: 89 sleeping, 1 running, 9 zombie, 0 stopped<br />Mem: 1032320k av, 994240k used, 38080k free, 0k shrd, 16036k buff<br /> 151248k active, 805548k inactive<br />Swap: 2104504k av, 936k used, 2103568k free 862944k cached<br /><br /> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND<br /> 7416 nobody 19 0 1096 1096 752 R 1.9 0.1 0:00 0 top<br /><br /><br />Http processes currently running = 24<br />Mysql processes currently running = 3

Top
Page 2 of 3 < 1 2 3 >


Who's Online
2 registered (arentzen, blaaskaak), 27 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks