• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Appendixes > Tuning Your System

C.8. Tuning Your System

C.8.1. Things to Watch

Did you reserve enough swap space? You should have at least as much swap as you have main memory. If you have little main memory, then you should have double that amount as swap. Do not be fooled by the result of the vmstat command—read the manpage and realize that the small value for free memory shown there is (usually) correct.

With Solaris there seems to exist a difference between virtually generated processes and real processes. The latter are extremely dependent on the amount of virtual memory. To test the number of both kinds of processes, try a small program of mine, testpid.c, available from my web page. Start it at the console without starting the X Window System, and not as root. The first value is the hard limit of processes, and the second value the number of processes you can really create given your virtual memory configuration. Tweaking your ulimit values may or may not help.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint