Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Godaddy says the problem is VBULLETIN, PLEASE HELP. Details »»
Godaddy says the problem is VBULLETIN, PLEASE HELP.
Version: , by raiderlax raiderlax is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-17-2006 Last Update: Never Installs: 0
 
No support by the author.

Okay I am having problems with my godaddy shared hosting and called them up and asked them why is it running so slow after 15 minutes on the phone they had told me that it is running slow because of this forum software. They told me that the forum software is what is making it run slow.

I had asked them if a virtual dedicated server would make it fast and they told me that it may, but they are not sure. I then asked if I could test it to see if it would run fast on it, but they said no.

Please what do I do know. I think vbulletin should contact godaddy as they are saying the the forum software is why it is slow and that they also said that this php is very hackable(what does that have to do with speed?)

I don't know what to do now, any help is greatly appreciated

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-18-2007, 11:53 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #33  
Old 08-19-2007, 03:23 AM
gforce75 gforce75 is offline
 
Join Date: Sep 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 08-21-2007, 04:51 AM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

blogtorank, how do you copy the results from the SSH to the clip board?
Reply With Quote
  #35  
Old 08-21-2007, 05:37 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Hope this helps you!
Reply With Quote
  #36  
Old 08-21-2007, 05:40 AM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i'll post the results today, they ain't that pretty
Reply With Quote
  #37  
Old 08-21-2007, 05:48 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWhite View Post
ok, i'll post the results today, they ain't that pretty
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
Reply With Quote
  #38  
Old 08-21-2007, 06:06 AM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!

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?
Reply With Quote
  #39  
Old 08-21-2007, 06:12 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 08-21-2007, 06:14 AM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #41  
Old 08-21-2007, 06:38 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWhite View Post
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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13017 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete