Donncha O Caoimh writes:
> Examing the output from "top" on a Sun box I noticed that all the swap
> space on it was being used..
> "Memory: 512M real, 8104K free, 512M swap in use"
>> I know Solaris likes swap but using all of the swap when the box isn't
> even busy? (there are only 15 httpd processes running..)
/bin/df -k /tmp. Check /tmp for huge (temp) files. And give the old
tmpfs(7fs) man page a read :)
> Does Solaris still leak memory like the Apache httpd.conf says? I could
> boost max_requests up a bit if I was sure it was safe to do so..
This comment may be slightly out of date. In any case, the installed
patch cluster may fix this (or not :)
> Does anyone know the Solaris equivalent of the "free" command that'll
> list something like this:
> total used free shared buffers
> cached
> Mem: 257028 252472 4556 31856 74208
> 106208
> -/+ buffers/cache: 72056 184972
> Swap: 128484 3856 124628
Nope, unfortunately. But you could try sdtprocess and do the maths :)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!