Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Fabien commented on the plugin PHPMailer
    Does this plugin is compliant with elgg 1.9 ? Thanks
  • Fabien added a new discussion topic email notification slow down object submit in the group Elgg Technical Support
    Hi, Saving an object takes up to 15 s when my contacts ( only 7 in my case) get notify by email of the creation of the object. when i turn down the notification the saving takes 2s. Is it normal ? I m running Elgg 1.8.13. thanks
  • Fabien replied on the discussion topic Use of ElggBatch
    ok I see...thank you Matt for all your explanations and congratulations for your work on Elgg (it is an amazing tool)..and I read that to reproduce the ElggBatch bug you grab something like 25000 users ..well by the time I will have that many users... view reply
  • Fabien replied on the discussion topic Use of ElggBatch
    So basically if i want to grab a huge numbers of entities without doing any processing on them i can use $limit=0 without OOM risk ? that's right ? view reply
  • Fabien replied on the discussion topic Use of ElggBatch
    ok thanks a lot Matt... view reply
  • Fabien added a new discussion topic Use of ElggBatch in the group Elgg Technical Support
    I have read about the use of ElggBatch in several discussion when using elgg_get_entities with $limit is set to 0 to avoid OOM errors. My question is why in Elgg core (1.8.13) there is this kind of code: $friends = get_user_friends($user_guid, "",...
    • Within reason, there is still a memory footprint that's linear with the number of entities so you will run out of memory at some point.  How many entities depends on a number of factors (amount of metadata for example, now that all metadata is loaded with the entity).

      Once the ElggBatch bug is fixed it's definitely better use ElggBatch wherever possible.  You'll still have linear time increases while processing lots of entities but won't have OOM issues.

    • ok I see...thank you Matt for all your explanations and congratulations for your work on Elgg (it is an amazing tool)..and I read that to reproduce the ElggBatch bug you grab something like 25000 users ..well by the time I will have that many users I sure the bug is going to be solved ;-) 

    • If you don't need them, you can improve performance by not creating the user entities (pass 'callback' => '' to elgg_get_entities). You'll get stdClass DB rows instead of ElggUser objects.

      We're not sure the source of the memory leak but I suspect the DB query cache, which stores all result sets and currently has no cache limit. Cash Costello is working on an LRU cache for this (and other memory) caches.

  • Fabien replied on the discussion topic languages and system cache issue in elgg 1.8.12
    @iionly thanks for all your response. I think you are completly right the answer is somewhere here...but unfortunatly my skills in apache config and MySql is quiet poor, nearly inexistant....@mariano in few weeks i will move my web site to Inmotion... view reply
  • Fabien replied on the discussion topic languages and system cache issue in elgg 1.8.12
    Yep I have check the errors...I had (and still have from times to times) the internal 500 errors with some scripts and css (even on a fresh new elgg install with no 3rd party plugin). You should contact Arvixe (good luck) they may try to work on... view reply