vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error Log (https://vborg.vbsupport.ru/showthread.php?t=219755)

barcena 07-29-2009 07:01 PM

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.

toonysnn 07-29-2009 07:18 PM

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

testbot 07-29-2009 07:20 PM

are you on a shared box? how much mem do you have on it? how much is php.ini set to use?

barcena 07-29-2009 08:09 PM

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

testbot 07-29-2009 09:34 PM

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!

barcena 07-29-2009 10:33 PM

1 Attachment(s)
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 $$$$ ;)

barcena 07-29-2009 10:39 PM

Quote:

Originally Posted by toonysnn (Post 1858043)
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 :)

testbot 07-29-2009 11:00 PM

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.

barcena 07-29-2009 11:14 PM

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.

Marco van Herwaarden 07-30-2009 10:15 AM

Quote:

Originally Posted by testbot (Post 1858180)
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? :confused:

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.

testbot 07-30-2009 01:05 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1858393)
And how did you see this right away? :confused:

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


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.


did you read the entire thread? i don't think you did. :)

my reply about disk space was not related directly to that error.

and i agree (as stated above) she should ask for server configuration advise over at vbulletin.com. especially for help with her cpu usage being at 100%.

anyway, sorry for getting involved. i had some downtime yesterday between meetings and thought i would read some threads in here. ;)

Marco van Herwaarden 07-30-2009 02:15 PM

I just re-read the entire thread, and i still don't see where the conclusion is coming from that this is related to diskspace.

PS This might come over harsh, but i see this happening a lot lately where members will offer "solutions" without having a clue of what is going on. Sometimes those "solutions" are worse then the original problem. Nothing personal.

testbot 07-30-2009 02:56 PM

it's not related to disk space. she confused memory left with disk space left and i asked "is that disk space or mem?" so my reply was just to confirm that it was not memory but rather diskspace that she was talking about. i wasn't saying, yea disk space is causing that error.

beyond the error she asked why her cpu is at 100% so i went on to explain that she probably needs to configure my.cnf and ask eva (george) over at vbulletin.com. do you deny that when you're only using 1/3 of ram and your cpu is at 100% it's probably because my.cnf is not configured to allocate enough mem for mysql? if you're only using a 1/3 of ram and your cpu is at 100% then that's a start for that.

on a side note about disk space... although the error in the first post in this thread IS NOT RELATED TO DISK SPACE you should still keep an eye on logs and files taking up disk space because linux does have it's limits. that's just a side note not related to that specific error.

Ps- this might come over harsh, but i see this happening a lot lately where staff will have tunnel vision and try to answer a thread and move on dismissing everything else that was not asked in the first post. then they insult members by calling them clueless. that doesn't mean there's some really great staff here because their is. ;)

pps- although i might have got a little off track here i have to mention a few more things. you know what makes open source great? it's community involvement and support. i haven't made a lot of posts but the majority of the posts i've made that give assistance to someone (mostly in mod threads) i've solved their problem within one post and received a thank you in response. but since i'm clueless i'll quit posting and i'll ask all other members to stop replying to threads because we're all clueless and it's the staffs job not ours. as a matter a fact, why don't you make a sticky thread at the top of this forum and tell everyone "don't reply to threads only create them... you are clueless and we will handle it. you might have to wait a week or we might not answer at all but please don't post."

Marco van Herwaarden 07-31-2009 02:05 PM

Quote:

Originally Posted by testbot (Post 1858180)
yea, right away i can see that it was disk space you're running out of.

Sorry if i misunderstood this post. I really thought you where telling that you figured out her problem and it was related to diskspace.

PS vBulletin, nor vB.org, is open source.

testbot 07-31-2009 02:27 PM

i'm sorry about my last post. it was early here and didn't have enough coffee. overall i'm very happy with vb and vb's staff. :)

i thought open source might be a poor choice there but i didn't feel like looking it up to confirm. i was just trying to make a point. sorry. lol :)


All times are GMT. The time now is 07:37 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.01081 seconds
  • Memory Usage 1,782KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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