Quote:
ipcs resources are kernel persistent. They cannot persist over a reboot. So, what you said appears to be wrong, or you need to do some more explanation - specifically 'database name' - what is it: a key generated by ftok()? What are we doing here?
- I did not imply a reboot was going to be done in any way shape or form, so if I gave that misinimpression I apologize. The issue is this:
1) We are using a script to clean up any hanging ps/ipcs resources that may be erroneosly be left over after we shut down application servers ( database servers are not being stopped/shutdown).
2) The script works as long as your target search string is up to 8 characters long.
3) We have new instances in our environment which have 9 character strings.
When I use the ipcs -a | grep (a 9 char string) there is no data returned. Unless I am mistaken this is because the ipcs command itself will not detect any search string > 8 characters.
I have tested this out and lo and behold this is an issue. So my question is this:
Q) Is there any way to tweak the command via env settings or ANY other feasible method so that we can get ipcs to detect a search pattern that is longer than 8 characters?
Quote:
Or do you mean a db shutdown/restart? We need clarity. And a decent example.
Again, the database is NOT being shutdown or restarted, it is our application servers which are being shutdown. As far as clarity goes I think the example was pretty clear :
1) ipcs -a | grep 1245678 - DOES return a set of results as the 8 char limit isnt breached.
2) ipcs -a | grep 123456789 - DOES NOT return a set of results with this 9 char search string, I am trying to find a way to get the ipcs command to detect something longer than 8 chars in its search string.
Again, I understand the ipcs command stems for a library within Solaris itself. So I am not going to get into re-writing any part of code and recompiling the kernel,etc.
Rather I am curious to see if anyone else has run into this limitation and how they have worked around it?
Thanks! All positive answers and your time are much appreciated.