Results 1 to 4 of 4

Thread: memory related issue on FC5

  1. #1
    simonellistonball is offline Intermediate Member
    Join Date
    Apr 2006
    Posts
    20
    Rep Power
    9

    Default memory related issue on FC5

    I have two FC5 machines destined to run zimbra. One of them is working absolutely fine with 3.1.1, running all components.

    The second one has, store, snmp, mta and spell.

    The kernels are identical:
    2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux

    The ram is identical (8GB). The processors are identical (Dual 2.8GHz Xeon)

    However, the machine with fewer components on it fails to start the mail store because ...
    /opt/zimbra/logs/mysqld.log:
    Code:
    060602 13:34:13  mysqld started
    060602 13:34:13  InnoDB: Error: cannot allocate 2547007488 bytes of
    InnoDB: memory with malloc! Total allocated memory
    InnoDB: by InnoDB 29721352 bytes. Operating system errno: 12
    InnoDB: Check if you should increase the swap file or
    InnoDB: ulimits of your operating system.
    InnoDB: On FreeBSD check you have compiled the OS with
    InnoDB: a big enough maximum process size.
    InnoDB: We keep retrying the allocation for 60 seconds...
    InnoDB: Fatal error: cannot allocate the memory for the buffer pool
    060602 13:35:13 [ERROR] Can't init databases
    060602 13:35:13 [ERROR] Aborting
    and
    Code:
    [root@zs2 log]# cat /opt/zimbra/tomcat/logs/catalina.out
    zmtomcatstart: info: stale pid 6059 in pid file: No such process
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    ulimits are unlimited (idenitcal on both machines)

    has been tried with and without swap enabled.

    [root@zs2 log]# cat /proc/meminfo
    MemTotal: 8293120 kB
    MemFree: 7975384 kB

    The only difference between the two machines is that the working one has a hardware RAID controller, and the other one is Software raid based.

    We've run full hardware diags on the non-working machine, and all is reported fine.

    I am at something of a loss as to why this machine can't allocate the RAM. Does anyone have any pointers?

    Many thanks,
    Simon

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    It's failing to alloc since 32bit Linux under normal Kernel can't have more than 2GB per process. You can adjust the RAM % of MySQL and Tomcat(Java) with settings in zmlocalconfig. Try:

    [zimbra@roadshow ~]$ zmlocalconfig | grep mem
    mysql_memory_percent = 40
    tomcat_java_heap_memory_percent = 30


    You can change these values with "zmprov mcf"
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    simonellistonball is offline Intermediate Member
    Join Date
    Apr 2006
    Posts
    20
    Rep Power
    9

    Default

    Yes, I've looked at that. What surprised me was that our other identically setup machine ran fine without changing the memory allocation.

    I am hoping to move everything onto 64 bit FC5, which will take a lot of rebuilding. However, is this actually going to make any difference using the sun jdk for the zimbra store? It should help the MySQL problem with a 64 bit rebuild.

    Does anyone know:
    a) if this is true
    b) if there is a handy x86_64 java 1.5 jdk I can use instead (eg ibm's)?


    Many thanks,
    Simon
    Last edited by simonellistonball; 06-07-2006 at 08:24 AM.

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Ok just saw you are running FC5 which is not supported. To really make a fair test you should wait on our FC5 build rather than try to hack a FC4 build. We also plan to add 64bit support in the near future.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra on a VDS - Memory Problems
    By Oswald-Kolle in forum Installation
    Replies: 4
    Last Post: 05-18-2006, 05:51 AM
  2. Intermittent issue (issue# 5852) ?
    By nick20 in forum Installation
    Replies: 1
    Last Post: 02-08-2006, 02:47 PM
  3. Won't start with too much memory on 32 bits
    By rodrigoccurvo in forum Installation
    Replies: 3
    Last Post: 02-02-2006, 11:03 AM
  4. Replies: 0
    Last Post: 12-28-2005, 09:28 AM

Posting Permissions

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