LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2006, 08:02 PM   #1
megablue
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Open Files (ulimit -n) questions


i'm running an application on Centos 4.3 that require a huge number of open files.
when i'm using non-root account $ulimit -n always limited on 100.
currently i'm using the steps below to get the applicatin running.

login as root
ulimit -n 30000
su my_non_root_account
./my_application


my questions are,
1. How can i make a specified non-root-user to inherit the larger ulimit -n without login as root?
2. How can i run the application from cron-job with the larger ulimit support?
 
Old 07-31-2006, 12:35 AM   #2
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
See /etc/limits (also check "man limits").
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting ulimit to increase # of open files dieyouspammer Slackware 6 02-01-2006 02:42 AM
how to open files from a network server from open office or any apps reycapoy Linux - Software 4 01-26-2006 07:00 PM
'ulimit unlimiated' not allowing core files squinn Linux - General 1 01-18-2006 06:44 PM
change user's ulimit (open files) mpregent Linux - Newbie 1 07-07-2004 02:59 PM
Setting ulimit values in files on Redhat AS 2.1 Darrell22 Linux - Newbie 0 06-29-2004 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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