[maemo-community] [maemo2midgard] performance/memory problems after midcom update - solved

From: Ferenc Szekely ferenc at maemo.org
Date: Mon Nov 5 23:52:56 EET 2007
Hi,

After a long day Oskari found the 1 line which needed a # to get rid
of our problems which happened after today's update.

11:23 PM Oskari:
/usr/share/midgard/svn/midcom/trunk/src/net.nehmer.static/navigation.php
   public function get_leaves()
{
// Get the required information with midgard_collector
$mc = midcom_db_article::new_collector('up', 0);
// $mc->set_key_property('topic');
$mc->add_value_property('id');
$mc->add_value_property('guid');
$mc->add_value_property('name');
$mc->add_value_property('title');

11:24 PM needed to comment one line

We still have errors in the midcom log, but those aren't too critical.
Though we should not forgot about them..

The responsiveness of the site is OK now, although the load goes high
sometimes. Hope someone will look into that.

Anyways, thanks guys for saving the day. Special kudos to Niels and Oskari!

-ferenc

More information about the maemo-community mailing list