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 04-28-2010, 05:11 PM
Valof Valof is offline
 
Join Date: Feb 2009
Location: Poland
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default PHP crash - vb query

Hello!

I have very important problem. When a lot of logged users are viewing my site - my web hosting developer blocks my site because
"my site makes php loop and then crash"
that's query with problem is:

poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(4, "m\0\0\0\3\r\n\t\t\tSELECT * FROM user FORCE INDEX (lastactivity)\r\n\t\t\tWHERE lastactivity > 1272232800 ORDER BY username\r\n\t\t"..., 113)

brk(0x911b000) = 0x911b000
time(NULL) = 1272306532
time(NULL) = 1272306532
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
time(NULL) = 1272306532
time(NULL) = 1272306532
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
time(NULL) = 1272306532
time(NULL) = 1272306532
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
time(NULL) = 1272306532
time(NULL) = 1272306532
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
time(NULL) = 1272306532
time(NULL) = 1272306532

write(4, "\242\1\0\0\3\n\t\tSELECT\n\t\t\tuser.username , (user.options & 512) AS invisible, user.usergroupid,\n\t\t\tsession.userid, session.inforum, session.lastactivity, session.badlocation,\n\t\t\tIF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid\n\t\t\t\n\t\tFROM session AS session\n\t\tLEFT JOIN user AS user ON(user.userid = session.userid)\n\t\t\n\t\tWHERE session.lastactivity > 1272305629\n\t\t\t\n\t\tORDER BY username ASC\n\t"..., 422) = 422

Queries are from file (developer said):

"/home/login/domains/nazwa-domeny.pl/public_html/includes/functions_forumlist.php"

and second (i blocked/uninstalled all plugins which show any users list etc, so query has been changed):
Deleted plugins:
-advanced statistic
-members who has visited
-guest tracking

write(4, "\307\0\0\0\3\n\t\t\t\tSELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid, default_tags_ids\n\t\t\t\t\t\n\t\t\t\tFROM forum AS forum\n\t\t\t\t\n\t\t\t\t\n\t\t\t"..., 203) = 203

Please help me!

Best regards
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 01:04 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.04993 seconds
  • Memory Usage 2,156KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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