Skip to Content
Sun Performance and Tuning: Java™ and the Internet, Second Edition
book

Sun Performance and Tuning: Java™ and the Internet, Second Edition

by Adrian Cockcroft, Richard Pettit
April 1998
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 11m
English
Pearson
Content preview from Sun Performance and Tuning: Java™ and the Internet, Second Edition

Customizing the Execution Environment

The execution environment is largely controlled by the shell. There is a command which can be used to constrain a program that is hogging too many resources. For csh the command is limit; for sh and ksh the command is ulimit. A default set of Solaris 2 resource limits is shown in Table 7-1.

Users can increase limits up to the hard system limit. The superuser can set higher limits. The limits on data size and stack size are 2 Gbytes on recent machines with the SPARC Reference MMU but are limited to 512 Mbytes and 256 Mbytes respectively by the sun4c MMU used in the SPARCstation 1 and 2 families of machines.

Table 7-1. Resource Limits
Resource Name Soft User Limit Hard System Limit
cputime unlimited unlimited ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Panic! UNIX® System Crash Dump Analysis

Panic! UNIX® System Crash Dump Analysis

Chris Drake, Kimberley Brown

Publisher Resources

ISBN: 0130952494Purchase book