1832296 Members
2268 Online
110041 Solutions
New Discussion

Re: Maxusers on Linux

 
Markus_10
Valued Contributor

Maxusers on Linux

Hi everybody,

I??ve to configure an DL380G2 (Redhat 8.0 Prof) as an File- & Database Server (700-1000 Users).

Where can I set maxusers, max open files or inodes like in hpux? Is it possible to set this in the sysctl.conf file?

Thanks, Markus

3 REPLIES 3
Stuart Browne
Honored Contributor

Re: Maxusers on Linux

THere is no 'max users' settings that I'm aware of.

As for open file handles, and inodes, you might need to up these values.

Yes, you would use 'sysctl.conf' to do this reliably.

The details are not stored in a file on the disk, but are configurable during run time by modifing the contents on the proc file system mounted under /proc/sys/.

The details of the changes you can make are in the kernel documentation in the file "/usr/share/doc/kernel-doc-*/sysctl/*.txt" (probably 'fs' and 'kernel').

In all probability, you won't need to change any of these details.
One long-haired git at your service...
david_69
Advisor

Re: Maxusers on Linux

On a 2.2 kernel /proc/sys/fs/file-max is something like 1024.
On a 2.4 kernel it's something like 4096. I usually blow this way up to some thing like: 115000.

I put this in /etc/rc.d/rc.local:

echo 115000 > /proc/sys/fs/file-max
for inodes I don't know how.

When you say maxusers I think BSD and Solaris.
Under Linux kernel table are (mostly) autotuning.
Take a look at /proc/slabinfo and the doc that surround it.
Monitoring this file will give you a better Idea of if you have "kernel tunables" problems.
fall down seven time stand up eight
Steven E. Protter
Exalted Contributor

Re: Maxusers on Linux

Out of the box Linux will be able to handle lots of users without much adjustment. If you run into specific issues, you can make the adjustment there.

I'm an HP-UX admin, and the way the kernel and limits is handled in Linux is totally different.

The only Linux kernel modificaitons I would consider making are those specifically recommended by the database manufacturer themselves for Linux.

Just because you had to make adjustment A for HP-UX doesn't mean much in the Linux world.

Good luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com