vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Server Too Busy Problem (https://vborg.vbsupport.ru/showthread.php?t=209675)

necblog 03-28-2009 04:55 AM

Server Too Busy Problem
 
Hello
i have a server : Core2 Quad Q9400 + 8GB of ram which load average is about 0.20 and memory usage is about 5%
and i see this error : Server Is too busy at the moment please check back again
but i have some Security configs :
PHP safe_mod = on
disable_functions="link,symlink,readlink,ini_get,p hp_uname,exec,system,passthru,shell_exec,escapeshe llarg,escapeshellcmd,proc_close,proc_open,ini_alte r,dl,popen,curl_exec,popen,pcntl_exec,socket_accep t,socket_bind,socket_clear_error,socket_close,sock et_connect,socket_create_listen,socket_create_pair ,socket_create,socket_get_option,socket_getpeernam e,socket_getsockname,socket_last_error,socket_list en,socket_read,socket_recv,socket_recvfrom,socket_ select,socket_send,socket_sendto,socket_set_block, socket_set_nonblock,socket_set_option,socket_shutd own,socket_strerror,socket_write,stream_socket_cli ent,stream_socket_server,fsockopen,pfsockopen,stre am_set_timeout,disk_total_space,disk_free_space,ch own,getrusage,get_current_user,set_time_limit,getm yuid,getmypid,dl,leak,listen,chgrp,link,symlink,dl open,proc_nice,proc_get_stats,proc_terminate,shell _exec,sh2_exec,posix_getpwuid,posix_getgrgid,posix _kill,ini_restore,mkfifo,dbmopen,dbase_open,filepr o,filepro_rowcount,posix_mkfifo,putenv,sleep"


and some mod_sec configs do you think this is because of my PHP configs?

--------------- Added [DATE]1238223488[/DATE] at [TIME]1238223488[/TIME] ---------------

another thing server too busy page is not a vbulletin page it is a Blank page

TigerC10 03-28-2009 07:22 AM

Is this your dedicated server? Your website is the only website on the box?

Are you the one that installed the webhosting application (apache/IIS)?

Do you have access to php.ini? If so, you should check the memory_limit variable in php.ini.

Also, check your php.ini extension list. Make sure that only the extensions you need (like GD) are enabled. Also, check the extension directory variable to see if it matches the PHP extension directory on the server (check to make sure all of the enabled extensions are in the extension directory).

I just did a little research and found that the Zend Optimizer has this problem thanks to some caching feature. If you're using Zend, you should contact them regarding this problem.

necblog 03-28-2009 07:52 AM

No it is a shared server but i am server admin.
memory_limit is set to 32MB
i use memcache that is compatible with Zend.
are extensions are there because i use cpanel/whm and i have compiled php by easyapache

TigerC10 03-28-2009 03:36 PM

Yeah, I just told you that the "server too busy" problem can come from Zend's caching feature. Go ask for support over there:

http://www.zend.com/en/services/support/

snakes1100 03-28-2009 08:56 PM

1st you need to check the apache logs and verify what the real issue is.

Seeing as you have root access to the server, verify apaches log location, as it varies from O/S to O/S, as well its dependent on the control panel installed.

Run this cmd to find out apaches current running location.

ps ax | grep httpd

Linux
tail -f /etc/httpd/logs/error_log
tail -f /usr/local/apache/logs/error_log

Debian
tail -f /var/log/apache2/error.log

You may need to enable apache's debug mode.
Edit httpd.conf or apache.conf (this varies from OS to OS as well.)
Add or edit to show the following and HUP apache

LogLevel debug

kermit2 03-28-2009 10:58 PM

vbulletin has it's own 'too busy' message, although I think it's something like 'forum too busy' - there's an option to control it in the ACP. Sounds like it isn't this though.

Sounds to me more like you're exceeding Apache's max clients. Try grepping for MaxClients in your Apache config file, then run:

ps aux|grep apache|wc -l

(may need to grep for httpd instead), to see how many clients it is currently serving. If the output of the above command is regularly getting close to your MaxClients, you could see about raising MaxClients. That's assuming your server can handle more clients.

You might want to see about lowering your KeepAliveTimeout a little too, if KeepAlive is turned on. That should result in each Apache process hanging around for less time after it has served the request(s), which will reduce the number of concurrent processes

snakes1100 03-28-2009 11:14 PM

If he is hitting maxclients, it's 100% doubtful his server will respond until he restarted apache.

If the server was loaded up by reaching maxclients, it wouldn't respond with a blank page, it wont respond at all.


All times are GMT. The time now is 05:52 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.01665 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete