linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: BUG:: SYSV IPC shmem reported as "(deleted)" in process maps file
       [not found] <3D6FDFF8.C0D86A3C@ncbi.nlm.nih.gov>
@ 2002-08-30 21:15 ` Anton Lavrentiev
  2002-09-05 17:08   ` Christoph Rohland
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Lavrentiev @ 2002-08-30 21:15 UTC (permalink / raw)
  To: linux-kernel, linus; +Cc: vakatov

Dear Linux Developers:

/proc/#/maps file of a process, which has a shared memory segment attached,
prints the segment as "(deleted)" while in fact the segment is fine and sound.
This seems to be quite confusing.

cat /proc/#/maps:
40018000-40022000 rw-s 00000000 00:05 5865476    /SYSV01315549 (deleted)
4021b000-40225000 rw-s 00000000 00:05 5898248    /SYSV012cc3bc (deleted)

ipcs -a:
0x01315549 5865476    ncbiduse  666        40960      1
0x012cc3bc 5898248    ncbiduse  666        40960      1

Best regards,

Anton Lavrentiev
NCBI/NLM/NIH
Bethesda MD 20894

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG:: SYSV IPC shmem reported as "(deleted)" in process maps file
  2002-08-30 21:15 ` BUG:: SYSV IPC shmem reported as "(deleted)" in process maps file Anton Lavrentiev
@ 2002-09-05 17:08   ` Christoph Rohland
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Rohland @ 2002-09-05 17:08 UTC (permalink / raw)
  To: Anton Lavrentiev; +Cc: linux-kernel, linus, vakatov

Hi Anton,

On Fri, 30 Aug 2002, Anton Lavrentiev wrote:
> cat /proc/#/maps:
> 40018000-40022000 rw-s 00000000 00:05 5865476    /SYSV01315549 (deleted)
> 4021b000-40225000 rw-s 00000000 00:05 5898248    /SYSV012cc3bc (deleted)
> 
> ipcs -a:
> 0x01315549 5865476    ncbiduse  666        40960      1
> 0x012cc3bc 5898248    ncbiduse  666        40960      1

Works as designed. 

The internal implementation creates the file unlinked. SYSV is one
holder of this open file. The display may be irritating but IMHO its
internal simplicity is worth to live with it.

Greetings
		Christoph



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-05 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3D6FDFF8.C0D86A3C@ncbi.nlm.nih.gov>
2002-08-30 21:15 ` BUG:: SYSV IPC shmem reported as "(deleted)" in process maps file Anton Lavrentiev
2002-09-05 17:08   ` Christoph Rohland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).