Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-29-2009, 07:01 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error Log

Hello.

Can someone tell me what are those errors all about? Is it lack of memory on my server's side?:

PHP Code:
"[Wed Jul 29 15:32:57 2009] [error] [client 74.63.75.228] PHP Fatal error:  Out of memory (allocated 6815744) (tried to allocate 77824 bytes) in /home/cotille/public_html/global.php(607) : eval()'d code on line 106" 
PHP Code:
[Wed Jul 29 15:32:35 2009] [error] [client 206.53.157.199PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 311296 bytesin /home/cotille/public_html/vbseo.php on line 295refererhttp://www.cotilleando.com/" 
Thanks in advance.
Reply With Quote
  #2  
Old 07-29-2009, 07:18 PM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either that, or you do not have enough memory set to PHP.
PHP (by default) has a max of 32 or 64 MB. With vBSEO, I'd suggest at least a max of 128.

You'll find this in php.ini
Reply With Quote
  #3  
Old 07-29-2009, 07:20 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you on a shared box? how much mem do you have on it? how much is php.ini set to use?
Reply With Quote
  #4  
Old 07-29-2009, 08:09 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much!.

I'm in a VPS, an to my amazement the CPU right now is at 100% and Memory space wise I have used 40.7 GB out of 50.0 GB and have 9.3 GB left.

Any recommendation? Any ideas on why can be triggering the CPU to the roof?.

This is my site's link:

My site
Reply With Quote
  #5  
Old 07-29-2009, 09:34 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

50 gig of mem? that's pretty huge. is that disk space or mem?

vps's can be tricky because they're still shared with other systems.

if you haven't tweaked my.cnf then that's a must.

also, what size are your logs? they might be taking up a ton of room.

finally, are you using xcache or anything like that?

your forum looks like it gets lots of traffic. i had something similar with the cpu @ 100% and i eventually ditched apache and replaced it with nginx, got rid of whm/cpanel and anything else with overhead. installed xcache and now my dedicated box does pretty well.

there's too many variables for me to really give you any assistance here. the above are just some questions you need to ask yourself more than anything.

i think your best bet is look at the following thread and post an optimization request for eva.

http://www.vbulletin.com/forum/showthread.php?t=70117

it's a lot of work but when it's done you'll be happy. unless of course it's time for you to move from vps to dedicated haha

good luck!
Reply With Quote
  #6  
Old 07-29-2009, 10:33 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much Testbot, these is my server data to this minute. See attachment.

I will take a look at what you told me (ill tell my webmaster), and lest see what happens, only thing I can think off are a couple of plugins Id install (mood faces and Album on the navbar) but I took them out, oh and the vbseo that I have had for about a week now, other than that nothing new or different that I know off, the last couple of days about 300-350 people inside.

Oh man, I hope I don't have to go dedicated again, it was a pain to me and besides $$$$
Attached Images
File Type: jpg Server.jpg (95.9 KB, 0 views)
Reply With Quote
  #7  
Old 07-29-2009, 10:39 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toonysnn View Post
Either that, or you do not have enough memory set to PHP.
PHP (by default) has a max of 32 or 64 MB. With vBSEO, I'd suggest at least a max of 128.

You'll find this in php.ini
Hey tha'ts a great suggestion, I'll look in to it. Thanks
Reply With Quote
  #8  
Old 07-29-2009, 11:00 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea, right away i can see that it was disk space you're running out of. do you host a lot of images, mp3's, or videos? most websites don't take up that much room unless they host those types of files.

the disk space isn't a huge deal though. unless it's could be if the logs are filling up or being rotated which creates several small files. if you have a large number (not size a lot of files) of files on your server that can start causing problems. have your system admin / web person look at the logs and clean them up a bit.

the fact that you're only using less than half of your RAM ( the last bar 372 of 1GB) but your cpu is at 100% means that it's a pretty save bet that you need to tweak my.cnf. that will make it so sql uses more memory instead of cpu and in turn cut down on cpu usage.

it might very well be a mod that's running some hard mysql quires really slowing things down beyond the my.cnf tweaks. i didn't see a lot of mods right away on your site but i don't understand the language and i'm not logged in so i really have no idea.

so to sum things up.. currently i would suggest cleaning up the log files and make sure my.cnf is tweaked to handle your mysql quires.
Reply With Quote
  #9  
Old 07-29-2009, 11:14 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, to see the moods you should be a member however I don't think I have that many or any particularly extravagant (consuming); I do host a lot of pictures on a daily basis, not mp3 or videos, well, some youtube videos but nothing so big.

I'm waiting for my webmaster so I can give him your recommendations, at least thanks to your help we have an idea now, see, he doesn't speak English tough.
Reply With Quote
  #10  
Old 07-30-2009, 10:15 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by testbot View Post
yea, right away i can see that it was disk space you're running out of. do you host a lot of images, mp3's, or videos? most websites don't take up that much room unless they host those types of files.
And how did you see this right away?

The error message is very clear and only indicates 1 thing: Not enough memory reserved for PHP.

Quote:
PHP Fatal error: Out of memory
This is not related to diskspace in any way.

Just edit your php.ini and assign at least 32 or 64Mb to PHP like already advised in the 2nd post in this thread.

For further advise please post in the server configuration forum on vB.com.
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 02:34 PM.


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.04515 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete