12-06-2009
you don't have to adjust kernel parameters. check the chuser command or /etc/security/limits file. you can set a system wide default or at the per-user level.
ncargs is how much memory is used
arg_max is the length of the parameter list + environment
Do you really need to send 500k of data as an argument?
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi all,
I am running 7.3 Redhat Linux, I have Oracle database running on it and I have some problem with the memory. every time I startup the database, the memory was peak up to 630M of Ram out 640M ram on the entire box and I didn't specify that much of memory on my database. Oracle advise me... (2 Replies)
Discussion started by: lapnguyen
2 Replies
2. Cybersecurity
I am working on AIX flavor of Unix and was trying to run a script to obtain default settings of user passwords. The script uses the command to obtain default valid user attributes for:
/etc/security/user
for some reason, the message says-
cat: cannot open /etc/security/user... (1 Reply)
Discussion started by: eysheikah
1 Replies
3. UNIX for Advanced & Expert Users
System Parameters:
maximum number of processes = 2048
Network parameters:
ipqmaxlen - 512
rfc1323 - 1
sb_max - 1310720 (2*655360)
tcp_recvspace - 65536
tcp_sendspace - 65536
Udp_recvspace - 655360
Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies
4. AIX
how to set the ulimit on AIX 5.2 version? (3 Replies)
Discussion started by: Shilpi
3 Replies
5. AIX
I have some requirement to tune the kernal parameter but want to know which is equal to tcp_conn_req_max_q in solaris??
thanksin advance.
amir (1 Reply)
Discussion started by: amiri2000
1 Replies
6. Solaris
Hi,
Can you please let me know about kernal parameters?
Where we can see that kernal parameters?
we are using System = SunOS 5.10.
Please let me know commands to see these kernal parameters file or files. (1 Reply)
Discussion started by: kancherla.sree
1 Replies
7. AIX
I am try to tuning a parameter in AIX 5L and 6 (for performance issue.)
I find a link(https://forums.oracle.com/forums/thread.jspa?threadID=886358)
The thread mention two parameter below, I can use "ndd" command to tuning.
tcp_deferred_ack_interval = 2
tcp_deferred_ack_max = 2
but I... (3 Replies)
Discussion started by: nnnnnnine
3 Replies
8. AIX
Hi,
we've a gigabit Ethernet adapter. And we wanted to improve the performance by tuning network parameters. so' as per IBM info center,
http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fnetw_opt.htm
we tried changing the tuning... (2 Replies)
Discussion started by: System Admin 77
2 Replies
9. AIX
Hi,
what are the ideal/best/recommended ulimit settings for a root user in AIX?
I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance.
default:
fsize = 2097151
core = 2097151
... (8 Replies)
Discussion started by: System Admin 77
8 Replies
10. UNIX for Advanced & Expert Users
I have seen two different ways for changing the ulimit for a user in aix. Which one is better?
Option 1
edit /etc/security/limits
oracle:
fsize = -1
data = -1
stack = -1
fsize_hard = -1
nofiles = -1
nofiles_hard = -1
Option 2
... (6 Replies)
Discussion started by: cokedude
6 Replies
quota(2) System Calls Manual quota(2)
Name
quota - manipulate disk quotas
Syntax
#include <sys/types.h>
#include <sys/param.h>
#include <sys/quota.h>
quota(cmd, uid, arg, addr)
int cmd, uid, arg;
caddr_t addr;
Description
The call manipulates disk quotas for file systems that have had quotas enabled with The cmd parameter indicates a command in the following
list that is applied to the user ID uid. The arg parameter is a command specific argument and addr is the address of an optional, command
specific data structure, which is copied in or out of the system. The interpretation of arg and addr is given with each command in the
list that follows:
Q_SETDLIM
Set disk quota limits and current usage for the user with ID uid. The arg parameter is a major-minor device indicating a particular
file system. The addr parameter is a pointer to a struct dqblk structure, defined in <sys/quota.h>. Only the superuser can issue
this call.
Q_GETDLIM
Get disk quota limits and current use for the user with ID uid. The remaining parameters are identical to the Q_SETDLIM command
parameters.
Q_SETDUSE
Set disk use limits for the user with ID uid. The arg parameter is a major-minor device indicating a particular file system. The
addr is a pointer to a struct dqusage structure, defined in <sys/quota.h>. Only the superuser can issue this call.
Q_SYNC Update the on-disk copy of quota uses. The uid, arg, and addr parameters are ignored.
Q_SETUID
Change the calling process's quota limits to those of the user with ID uid. The arg and addr parameters are ignored. Only the
superuser can issue this call.
Q_SETWARN
Alter the disk usage warning limits for the user with ID uid. The arg is a major-minor device indicating a particular file system.
The addr parameter is a pointer to a struct dqwarn structure, which is defined in <sys/quota.h>. Only the superuse can issue this
call.
Q_DOWARN
Warn the user with user ID uid about excessive disk use. This call causes the system to check its current disk use information and
print a message on the terminal of the caller for each file system on which the user is over quota. If the arg parameter is speci-
fied as NODEV, all file systems that have disk quotas are checked. Otherwise, arg indicates a specific major-minor device to be
checked. Only the superuser can issue this call.
Return Values
A successful call returns 0 and, possibly, more information specific to the command specified in the cmd parameter; when an error occurs,
the value -1 is returned and the global variable errno is set to indicate the reason.
Diagnostics
A quota call fails when one of the following occurs:
[EINVAL] The kernel has not been compiled with the QUOTA option.
[EINVAL] The cmd parameter is invalid.
[ESRCH] No disk quota is found for the indicated user.
[EPERM] Only the superuser can issue the call and the caller is not the superuser.
[ENODEV] The arg parameter is being interpreted as a major-minor device, and it indicates an unmounted file system.
[EFAULT] An invalid addr parameter is supplied; the associated structure could not be copied in or out of the kernel.
[EUSERS] The quota table is full.
See Also
"Disk Quotas in a UNIX Environment", ULTRIX Supplementary Documents, Volume 3:System Manager
quota(2)