Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2008, 06:56 AM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default GRRRR- More dB errors

Over the past few days i've been getting lots of errors. The list of 300 errors in the cPanel is filling up every couple of hours. I posted yesterday about an error which caused the forums to go down and thankfully that issue was resolved. Then, in an effort to resolve the issue i decided to upgrade to 3.7, but now i can't complete the upgrade due to another error.

Quote:
Step 2) Import latest admin help

Importing vbulletin-adminhelp.xml
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /home/forums/public_html/includes/adminfunctions_language.php on line 189
I disabled all the hcaks yesterday and re-enabled them one by one but nothing seemed to be causing it on that front.

The error about exhausting allowed memory is one that has been showing frequently in the error logs, but i have no idea what it refers to.

As it is, the forums are turned off, and i'm getting cosntant IM etc asking when it'll be back up, but i have no idea how to resolve this one. Can anyone help?
Reply With Quote
  #2  
Old 05-26-2008, 07:04 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit your servers php.ini file and increase the memory limit to something over 8MB. 16MB is a good safe setting to have

memory_limit = 16M

Don't set it to large, as if you have other scripts/plugins that are poorly written it could quickly eat up your server resources
Reply With Quote
  #3  
Old 05-26-2008, 07:05 AM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i find the details for that mate?
Reply With Quote
  #4  
Old 05-26-2008, 07:15 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wrestlepower View Post
where can i find the details for that mate?
if you are on shared hosting you may not be able to edit this file. You'll need to contact your host and make them aware of the problem. Or you maybe able to edit your .htacess file and add this line to (this only works if your host allows you)
Code:
php_value memory_limit 16M
If you have SSH access (VPS or dedicated) login as the root user and run these commands

updatedb
locate php.ini

The first command updates the search index for your server (not vBulletin search, the actual server files)

The second will find all instances of php.ini file

Most the time its some where like /usr/lib/local/php.ini or something like that.

Lastly you maybe able to set this limit on the php file itself open the adminfunctions_language.php file and at the top after <?php add
Code:
ini_set('memory_limit', '16M');
(I can not confirm this method will work with vBulletin files, as I've never had to use it, but its a last resort option if you need something fast)
Reply With Quote
  #5  
Old 05-26-2008, 07:44 AM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope, none of those appear to work. Guess i'll just ahve to wait until the host drags himslef out of bed in the States.

Thanks for your help anyway.
Reply With Quote
  #6  
Old 05-27-2008, 09:21 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this a dedicated/vps server?

If it is, post hte contents of my.cnf, typically in the /etc dir, how much ram does the server have?
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 04:54 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.03785 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete