Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Single process memory limit

Posted on 2002-06-25
7
Medium Priority
?
346 Views
Last Modified: 2012-06-21
I have redhat 7.3 with 4 gigs physical ram on a dual xeon processor.  

I'm aware that linux has a 3 gig memory limit for a single process, splitting the 4 gigs into 1 gig of kernel memory and 3 gigs for the user space.

How do I increae my user space memory from 3 gigs to something higher (the closer to 4, the better)?  Is there just a parameter I can tune?  Will I need to recompile anything?

Thanks,
Brett
0
Comment
Question by:brgordon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 3

Expert Comment

by:DVB
ID: 7109908
ulimit might help you. If not, then you have to recompile the kernel probably.
0
 

Author Comment

by:brgordon
ID: 7110336
I already checked, but ulimit doesn't do anything in relation to this.

There supposedly is a kernel parameter that can be tuned, but I don't know
1) which one
2) where it is
3) how to tune it (what new value should I use)
4) how to recompile

Thanks,
Brett
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 150 total points
ID: 7111761
AFAIK this parameter is compiled in the kernel and cannot be changed dynamically
0
How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

 

Author Comment

by:brgordon
ID: 7111915
ahoffman,

I've read in some places that this parameter can be changed in the kernel source and then recompiled.  The parameter I heard about was called  __PAGE_OFFSET located in /include/asm-i386/page.h

But, I do need more information......


Thanks,
Brett
0
 
LVL 3

Accepted Solution

by:
DVB earned 750 total points
ID: 7118207
Grab the kernel source from your local mirror of http://www.kernel.org/
Edit include/asm-i386/page.h, set __PAGE_OFFSET to the new value and then follow the kernel howto.
In brief,
make menuconfig
make -j4 bzImage modules
make modules_install
cp the kernel image to /boot, and the System.map file
edit lilo.conf,
/sbin/lilo
reboot

Otherwise, you can stick to the redhat sources (install the SRPM), the sources will be dumped in /usr/src/linux. edit, then make menuconfig and use one of the default config files.
0
 

Author Comment

by:brgordon
ID: 7118655
DVB,

Could you elaborate on editing and making the SRPMs from Redhat?  

Is page.h the only file that I need to edit in the source?  What new value should I set it to?  What exactly are the other files that I need to edit?

I'm not that familiar with any of this, so the more detail, the better.

Thanks,
Brett
0
 

Expert Comment

by:CleanupPing
ID: 9088989
brgordon:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question