vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Hosting/Server Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=197)
-   -   Godaddy says the problem is VBULLETIN, PLEASE HELP. (https://vborg.vbsupport.ru/showthread.php?t=129339)

blogtorank 08-18-2007 11:53 PM

Excuses excuses from hosts... Tell them they should optimize their darn servers to accept any and all clients if they are so called "Big Timers." You should ask them for a copy of your my.cnf file on the server to see how well it's optimized and their httpd.conf file:

(This is from a server that holds over 1200 websites, and has much more room for more :) )

Quote:

Timeout 150

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 10

MinSpareServers 5
MaxSpareServers 10

StartServers 5

MaxClients 125

MaxRequestsPerChild 45
However all of this is calculated by determining how much memory is needed.... For an example you determine your apache processes are using 4MB of memory each, and under peak load, you find that you are running 125 processes, then you will need at a bare min of 500MB of RAM in the server just to handle this amount of process. Because memory is also needed for the OS or any other applications and services running on the system, in addition to apache and so it's reality here you will need more than this amount.

Just thought I would give a bit of pointers to pass onto GoDaddy's SYSADMIN that they hired from where?

If you aren't able to see the processes directly as root or su, you may want to see if they have mod_status installed by using the server-status handler inside your site to see how much is being used and etc...

Now on keepalive settings this can be a critical role to apache there as well... This is why it's so "unresponsive" probably clogged up with tons of hanging processes. Anyhow hope any of this can help and if you want run a command from ssh to see how well your site performs as such:

ab -n 1000 -c 10 http://www.yourdomain.com/index.php see below as I just ran one:


Quote:

> ab -n 1000 -c 10 http://www.vbulletin.org/index.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking www.vbulletin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software: Apache/2.2.4
Server Hostname: www.vbulletin.org
Server Port: 80

Document Path: /index.php
Document Length: 249 bytes

Concurrency Level: 10
Time taken for tests: 0.659072 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 572012 bytes
HTML transferred: 249000 bytes
Requests per second: 1517.28 [#/sec] (mean)
Time per request: 6.591 [ms] (mean)
Time per request: 0.659 [ms] (mean, across all concurrent requests)
Transfer rate: 846.65 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 2 6 0.7 6 8
Waiting: 1 3 1.6 4 7
Total: 2 6 0.7 6 8

Percentage of the requests served within a certain time (ms)
50% 6
66% 6
75% 6
80% 7
90% 7
95% 7
98% 7
99% 7
100% 8 (longest request)
>
If you don't have SSH and would like me to do it for you, feel free to place your URL here and will do it as this is a Benchmark test that's provided by Apache. :) Not alot do know of this feature but it does come in handy!

Oh here's a my.cnf file you can pass onto GoDaddy and hopefully they may find it useful to stop running their customers off and blaming vBulletin's script:

(This is from a server that holds all the databases for the above 1200 websites, and has much more room for more :) )

Quote:


