vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Sitemap-cronjob-error - "MySQL-server has gone away"

This is a discussion on Sitemap-cronjob-error - "MySQL-server has gone away" within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I tried to read carefully all at least to me relevant former threads, but didn´t find anything regarding my problem. ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 05-13-2008, 01:32 PM
Junior Member
 
Real Name: Dietmar
Join Date: Feb 2008
Location: Germany
Posts: 5
Sitemap-cronjob-error - "MySQL-server has gone away"

I tried to read carefully all at least to me relevant former threads, but didn´t find anything regarding my problem. So apologies for possibly double posting.

For a few days I´m always getting sitemap-errors with the automatically started cronjob from within vbulletin.

This is the error-email from vbulletin:
------------------------------------------------
Database error in vBulletin 3.7.0:

Invalid SQL:

INSERT INTO cronlog
(varname, dateline, description, type)
VALUES
('vbseo_sitemap_task',
1210638645,
'Google Sitemap Created',
0);

MySQL Error : MySQL server has gone away
Error Number : 2006
-----------------------------------------------------
My config: vb3.7, vbseo3.2rc5 and the recent sitemap generator.

I tried the hint with the "vbseo_linkback"-fix with no success.

If I´m starting the sitemap-generation manually within the sitemap-admin-panel, everything seems to be ok.

My host restricts the cronjob-duration to 30 seconds and my forum is increasing. Can this time-limit cause the failure?

Many thanks in advance for a possible reply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-13-2008, 02:44 PM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 7,542
Blog Entries: 3
Send a message via MSN to Mert Gökçeimam
Hello ,

The problem is possibly related to your mysql wait_timeout setting. Try increasing wait_timeout setting.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-13-2008, 03:43 PM
Junior Member
 
Real Name: Dietmar
Join Date: Feb 2008
Location: Germany
Posts: 5
Thanks! I will figure that out with my host.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-20-2008, 12:50 PM
Member
 
Real Name: administrator
Join Date: Sep 2006
Posts: 50
Treelo, what host do you have? Hostgator? Have they recently upgraded your PHP or SQL?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-20-2008, 03:42 PM
Junior Member
 
Real Name: Dietmar
Join Date: Feb 2008
Location: Germany
Posts: 5
My host is Hosteurope. They changed a parameter, but didn´t tell me which parameter - with no effect.

Hosteurope is going to update the server with the new versions of Apache (2.5.2) and PHP (5.2.6 and 4.4.8) in the next time.

When I´m preventing the cronjob from sending any emails or creating log-entries, the error doesn´t occur.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-03-2008, 04:10 AM
Junior Member
 
Real Name: Michael
Join Date: May 2008
Posts: 6
could be that execution time for the script is too low and script is
interrupted therefore. I would recommend to ask hoster to increase
above mentioned variable, then it should work (in case I'm right here.
For me it fixed this nasty prob)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-03-2008, 04:47 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
Please try to modify your vbseo.php file:
FIND:
PHP Code:
vbseo_close_db(); 
REPLACE WITH:
PHP Code:
//vbseo_close_db(); 
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-09-2008, 04:21 PM
Junior Member
 
Real Name: Dietmar
Join Date: Feb 2008
Location: Germany
Posts: 5
@Lappen:
I´m afraid, that the hoster isn´t willing to increase the timeout for cronjobs. I asked the hotline about the timeout-limit within higher-class webspace-products and got contradictory answers from different hotliners. I´m afraid again, that the timeout will stick to 30 seconds. I searched around for other competitors in the German webhosting-scene and found a pretty big hoster with 90 seconds of timeout even within the lower positioned webspace-products.

@Oleg:
Thank you very much for the hint, I´ll give it a try.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 06-12-2008, 06:05 PM
Junior Member
 
Real Name: Dietmar
Join Date: Feb 2008
Location: Germany
Posts: 5
Quote:
Originally Posted by Oleg Ignatiuk View Post
Please try to modify your vbseo.php file:
FIND:
PHP Code:
vbseo_close_db(); 
REPLACE WITH:
PHP Code:
//vbseo_close_db(); 
So the closing of the database is commented out?

Anyway, thanks a lot, Oleg, this worked! I turned on the log-entry- and emailing-option and no further database-error occurred.

So it´s no problem to stick to this changed code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 06-12-2008, 06:35 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
That should be addressed in the next build.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 07-07-2008, 01:54 AM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,473
Still having this problem in 2.2

re-commented the close(), and it still times out.

my wait_timeout is up there too... 90secs



Forum Display: 2041
Show Thread: 111234
Show Post:
Member Profiles: 45886
Poll Results: 1830
Archive: 0

Total Indexed URLs: 1064317
Total Processing Time: 1,547,805.42 seconds

which means, this hasn't run successfuly via the task in months :(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 07-07-2008, 02:08 AM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,473
this is also probably reaking havoc on my SE results...

i just ran the last one by hand, refreshing everytime it died.

without it, the auto-task ends up with results all over the place, timeouts, double-runs, massive url count fluctuations... etc etc

:(
Attached Thumbnails
vbulletin-options-hondaswap-forums-vbulletin-admin-control-panel_1215407248589.png  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 07-07-2008, 02:35 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
What is your PHP max_execution_time setting?
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 07-07-2008, 02:46 AM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,473
30 secs. when higher, i run out of apache->sql connection ports or something... and then i get sigfaults and sigterms and lockups


Ideally, i'd like to see this run in stages
-run
-make conenction
-select stuff for first file
- write file
-close
- wait setting (as already in the options... which doesn't seem to do anything BTW)
- make new connection
-write file 2

etc etc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 07-07-2008, 03:08 AM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,473
I removed member prodiles from my sitemap

2008-07-07 02:01 88.86 s 114,417 -84,165 Yes Yes
2008-07-07 01:02 224.26 s 198,582 -865,735 Yes Yes



that's a SIGNIFICANT time drop for 45k users... but somehow ended up with -84k? (does it also drop social pages as well? perhaps that's the dupe)

maybe some time can be found in the members area

Last edited by briansol; 07-07-2008 at 03:24 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Keep getting the following error: "Sitemap file not found" robdog Troubleshooting 1 03-12-2008 03:40 PM
Sitemap status with google is "Error" ChrisGuthrie.net Troubleshooting 5 04-20-2007 03:18 AM
Don't show "social bookmark" icons in "private" or "members only" forums? john Feature Requests 5 09-09-2006 05:11 AM


All times are GMT -4. The time now is 04:42 PM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.