Closed (duplicate)
Project:
Google Sitemap
Version:
4.7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2007 at 15:42 UTC
Updated:
14 Mar 2007 at 16:59 UTC
It took me awhile to find out that you can break the sitemap into chunks and change the chunk size.
On my setup sitemaps crash (lock up MySQL) not only with 10000 chunk size, but even with 1000. So far it works when I reduce it to 300, but I still do not have a good understanding of the pros / cons / parameters of chunk configuration.
I think this should be documented, plus chunk size should be configurable through UI.
Comments
Comment #1
jt6919 commentedso please post - how do you do this?
Comment #2
jt6919 commentedanyone know how to do his for 1.x??
Comment #3
dkruglyak commentedThere is a hard-coded constant in the module file...
Comment #4
jt6919 commentedthat doesn't help - can you tell me specifically where in the module is the code I need to change, and what I need to change it to?
any help most appreciated!
Comment #5
jt6919 commentedI haven't gotten any responses to this at all - if you are reading this and you can help me fix this problem (break the sitemap down into chunks)...
I WILL PAY YOU IF YOU CAN HELP.Please contact me ASAP.
Comment #6
dkruglyak commentedChange the first statement in gsitemap.module, that defines GSITEMAP_CHUNK_SIZE
Comment #7
jt6919 commentedsorry.....I'm using 5.x-1.dev and the 5.x version of this module has no such option. BEWARE - you can't upgrade to drupal 5.x until this feature is included (and have a large sitemap)
Comment #8
dkruglyak commentedActually you can. I simply disabled this module since performance hit is unacceptable and value is dubious.
Comment #9
jt6919 commentedthat was my whole point - you can't upgrade to 5.x and have the same features (the ability to break a sitemap down into chunks). The XML Sitemap module for 5.x gives all entries, and you are right - the performance hit and degradation of the server (with more than 10,000 nodes) is absolutely unbelievable.
To FIX the module 5.x and make it configurable to have the index file and sitemap chunks would be of GREAT value (for anyone with more than 10,000 nodes). Otherwise - you can't have a google sitemap and lose CONSIDERABLE search rankings and indexing.
Comment #10
dkruglyak commentedI have seen no evidence that this sitemap improves indexing / rankings. In fact my traffic went up after I disabled it.
However it is a nice plaything for diagnostics.
Comment #11
darren ohComment #12
dkruglyak commentedDuplicate of http://drupal.org/node/79583
Comment #13
jt6919 commentedIf you saw no evidence of improved traffic from using an XML Sitemap - then you are doing something wrong, or your site is so small it wouldn't matter anyway.
An xml sitemap:
- gets you indexed in Yahoo! faster, and gets more Yahoo traffic (when you add the feed into Yahoo! SiteExplorer)
- gets you indexed faster and more completely with google (when sitemap is verified in google webmaster tools)
if you got more traffic when you removed it, it was merely coincidence. If you didn't get more traffic from it - either you have very few pages or you didn't bother to register your sitemap with Yahoo (siteexplorer) and google (webmaster tools)
Comment #14
dkruglyak commentedI have >25K nodes and registered the sitemap just fine. But no evidence of traffic improvement.
If you have any objective way to measure the impact let me know.