[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=8M
query_cache_size=256M
query_cache_type=1
max_connections=500
max_user_connections=14
interactive_timeout=20
wait_timeout=20
connect_timeout=6
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=64M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=4
myisam_sort_buffer_size=64M
#log-bin
server-id=1

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M

Hope this helps some of you out!

All the best!

gforce75 08-19-2007 03:23 AM

Go with dreamhost. What I like now is they added a feature where you can added certain amounts of ram and processer dedication to your shared account (like vPS on the go). Anyways, I've never seen my site down and runs in top shape. Godaddy, netfirms, globat, and powweb (on my hit list) are worthless. Give them a shot.

TheWhite 08-21-2007 04:51 AM

blogtorank, how do you copy the results from the SSH to the clip board?

blogtorank 08-21-2007 05:37 AM

Select it all, as once you select it via SSH (PuTTy) it automatically copies it to the clipboard for you.

Hope this helps you!

TheWhite 08-21-2007 05:40 AM

ok, i'll post the results today, they ain't that pretty :rolleyes:

blogtorank 08-21-2007 05:48 AM

Quote:

Originally Posted by TheWhite (Post 1322097)
ok, i'll post the results today, they ain't that pretty :rolleyes:

Not a good deal :( hate to see these results... Anyhow you got any other questions about ssh and all let us know. Perhaps we should have a vBulletin BASH scripting forums :)

TheWhite 08-21-2007 06:06 AM

Here you go Guys & Gals, keep your shorts on and look at these Super Godaddy Virtual Deicated Server Settings, don't push or nudge there's space for everyone! :D

Apache Benchmark

Benchmarking www.Don'tUseGodaddy.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software: Apache/2.0.52
Server Hostname: www.Don'tUseGodaddy.com
Server Port: 80

Document Path: /index.php
Document Length: 21566 bytes

Concurrency Level: 10
Time taken for tests: 613.627365 seconds
Complete requests: 1000
Failed requests: 190
(Connect: 0, Length: 190, Exceptions: 0)
Write errors: 0
Total transferred: 22026017 bytes
HTML transferred: 21647471 bytes
Requests per second: 1.63 [#/sec] (mean)
Time per request: 6136.274 [ms] (mean)
Time per request: 613.627 [ms] (mean, across all concurrent requests)
Transfer rate: 35.05 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.7 0 36
Processing: 1510 6108 4762.9 4481 28310
Waiting: 1475 5971 4669.6 4361 28255
Total: 1510 6108 4762.9 4481 28310

Percentage of the requests served within a certain time (ms)
50% 4481
66% 6120
75% 7426
80% 8611
90% 12456
95% 16613
98% 21823
99% 24026
100% 28310 (longest request)

My.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Now What? :rolleyes:

blogtorank 08-21-2007 06:12 AM

HOLY COW!!! Now if you are on a vps and unmanaged... It is up too you to configure and manage. So I would recommend trying to start optimizing the essentials of MySQL, Apache, PHP, everything...

Next type in SSH: free

Paste that here in this thread. Let me see :)

TheWhite 08-21-2007 06:14 AM

hold on mr. blogtorank, i'll be with you in a second with the results :)

Here you go sir

total used free shared buffers cached
Mem: 6097196 6081924 15272 0 120860 865028
-/+ buffers/cache: 5096036 1001160
Swap: 12586916 4229636 8357280

PS. I even tried the dedicated but at €99xmonth it also is unmanaged so basically your always stuck anyway here are my Package specs, is there a My.cnf that you could setup for me?
500GB Bandwidth
30GB Space
256mb guarenteed ram(1gb burst)

blogtorank 08-21-2007 06:38 AM

Quote:

Originally Posted by TheWhite (Post 1322109)
hold on mr. blogtorank, i'll be with you in a second with the results :)

Here you go sir

total used free shared buffers cached
Mem: 6097196 6081924 15272 0 120860 865028
-/+ buffers/cache: 5096036 1001160
Swap: 12586916 4229636 8357280

PS. I even tried the dedicated but at ?99xmonth it also is unmanaged so basically your always stuck anyway here are my Package specs, is there a My.cnf that you could setup for me?
500GB Bandwidth
30GB Space
256mb guarenteed ram(1gb burst)


Not offhand I don't tonight no time to figure it out for free that is, perhaps tomorrow sometime, but you do need to perhaps play around with my my.cnf and add a line or two, restart mysql by /etc/init.d/mysql restart or /etc/init.d/mysqld restart (depends on the OS) however type in SSH: uname -r and this will spit out your kernel version... I can imagine this hasn't been updated and compiled...

Then type in: sysctl -p

This will show me what you got configured to adjust your kernel parameters, because this is pretty essential to keep the kernel from going into panic mode! As the linux kernel stores many of it's dynamic parameters in the /proc file system, which resides on a virtual RAM disk in memory for maximum performance. Parameters are generally categorized by function within subdirectories of the /proc folder :)

Be very careful on this area, as it's not something fool with if you are new to this area, so I would suggest you read up on this, or if you have the money to hire an real sysadmin that knows kernels that has at least 10+ years that is! I don't care if they have under 10 because I wouldn't hire them if they did :) (Don't need none, hack my own kernels).

Also I suggest turning off processes that are NOT even needed by the system.

However I would make you a my.cnf but it takes time and time :) time is although money, so long story short. I would rather much post in the forums here to help you and then others so they can learn.

So you got questions feel free to ask here!


All times are GMT. The time now is 11:23 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.01323 seconds
  • Memory Usage 1,783KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete