Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2010
    Posts
    5

    Default Out of memory on Debian Etch

    Hi everybody,

    Today I tried to update an oxldapsync version following OX update.

    All steps of update was proceeded as planned, but after all when I launch ldapsync manually I get a kernel "Out Of Memory" message.

    When I launch a "top" command, I can see the memory amount decrease fastest until depletion.

    Are someone already encountered this problem, can someone help me about this ?

    Thanks in advance.

    ----

    My conf :

    Open-Xchange v6.16.0 rev4
    OXLdapSync v1.0.1-4
    Perl 5.8.8

    Debian Etch 4.0
    Kernel 2.6.18

    RAM : 4096 Mo

  2. #2
    Join Date
    Sep 2008
    Posts
    28

    Default

    Hi,

    This is the first time I hear there is a memory problem. How many users do you try to import or are in the context?

  3. #3
    Join Date
    May 2010
    Posts
    5

    Default

    Hi and thanks for response,

    I've got 120 users in all, but this is only update of LDAP Sync tool therefore just one of the users has sustained some changes.

    Thanks

  4. #4
    Join Date
    Sep 2008
    Posts
    28

    Default

    still weird. We have context with contexts with 300+ users and no problems. I think the problem could be getting the users list. Could please put a die at the end of the function getOXUserList in lib/OX/User/Helper.pm. If the script does not die there it will be a problem getting the parsing the user list.

  5. #5
    Join Date
    May 2010
    Posts
    5

    Default

    Thanks a lot for the reply, I'll try this today.

    Thanks again.

  6. #6
    Join Date
    May 2010
    Posts
    5

    Default

    Hi,

    Today I tried to put a die after the function getOXUserList, but there's nothing happened, but I tried to use the old Helper.pm file (version 1.0.1-1 of oxldapsync) and it works, I expect that some function making a loop causes an kernel OoM.

    Did you think that the solution has good or I need to downgrade to version 1.0.1-1 definitely ?

    Great thanks.

  7. #7
    Join Date
    Oct 2010
    Posts
    1

    Default

    I had the same problem with oxldapsync-1.0.1-27.1 on SLES10 SP3.
    I found out that the loop
    while (my $row = $csv->getline ($io))
    in /opt/oxldapsync/lib/OX/User/Helper.pm line 218 is an infinite loop,
    because Text::CSV_XS seems yield empty rows infinitely. This may be a bug in
    perl-Text-CSV_XS-0.23-372.4 (from the SLES 10 SP3 SDK).

    May be the same problem occurs on Debian.

    The problem can be solved by adding

    last if ( ! @fields );

    below my @fields = @$row; (line 220 in lib/OX/User/Helper.pm)

    see also https://bugs.open-xchange.com/show_bug.cgi?id=17045

  8. #8
    Join Date
    May 2010
    Posts
    5

    Default

    Thanks a lot for your reply, I can't try this for the moment
    but if the problem occur I'll try.

    I'll make a feedback here when I did a test under Debian.

    Thanks again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •