Re: no more ipc channels

From: Kjell Jarl (nikim@na.hu)
Date: Mon Jan 03 2000 - 22:57:48 EET

  • Next message: Mike Dent: "telnet mail forward partners?"

    Hi!
    Thanks Tomi, yes kill -9 my.script has been performed regularly. Seems
    to be a bad habit of mine, have to change it. Also, I may be doing wrong
    in the expect script, node simply is left in the dark?

    #! /usr/bin/expect -f
    # my.script
    # extract from the script giving an idea of what I am doing

    set timeout 600

    spwan node

    send "c some_node\r"

    expect timeout {
            exit 1
    } "onnected"

    logfile -a logfilename

    send "more stuff"

    expect timeout {
            exit 1
    } "someting_indicating_got_it_all"

    # end of script

    It leaves node connected to some_node. After script ends node
    disconnects the link but maybe have to tell that to the terminated
    script?

    It leaves the logfile to be closed by itself.

    I could add ctrl-T and bye to quit node in the script if that is the
    solution?
    Never thought it was a problem, till now ;-)

    clx 5.01 with postgrsql 6.5.1 have not (yet) complained.

    Thanks also Dirk and Richard.

    Thanks for the help,
    73, Kjell, sm7gvf

    Tomi Manninen OH2BNS wrote:
    >
    > On Mon, 3 Jan 2000, Richard Adams wrote:
    >
    > > On Mon, 03 Jan 2000, Kjell Jarl wrote about, no more ipc channels:
    > > >
    > > > After using /usr/bin/node alot (I am learning script writing...) I am
    > > > getting:
    > > >
    > > > [sm7gvf@pc2 test2]$ node
    > > > LINUX:SM7GVF-5} ipc_open: Could not get an IPC channel: No space left on
    > > > device
    > >
    > > This indicates that the partition on which the software operates is full.
    >
    > No it does NOT ! It means that the system is out of IPC channels.
    >
    > Kjell, have you by any chance been killing node with something like
    > "kill -KILL" or otherwise made it terminate abnormally while testing your
    > stuff? Node used to have a bug that caused it to leak IPC channels but
    > that should be fixed (see the HISTORY file).
    >
    > Note that node not getting a free IPC channel is not a fatal bug. At least
    > not to node. Only the the "TAlk" command is affected (disabled). Some
    > other software on your system might however need a free channel too...
    >
    > > > RH 6.0, node 0.3.0 and alot of other stuff (clx/postgresql). Kernel
    > > > 2.2.5.
    >
    > I seem to have vague recollection that clx has had problems with IPC
    > channels as well. I'm not sure however as I don't run it my self.
    >
    > --
    > --- Tomi Manninen / bppcujg.xtmn@it-today.com / OH2BNS @ OH2RBI.FIN.EU ---



    This archive was generated by hypermail 2b29 : Mon Jan 03 2000 - 22:57:35 EET