I have a request from user to change the file descriptors limit to 8192. The current setting are:
I have tried to change it with command
but when i logged off the server the setting went back to 4096
Is there anyway I can make this change permanent? I know that I can edit the user's .profile or /etc/profile but I am not sure how and what I need to add to the profile. This is the user's .profile
Also, you can see the OS version I am using-HP UX 11.23
Please help, I need to sort this out today..thank you
---------- Post updated at 05:58 PM ---------- Previous update was at 05:34 PM ----------
Thanks for viewing,
I'm answering my own questions, added the line
to the user's .profile:
Lets see if this works
---------- Post updated at 06:16 PM ---------- Previous update was at 05:58 PM ----------
that didn't work:
PHP Code:
ulimit: The specified value exceeds the user's allowable limit.
On a linux system editing /etc/security/limits.conf will allow you to set ulimits on several different levels (user, group, etc).
I don't have access to an HP-UX machine, so I don't know if this caries to that flavour of UNIX. If it's not the same under HP-UX, maybe there is something similar.
The limits for an ordinary user and root are different.
Check "ulimit" when logged in as the user (not root).
The general answer is to up the HP-UX kernel parameter "maxfiles" (maximum files open by one user) then control individual users with "ulimit". Depending on what the application is doing this could also involve increasing the kernel parameter "nflocks".
Personally this has only been necessary with systems incorrectly configured with impersonal access to a database which created umpeen open files per username with "umpteen times users" locked files.
Last edited by methyl; 08-07-2010 at 07:36 PM..
Reason: Correct mathematics for umpteen
We are using csh on our AIX platform, if we have to export/set a specific environment variable we use setenv command but its only valid till session.
How do we set that variable permanent in our csh AIX? Do we put it in userprofile file or something else? (1 Reply)
Hi All
On my Solaris 10 X86, under my root directory I have a file called Aliases. It is owned by root (root:root) and the user (I mean root) has rwx permissions. In this file I have set some aliases like the following
alias a="cd /opt/IBM/WebSphere/AppAerver/Profiles"
When I run the above... (0 Replies)
I read this article as a way to do a non-permanent of something.
I saw 2 problems. The first that my rm is located at /bin/rm. I would assume I would change the location to /bin/rm. The second my rm is a executable file and not a text file. So will replacing my rm file with the shellscript... (3 Replies)
Hi,
I've read forums far and wide trying to learn how to append to my PATH in Solaris 9 and every time I think I am close I discover my system is not configured the same. Its so frustrating because this all stems from a new server I am trying to setup identical to the production machine. (Of... (5 Replies)
I set my TERM variable to work with SMIT and everything works fine but when I logged out and log in again I have to set the variable again.
How can I set a permanent variable into the system so it will be as I wish even if a reboot is needed?
I set variables this way:
export VAR=value (7 Replies)
Hi guys,
I'm running Solars 8 on a V100 server at home for testing.
If I switch user to root and do:
# echo $PATH
This is the output:
/usr/sbin:/usr/bin
I'm using rsync over ssh and need to add /usr/local/bin and /user/local/sbin.
I do this by running the line:
#... (3 Replies)
Hi,
as per my Unix admin all parameters in Ulimit are set to Unlimited in Hard limits but some how few profiles setting data segment part to limited number value. So i wanted to over write in my profile to set unlimited as hard limits are set to unlimited. What is the command to set ulimit for... (1 Reply)