Setting Ulimit problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setting Ulimit problem
# 1  
Old 05-13-2010
Setting Ulimit problem

I changed the standard Ulimit sometime back. But when I change it back, the setting does not get updated.
How do I make the change permanent

Waitstejo
# 2  
Old 05-13-2010
Do you remember how you changed the ulimit and what Operating System you have?
This User Gave Thanks to methyl For This Post:
# 3  
Old 05-14-2010
Did you relog?
This User Gave Thanks to zaxxon For This Post:
# 4  
Old 05-14-2010
I am using Sco Open Server 5. Unfortunately I don't remember exactly how I changed the ulimit. But I guess I must have used the standard syntax. Zaxxon What do you mean by "did you relog?"
# 5  
Old 05-14-2010
Quote:
Originally Posted by Waitstejo
I am using Sco Open Server 5. Unfortunately I don't remember exactly how I changed the ulimit. But I guess I must have used the standard syntax. Zaxxon What do you mean by "did you relog?"
Log out and log back in. Like user groups, these settings are applied at login.
This User Gave Thanks to Corona688 For This Post:
# 6  
Old 06-07-2010
Zaxxon/Corona688, When I log in as root and change the ulimit, it remains as I have changed. But the next day it changes back to the wrong Ulimit.
# 7  
Old 06-08-2010
Quote:
Originally Posted by Waitstejo
Zaxxon/Corona688, When I log in as root and change the ulimit, it remains as I have changed. But the next day it changes back to the wrong Ulimit.
I believe that on SCO, you can set ulimit settings that persist across boots (and logins) in /etc/profile or /etc/default/login.

It's likely that you edited one of those files previously.
This User Gave Thanks to malcolmpdx For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help with setting coredumpsize using ulimit

A coredump is being created by one of our applications on Solaris server and occupying entire space on the mount, thereby bringing down the application. While we try to identify the root cause, i tried to limit to limit the size of the core dump. Executed below command in shell and also updated... (2 Replies)
Discussion started by: kesani
2 Replies

2. AIX

Ulimit setting

Hi, Our application team is asking me to set ulimit parameter in my AIX 6.1 TL8 box. Some of them i set already. address space limit (kbytes) (-M) unlimited locks (-L) unlimited locked address space (kbytes) (-l) 64 nice (-e) ... (3 Replies)
Discussion started by: sunnybee
3 Replies

3. Red Hat

setting ulimit for a user

The root user runs the following ulimit -a | grep open and gets a result of open files (-n) 8162 A user runs the same command and gets a result of open files (-n) 2500 How can you set the ulimit of the user to... (2 Replies)
Discussion started by: jsanders
2 Replies

4. UNIX for Advanced & Expert Users

Help with Ulimit Setting

All, Our SA is considering setting the max open files from 2048 to 30K. This sounds like a drastic change. Does anybody have an idea of the negative impacts of increasing the open files too high? Would like to know if this change could negatively impact our system. What test should we run to... (2 Replies)
Discussion started by: wcrober
2 Replies

5. UNIX for Advanced & Expert Users

setting ulimit -n with a value more than 1024000

I would like to set the maximum number or open files per process to be greater than 1024000 (for specific application scalability purpose). I am using RHEL 5.3/Ext4. %sysctl fs.file-max fs.file-max = 164766821 I also have added the folloing to /etc/security/limits.conf * ... (7 Replies)
Discussion started by: Hsianglung Wu
7 Replies

6. SCO

problem with ulimit

hi, i cant set ULIMIT for normal user (file size more than 2gb).but in root user it is working fine.in user it is giving error like "limit exceeded (priviledged user)". (2 Replies)
Discussion started by: prakrithi
2 Replies

7. Shell Programming and Scripting

Setting Ulimit

How do i set ulimit for user (4 Replies)
Discussion started by: Krrishv
4 Replies

8. Programming

ulimit problem

I would like to know where is the ulimit value stored in the shell. And how to get or modify it using the C program. I run the command ulimit it shows me unlimited and quits. Where that value is stored. Thanks (1 Reply)
Discussion started by: mobile01
1 Replies

9. Solaris

ulimit setting problem on Solaris

How do you make the ulimit values permanent for a user? by default, the root login has the following ulimits: # ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 8192 coredump(blocks) unlimited nofiles(descriptors) 1024 memory(kbytes)... (2 Replies)
Discussion started by: kiem
2 Replies

10. UNIX for Dummies Questions & Answers

ulimit problem

i've encountered the following problem with sco unixware7. after using the "ulimit -f unlimited" command and then using "ulimit -a" it lists the filesize as unlimited. BUT, when type the ulimit command without parameters, the output is given as 4194303 so i can't create a file bigger than... (4 Replies)
Discussion started by: roydv
4 Replies
Login or Register to Ask a Question