#1  
Old 25th August 2011, 07:19
heureka heureka is offline
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default ISPconfig on kvm

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
Reply With Quote
Sponsored Links
  #2  
Old 26th August 2011, 12:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

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

Do you use a 32- or 64-bit OS?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 28th August 2011, 09:06
heureka heureka is offline
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #4  
Old 29th August 2011, 16:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th August 2011, 16:22
heureka heureka is offline
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

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 ?
Reply With Quote
  #6  
Old 30th August 2011, 10:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Do the commands show the correct amount of RAM on the host?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 30th August 2011, 11:37
heureka heureka is offline
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #8  
Old 31st August 2011, 11:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

I understand, but do the commands show the correct amount of RAM (4GB) on the host?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 31st August 2011, 17:23
heureka heureka is offline
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
The Following User Says Thank You to heureka For This Useful Post:
falko (1st September 2011)
  #10  
Old 1st September 2011, 19:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

This is what I've found:
http://www.linuxquestions.org/questi...isplay-747637/
http://forums.debian.net/viewtopic.php?f=5&t=45950
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
ispconfig3, kvm, memory exhausted, mysql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
ISPConfig forward to VirtualBox ISPConfig Rescue9 General 3 11th March 2011 14:25
chroot SSH IspConfig2 kextra1 General 4 20th January 2011 18:41
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 22:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.