Sponsored Content
Operating Systems Solaris ulimit setting problem on Solaris Post 57783 by kiem on Friday 5th of November 2004 03:17:37 PM
Old 11-05-2004
The problem i found is that there's a missing line in the /etc/system..

Had to add the line:
set rlim_fd_max=4096

Without this condition, the default value for nofiles is half of the rlim_fd_cur.
 

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Setting Ulimit

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

3. 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

4. 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

5. Solaris

Problem while setting NIS master on Solaris 10

Hi All, I get below error while running cd /var/yp /usr/sbin/ypinit -m Error Code - 1 updated netmasks make : warning : target all not remade because of errors current working dir /var/yp *** error code 1 *** make : fatal error : command failed for target 'k' error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies

6. UNIX for Advanced & Expert Users

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 (7 Replies)
Discussion started by: Waitstejo
7 Replies

7. 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

8. 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

9. 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

10. 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
MMAP2(2)						     Linux Programmer's Manual							  MMAP2(2)

NAME
mmap2 - map files or devices into memory SYNOPSIS
#include <sys/mman.h> void *mmap2(void *addr, size_t length, int prot, int flags, int fd, off_t pgoffset); DESCRIPTION
The mmap2() system call operates in exactly the same way as mmap(2), except that the final argument specifies the offset into the file in 4096-byte units (instead of bytes, as is done by mmap(2)). This enables applications that use a 32-bit off_t to map large files (up to 2^44 bytes). RETURN VALUE
On success, mmap2() returns a pointer to the mapped area. On error -1 is returned and errno is set appropriately. ERRORS
EFAULT Problem with getting the data from userspace. EINVAL (Various platforms where the page size is not 4096 bytes.) offset * 4096 is not a multiple of the system page size. mmap2() can return any of the same errors as mmap(2). VERSIONS
mmap2() is available since Linux 2.3.31. CONFORMING TO
This system call is Linux-specific. NOTES
Nowadays, the glibc mmap() wrapper function invokes this system call rather than the mmap(2) system call. On ia64, the unit for offset is actually the system page size, rather than 4096 bytes. SEE ALSO
getpagesize(2), mmap(2), mremap(2), msync(2), shm_open(3) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-04-22 MMAP2(2)
All times are GMT -4. The time now is 03:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy