LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-07-2013, 05:48 AM   #1
tikit
Member
 
Registered: Feb 2008
Posts: 85

Rep: Reputation: 16
Huge pages are stolen by another process


Hello all,

We would like to configure Oracle to use hugepages. Our /etc/sysctl.conf looks as follows
Code:
vm.nr_hugepages = 2563
vm.hugetlb_shm_group = 111
The problem is that even though Oracle is not running there are already some hugepages allocated.

Code:
cat /proc/meminfo | egrep -i huge
HugePages_Total:    2563
HugePages_Free:     1752
HugePages_Rsvd:     1752
HugePages_Surp:      467
Hugepagesize:       2048 kB
I found out that it is a tomcat process but the tomcat user is not in the group configured by the vm.hugetlb_shm_group parameter. So how is it possible that the process gets the hugepages?

We use Suse linux enterprise server 11 SP1 kernel 2.6.32.12-0.7
 
Old 06-09-2013, 08:14 AM   #2
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
I am NOT an expert, but in terms of operating systems free ram is _useless_, so modern operating systems will fill memory when available in order to perform better. Am I off the field? Not sure. Just a thought
 
Old 06-11-2013, 01:31 AM   #3
tikit
Member
 
Registered: Feb 2008
Posts: 85

Original Poster
Rep: Reputation: 16
I think this is not the case when a free RAM can be allocated by another process. Otherwise I don't know what the parameter vm.hugetlb_shm_group is suppossed to be used for. The problem is that when the tomcat process is started before the Oracle, there is not enough free hugepages for Oracle.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I tell if I'm using huge pages? HugePages_Free doesn't change; no app errors adjutrix Red Hat 6 05-21-2010 09:38 AM
Firefox loads some pages with huge font size once in awhile colinstu General 0 11-20-2007 04:42 AM
LXer: Leverage transparent huge pages on Linux LXer Syndicated Linux News 0 04-27-2007 03:33 AM
displaying STOLEN packets stolen using NF_STOLEN venkatesh111 Linux - Networking 0 04-05-2006 01:02 AM
Huge text in man pages and help gekko9 Linux - Newbie 3 05-01-2004 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration