Skip to main content

Cron Problem

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

Die Regel in Linie 158 ist noch drin
function clean_up() {
global $_resource;
global $db_table,$db_feeds;
StopWatch( "Cleanup of unpublised feed items");
sql_count();
$clean_q="delete FROM $db_table where not (feed_id in (select $db_feeds.feed_id from $db_feeds where $db_feeds.published>0))";
$_cursor=mysql_query($clean_q);
StopWatch( "Optimize start");
if ( df_check_load(false)) {
$_cursor=mysql_query("optimize table $db_table"); Linie 158
}
StopWatch( "Clean End");
sql_count();

Ich hatte festgestellt das nach dem letzten Cron die Daten nicht aktualisiert wurden und im Backend das alte Datum drinstand.

Was mich wundert ist: Ich habe 3 Websites mit Datafeed iedoch nur auf dieser erscheint der Fehler

Please Log in to join the conversation.

More
11 years 3 weeks ago #2247 by redactie
Replied by redactie on topic Re: Cron Problem
Are the sites on the same server?

same size?

remove the optimize, I will make it configurable in a future release

Please Log in to join the conversation.

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

2 Websiten beim gleichen Hoster jedoch die Größere läuft ohne Fehlermeldung durch

Please Log in to join the conversation.

More
11 years 3 weeks ago #2250 by redactie
Replied by redactie on topic Re: Cron Problem
Question was are the sites on the same server. and is for all sites the mysql database located on the same server?

Please Log in to join the conversation.

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

Ein Hoster, unterschiedliche Servernamen
dehamd048.servertools24.de
magnus.servertools24.de

unterschiedliche Server für MySQL-Datenbanken
Jedoch für alle Seiten die selben Einstellungen
Last edit: 11 years 3 weeks ago by k.m.1.

Please Log in to join the conversation.

More
11 years 3 weeks ago #2252 by redactie
Replied by redactie on topic Re: Cron Problem
still


different hosts, so the load on them might be different.

On a shared hosts 50.000 items might be too much.

and are you sure the mysql settings are identical, if the timeouts for mysql are different then i could explain the problem.

did you try without the optimize action in the script?

Please Log in to join the conversation.

Time to create page: 0.418 seconds