Shared memory table

Rohit khaladkar rohit.khaladkar at gmail.com
Sun Nov 23 06:18:12 UTC 2008


Thanks a lot!! This helps!!

On Sun, Nov 23, 2008 at 4:30 AM, Yong Huang <yong321 at yahoo.com> wrote:

> Rohit khaladkar wrote:
> > Hi!The Shared memory table shmmni is reaching 100% in the middle of
> > the day
> > - at random .
> >
> > I do not know what process takes it to that level .
> >
> > What would be my way of finding that out ?
> >
> > Thanks for all the help!
> >
> > Rohit
>
> As Kevin Krieser suggested, you can run "ipcs -m -i <ID>" or check
> /proc/sysvipc/shm. There's cpid (creator's pid) and nattch (how many
> processes attaching to each segment). If the creator still exists, you can
> find it in ps output. If not, there's really no way I know of to find it.
> Perhaps you can schedule a cron job to frequently check the cpid in ps
> output in the middle of the day.
>
> If nattch is 0, a shared memory segment is not cleaned up properly and most
> likely you can safely remove it by ipcrm.
>
> Yong Huang
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list