|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
There are currently, 330 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here |
|
|
|
|
|
Site Visitors Block - Too Heavy a Resource |
|
The site visitors block that many of you have seen in operation at Nuke Cops has been found to be the real culprit behind slow page loads at high volume PHP-Nuke websites. There are hundreds of queries processed in this one block that actually causes a MySQL denial of service attack. Removal of this block has seen a highly significant increase in page generation times at Nuke Cops.
If you are running a high volume PHP-Nuke portal like Nuke Cops or Computer Cops, then try disabling the site visitors block to help our your server load performance. Credits go to Mudcrutch for keeping a sharp eye open.
|
|
Posted on Tuesday, February 10 @ 15:04:20 CET by Zhen-Xjell |
|
|
|
|
| |
|
Average Score: 3 Votes: 2

|
|
|
|
|
|
|
| | The comments are owned by the poster. We aren't responsible for their content. |
| | | | |
| No Comments Allowed for Anonymous, please register | | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by XEULAS (MotherPlucker@KentuckyFriedChicken.com) on Tuesday, February 10 @ 15:45:44 CET (User Info | Send a Message) http://www.SiteLance.com | | Would you say then that this probably also holds true for other 'site-visitor' type blocks, or blocks that combine all that type of data into one block? |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Tuesday, February 10 @ 16:25:01 CET (User Info | Send a Message) http://castlecops.com | Take a look at computercops.biz, the current visitors in the whos online block:
There are currently, 1639 guest(s) and 42 member(s) that are online.
And its taking a couple seconds to generate on most pages. |
]
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by KoH_Li0nHeArT on Tuesday, February 10 @ 15:54:59 CET (User Info | Send a Message) | | Yes I have the same question as well - What about the "Who's online block"? |
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by chris-au on Tuesday, February 10 @ 16:58:45 CET (User Info | Send a Message) http://sengers-au.com | I tried to tell you that a long tiome ago.
Too many images and other unnecessary info that is not needed for the type of site you are operating.
|
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Tuesday, February 10 @ 17:14:25 CET (User Info | Send a Message) http://castlecops.com | | With all the work Nuke Cops has been doing releasing software, I must have missed your suggestion. Can you please point it out to me? This will help me focus in on improvements more in the future. |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by chris-au on Tuesday, February 10 @ 21:56:26 CET (User Info | Send a Message) http://sengers-au.com | If there was a 'search' for this I would be able to find it I suppose.
It was at one or the other time when this site was as slow as an ox-cart.
|
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Tuesday, February 10 @ 23:04:50 CET (User Info | Send a Message) http://castlecops.com | Actually you have a couple venues open to you:
1) search your forum user profile postings
2) search the news articles via the search module
3) search google focusing on you and nuke cops
I'm sure you'll be able to find relatively quickly.
Thanks for helping make Nuke Cops better than anything else. |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by paris on Wednesday, February 11 @ 00:28:04 CET (User Info | Send a Message) | | there are way to many images in the site visitors block and the colors are kinda bright, what I did was take all the redundant icons out I think i got it down to about 6 or 9 icons then i opend them each n photoshop and choose "desaturate" to make them all gray. if anyone wants my gray icon set just pm me ,,, |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by paris on Wednesday, February 11 @ 00:30:42 CET (User Info | Send a Message) | | There are way to many images in the site visitors block and the colors are kinda bright, what I did was take all the redundant icons out I think i got it down to about 6 or 9 icons then i opend them each n photoshop and choose "desaturate" to make them all gray. if anyone wants my gray icon set just pm me. |
]
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Mudcrutch on Tuesday, February 10 @ 20:04:44 CET (User Info | Send a Message) http://www.mudcrutch.com | | hoa... what did i say a few days ago on the forums? oh but i got shot down suggesting it sapped resources... ! |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Tuesday, February 10 @ 21:33:26 CET (User Info | Send a Message) http://castlecops.com | | Hold up there Mudcrutch, I gave you complete credit for your suggestion. Did you not read my reply in that thread? |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Mudcrutch on Tuesday, February 10 @ 21:36:41 CET (User Info | Send a Message) http://www.mudcrutch.com | | no i meant some other idiot... i saw your comment... sorry for the confusion.. :) |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Tuesday, February 10 @ 21:38:41 CET (User Info | Send a Message) http://castlecops.com | :o
Sometimes it takes a fresh person to come into the scene and notice what isn't so obvious to those who deal with this day in and out.
Thanks once again for your 'guess'. It was a real good one. Its helped out both here and computercops.biz. |
]
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Jeruvy on Friday, February 13 @ 10:29:13 CET (User Info | Send a Message) | =)
Good to know your not the only idiot around
(hehe sorry couldn't resist)
Kudos for this, it's such a speedy place around here now.
J.
|
]
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by paris on Wednesday, February 11 @ 00:28:36 CET (User Info | Send a Message) | | There are way to many images in the site visitors block and the colors are kinda bright, what I did was take all the redundant icons out I think i got it down to about 6 or 9 icons then i opend them each n photoshop and choose "desaturate" to make them all gray. if anyone wants my gray icon set just pm me ,, |
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by MadHatter on Wednesday, February 11 @ 02:04:05 CET (User Info | Send a Message) http://www.bindmaker.org | Have you ever thought of just putting it on the right hand side??? that way it would only run the query's on front page loads only...
I really liked that block. there has got to be a way to do all those query's in a single (or close to it) shot is there not?
just a thought. |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Zhen-Xjell on Wednesday, February 11 @ 08:31:04 CET (User Info | Send a Message) http://castlecops.com | | The thought crossed my mind but I'm awaiting some hardware upgrades first. |
]
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by georgiaguy on Wednesday, February 11 @ 08:34:59 CET (User Info | Send a Message) | | at http://www.nukedgallery.net , i made a change to the block so that only PM info is shown for a user. all the rest (members online, etc) is only shown for admins (and i've moved the sql queries into an if(is_admin($admin)) code block). it's sped up my load times by almost 0.6 seconds. |
| | | | |
Re: Site Visitors Block - Too Heavy a Resource (Score: 1) by Dashe on Thursday, February 12 @ 10:17:09 CET (User Info | Send a Message) | You could give my Online block a shot, 2 reasons one its highly configurable and you could turn of the guest info to only show the toal number on rather than all the info. Also I would be interested to see if my block would slow down the site. Just out of curiosity
JAG Online (http://nsd.jagamarog.com) |
| | | | | |