[molpro-user] Molpro not clearing memory

Jesse Kadosh jkadosh at ualberta.ca
Tue Aug 10 18:56:18 BST 2004


Dear Charles,

Thanks for your suggestion; I just tried ipcs in my cluster's terminal, but it 
lists the following in response:

==========================================================================
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
 
------ Semaphore Arrays --------
key        semid      owner      perms      nsems
 
------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
==========================================================================


/proc/meminfo gives the following information, which may be useful:

====================================================================
        total:    used:    free:  shared: buffers:  cached:
Mem:  4113354752 3729543168 383811584        0 274096128 373055488
Swap: 8587149312        0 8587149312
MemTotal:      4016948 kB
MemFree:        374816 kB
MemShared:           0 kB
Buffers:        267672 kB
Cached:         364312 kB
SwapCached:          0 kB
Active:         452424 kB
ActiveAnon:      50056 kB
ActiveCache:    402368 kB
Inact_dirty:   2665824 kB
Inact_laundry:  133448 kB
Inact_clean:         0 kB
Inact_target:   650336 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4016948 kB
LowFree:        374816 kB
SwapTotal:     8385888 kB
SwapFree:      8385888 kB
HugePages_Total:     0
====================================================================

Jesse







>===== Original Message From Charles Edwin Webster
>dear jesse,
>
>use "ipcs" and "ipcrm" (which are used to display and clean up
>shared memory from applications, ipc=inter-process
>communication).
>
>(G-XX uses a csh script named 'clearipc' to use ipc commands
>to clean up memory.)
>
>issue the command 'ipcs', which will give a list of memory
>allocations.  use the shmid to remove them with 'ipcrm'.
>
>######
>
>$ ipcrm
>usage: ipcrm {shm | msg | sem} id ...
>
>e.g.,
>
>$ipcs
>
>------ Shared Memory Segments --------
>key        shmid      owner      perms      bytes      nattch     status
>0x00000000 1146883    user    777        393216     2          dest
>
>$ ipcrm shm 1146883
>resource(s) deleted
>
>######
>
>charles




More information about the Molpro-user mailing list