LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 07-09-2009, 08:04 PM   #1
kamal_k17
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Can't able to allocate the large pages in the mysql instance


Hi all,

i having issue on the largepage size .. like.I am totally strucked in this error .. and donno how to fix the issue ..

error msg :

Warning: Failed to allocate 331350016 bytes from HugeTLB memory. errno 12
Warning: Using conventional memory pool
090708 16:43:45 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.45-log' socket: '/var/run/mysqld/mysql1.sock' port: 3306 Source distribution

Following are my server configurations:

mysql> show variables like '%large%';
+---------------------+---------+
| Variable_name | Value |
+---------------------+---------+
| large_files_support | ON |
| large_page_size | 2097152 |
| large_pages | ON |
+---------------------+---------+
3 rows in set (0.00 sec)

/etc/sysctl.conf

# shmem allowed per segment (12G in this case)
kernel.shmmax = 1560281088
# total shared memory (4KB/page = 16GB)
kernel.shmall = 4194304
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536

/etc/security/limits.conf

mysql soft memlock 5242880
mysql hard memlock unlimited

/proc/meminfo

HugePages_Total: 20
HugePages_Free: 20
HugePages_Rsvd: 0
Hugepagesize: 2048 kB


[root@atzsdbal009 mysql1]# id mysql
uid=201(mysql) gid=200(mysql) groups=200(mysql)

[root@atzsdbal009 mysql1]# cat /proc/sys/vm/hugetlb_shm_group
200

[root@atzsdbal009 mysql1]# cat /proc/sys/vm/nr_hugepages
20

[root@atzsdbal009 mysql1]# free -m
total used free shared buffers cached
Mem: 64443 1321 63122 0 192 626
-/+ buffers/cache: 502 63940
Swap: 8191 0 8191

[root@atzsdbal009 mysql1]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

[root@atzsdbal009 mysql1]# uname -a
Linux 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Please any having any idea on this issue share with me .. Thanks !!

-- Kamalakkannan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing a Large document on multiple pages eteck Linux - General 2 08-14-2008 05:35 AM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM
script to check instance of PHP & mySQL running on Unix platform kushalkoolwal Programming 7 04-26-2006 09:40 PM
Transfering a large MySql database E-Oreo Programming 3 06-04-2004 07:15 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM


All times are GMT -5. The time now is 04:21 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration