what's: 'adjust the shared memory'
what's: 'recycle' my be reboot ?? -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
What I need to do is tune the shared memory segments on the solaris system - such as the;
shmsys:shminfo_shmmax
semsys:seminfo_semmnu
located in /etc/system
However since this is a heavily used system I do not wish to reboot the server unless necessary. Is there any other options to tune these shared memory segments without rebooting the box.
It's a nuisance but you have to guess plan the amount of shared memory you will need on *most* UNIX systems. I started with Solaris, moved to AiX and when I cam back to Solaris remembered what a pain it was.... Mike
Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884
Hi Stu,
there are two good command to solve shared memory problem.
ipcs - to see all shared memory segments.
ipcrm - to free not used shared memory segments.
Regards Boris
if you've ever managed development servers then you will come across this problem quite often(damn and blast those developers) :-}
Are you familiar with the day-to-day owners of the shared memory segments? Then you can identify and flush out shared memory with ipcs -a and grep -v the shared memory users who you don't wan't to work with. then it's a simple case of grabbing the shmid keys of the grep and using ipcrm -s and ipcrm -m to clean and grab back those chunks of memory and make them available to more pressing applications/users.
...but be careful, you really need to be sure on this!
Ok so Solaris needs a reboot but this is a good time to manage those other quickies that a busy business won't normally give you the time to perform.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.