Solved

Single process memory limit

Posted on 2002-06-25
7
344 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 50 total points
ID: 7111761
AFAIK this parameter is compiled in the kernel and cannot be changed dynamically
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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 250 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

623 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