ISPconfig on kvm

Discussion in 'Installation/Configuration' started by heureka, Aug 25, 2011.

  1. heureka

    heureka New Member

    Sorry for bothering you - but about one year of googling along with trial-and-error did not solve the topic.

    I am running ISPconfig3, based on Debian lenny, as a kvm-guest on a proxmox-server. The setup caused no problems whatsoever, but from 4 GB of memory assigend to the guest, only 885 MB are recognized and used.

    And this causes mysql to produce a repeating failure:

    ERROR 1135 (00000): Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug.

    Anyone has an idea about this strange behaviour ?

    best regards


    Ulrich
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What are the outputs of
    Code:
    free 
    and
    Code:
    cat /proc/meminfo
    ?

    Do you use a 32- or 64-bit OS?
     
  3. heureka

    heureka New Member

    Free tells me:

    ispconfig:~# free
    total used free shared buffers cached
    Mem: 906284 890700 15584 0 4360 293740
    -/+ buffers/cache: 592600 313684
    Swap: 2896032 924356 1971676

    meminfo:
    ispconfig:~# cat /proc/meminfo
    MemTotal: 906284 kB
    MemFree: 18628 kB
    Buffers: 5320 kB
    Cached: 291548 kB
    SwapCached: 269192 kB
    Active: 612400 kB
    Inactive: 252104 kB
    SwapTotal: 2896032 kB
    SwapFree: 1971676 kB
    Dirty: 220 kB
    Writeback: 0 kB
    AnonPages: 561436 kB
    Mapped: 31028 kB
    Slab: 12748 kB
    SReclaimable: 7516 kB
    SUnreclaim: 5232 kB
    PageTables: 3368 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 3349172 kB
    Committed_AS: 3737948 kB
    VmallocTotal: 122564 kB
    VmallocUsed: 3572 kB
    VmallocChunk: 118732 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    HugePages_Surp: 0
    Hugepagesize: 4096 kB

    the ispconfig is running a 2.6.26-2-486 #1 Sat Jun 11 14:47:34 UTC 2011 i686 GNU/Linux; the kvm-host is running 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux.
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you post the output of
    Code:
    uname -a
    from the ISPConfig machine? Do the commands from post #2 show the correct results on the host?
     
  5. heureka

    heureka New Member

    uname -a:
    2.6.26-2-486 #1 Sat Jun 11 14:47:34 UTC 2011 i686 GNU/Linux

    And what you mean with correct results ?
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Do the commands show the correct amount of RAM on the host?
     
  7. heureka

    heureka New Member

    No - we assigned 4 GB on the kvm-host. The ispconfig-guest only knows about 900 MB. This looks like the basic problem - why mysql can`t fork any further threads.
     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I understand, but do the commands show the correct amount of RAM (4GB) on the host?
     
  9. heureka

    heureka New Member

    The host got 8 GB of Ram, 2 other guests are running on this host, too.

    And the 8 gb are fully recognized. Installing a new kernel (2.6.26-2-amd64) at least solved it - but I would still like to know why this could happen.
     
  10. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

Share This Page