Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

How to change the permission for JVM shared memory?

Thread view: 
Sumant  Sankaran - 27 Mar 2008 15:02 GMT
I am just wondering whether someone else out here has faced a similar
issue or may have a solution for this.

I am launching a java program (jdk 1.5) in linux (redhat 4) and then
checking the permission of the shared memory using the following
command

ipcs -a

I am seeing a shared memory permission of 777

------ Shared Memory Segments --------
      key        shmid      owner      perms      bytes
nattch     status
0x00000000 58884100   <my user id>     777        614400
2          dest

How do I go about altering the permissions of the shared memory? Is
there any option/workaround that I should be using ?

Thanks
Sumant
Hugo - 28 Mar 2008 18:01 GMT
> I am just wondering whether someone else out here has faced a similar
> issue or may have a solution for this.
[quoted text clipped - 18 lines]
> Thanks
> Sumant

Try looking at http://www.cs.cf.ac.uk/Dave/C/node27.html; the link was
helpful when I was dabbling in shared memory earlier this year.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.