Skip to main content

Cron Problem

More
11 years 3 weeks ago #2150 by k.m.1
Cron Problem was created by k.m.1
Hallo

Ich habe folgendes Problem
Einmal wöchentlich mache ich einen Cronjob und nach dem dieser dürchgührt bzw.abgeschlossen ist sind keine Produkte, Fotos, Beschreibungen usw mehr vorhanden. Es handel sich um ca. 220.000 Artikel.
Fehlermeldung im Adminbereich am Ende des Cronjob: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/www/webxxx/html/j1/administrator/components/com_datafeeds/cron/feedsql.php on line 163
Clean End - items in database : 32.109
In meiner Datenbank erscheint unter den dataitems: in Benutzung
Wenn ich dataitems Tabelle repariere sind die Daten, Fotos usw. wieder vorhanden, jedoch vermute ich das die alten Artikel nicht gelöscht wurden

Danke vorab

Please Log in to join the conversation.

More
11 years 3 weeks ago #2151 by redactie
Replied by redactie on topic Re: Cron Problem
your database crashes.


I can't tell you why that happens, bottom line is that your server/database is unsuitable to handle the amount of items and/or the load during import.

220.000 is fairly big on a shared host, it shouldn't be on a VPS.

Please Log in to join the conversation.

More
11 years 3 weeks ago #2153 by k.m.1
Replied by k.m.1 on topic Re: Cron Problem
Hallo Bram

Vielen Dank für die schnelle Antwort

Die Frage meines Hosters war: Mit welchem Befehl das Script ausgeführt wird.
Vielleich können Sie mir das mitteilen ?

Ich habe zum Beispiel bei einem anderen Hoster ca. 600.000 Artikel und der Cron läuft problemlos.

Please Log in to join the conversation.

More
11 years 3 weeks ago #2154 by redactie
Replied by redactie on topic Re: Cron Problem
seems to be either the delete or optimize statement.


please check the file mentioned in the error message line 163, it's that mysql command, or the one above it.

Please Log in to join the conversation.

More
11 years 3 weeks ago #2155 by k.m.1
Replied by k.m.1 on topic Re: Cron Problem
Hallo Bram

Das steht in den Zeilen
$_cursor=mysql_query("select count(*) as count from $db_table",$_resource);(Zeile 162)
$row = mysql_fetch_assoc($_cursor); (Zeile 163)
StopWatch( "Clean End - ".$row." items in database"); (Zeile 164)

ist das os in Ordnung oder muss etwas geändert werden?

Please Log in to join the conversation.

More
11 years 3 weeks ago #2158 by redactie
Replied by redactie on topic Re: Cron Problem
Die Fehler Meldung kommt nachdem is schief gelaufen ist.

Welche Zeilen gibt es noch im Import Fenster?


Cleanup of unpublised feed items : 0.000
363 items in database : 0.000
Optimize start : 0.007
2013-03-04T11:12:33+01:00
System load:0.55,0.41,0.31
Clean End : 0.023
363 items in database : 0.025

Please Log in to join the conversation.

Time to create page: 0.401 seconds