LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-20-2006, 01:38 PM   #1
ablanchard
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
Question Ulimit -l max locked memory question


Hi,

We install linux redhat 3.0 update with the default parameter.

When we make a ulimit -l the max locked memory is set to 4kb.

We have an application that crash on regular base (sde) and the responsable of this application ask us to put the ulimit -l to unlimited.

I am looking around to found information on this parameter but can't find any except the definition in the man page that say :

The maximum size that may be locked into memory

What does it mean?

Is there any consequence to initialize it to unlimited?

Thank for any info

Andre
 
Old 01-20-2006, 03:35 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Is there any consequence to initialize it to unlimited?
Yes, if you have an app running with a memory leak it will eventually use up all your available RAM, and bring your box to a crawl. I would suggest not making it unlimited, but rather, lower than the amount of RAM you have available after everything that needs to be running is started up.

Quote:
We install linux redhat 3.0 update with the default parameter.
You are not seriously running RHAT 3.0 are you?
 
Old 01-20-2006, 03:40 PM   #3
ablanchard
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

Thank for the info

The sde application does have a memory leak. It will only be corrected in release 9.2 so I'll do as you say.

Yes we do run REHDAT ES 3.0 update 2. Is there a problem?

Andre
 
Old 01-20-2006, 03:57 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Yes we do run REHDAT ES 3.0 update 2. Is there a problem?
Ah, see you didn't mention enterprise before, so I thought you meant Redhat 3.0 which is probably some 10 years old
 
  


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
Limit max thread and memory for application in linux kernel 2.4.x manhvt Linux - General 4 07-12-2005 03:41 PM
locked memory size manojg Linux - Enterprise 0 12-14-2004 06:48 PM
What is the max memory a process can use? shelby Linux - Hardware 1 04-27-2004 12:05 PM
What's the Max XP memory ( 4GB ? ) deft General 3 01-20-2004 11:16 PM
Does anyone know the max memory a process can use? A_quest_guy Linux - General 7 07-18-2002 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:17 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