Problem with semaphores on sparc Solaris 8

From: Shvedko Pavel (shved@servocomp.ru)
Date: Thu Mar 15 2001 - 00:03:08 PST

  • Next message: Shvedko Pavel: "Problem with semaphores on sparc Solaris 8"

    Hello All!

    I have problems with start cflowdmux on sparc Solaris 8

    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 760926 local6.info] [I]
    cflowdmux (version cflowd-2-1-b1) started.
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 496960 local6.info] [I]
    created 2101248 byte packet queue shmem segment
    {CflowdPacketQueue.cc:247}
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 243614 local6.info] [I]
    attached to 2101248 byte packet queue at 0xfee80000
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 777725 local6.error] [E]
    semget(ftok("/usr/local/arts/etc/cflowd.conf",0),2,IPC_CREAT|S_IRWXU|S_IRWXG|S_IRWXO)
    failed: No space left on device {CflowdPacketQueue.cc:149}
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 797169 local6.info] [I]
    created semaphore: id -1
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 428628 local6.error] [E]
    semop(-1,0xffbef968,2) failed to get semaphore: Invalid argument
    {CflowdPacketQueue.cc:416}
    Mar 15 10:55:40 osiris cflowdmux[15409]: [ID 366959 local6.info] [I] set
    UDP recv queue to 261040 bytes for fd 4 (port 2055)
    Mar 15 10:55:42 osiris cflowdmux[15409]: [ID 428628 local6.error] [E]
    semop(-1,0xffbeeef8,2) failed to get semaphore: Invalid argument
    {CflowdPacketQueue.cc:416}
    Mar 15 10:55:42 osiris cflowdmux[15409]: [ID 751784 local6.error] [E]
    failed to get lock in ToggleBuffers()!
    Mar 15 10:55:42 osiris cflowdmux[15409]: [ID 548375 local6.error] [E]
    semop(-1,0xffbeef70,1) failed to release buffer lock: Invalid argument
    {CflowdPacketQueue.cc:438}
    Mar 15 10:55:44 osiris cflowdmux[15409]: [ID 428628 local6.error] [E]
    semop(-1,0xffbeeef8,2) failed to get semaphore: Invalid argument
    {CflowdPacketQueue.cc:416}
    Mar 15 10:55:44 osiris cflowdmux[15409]: [ID 751784 local6.error] [E]
    failed to get lock in ToggleBuffers()!
    Mar 15 10:55:44 osiris cflowdmux[15409]: [ID 548375 local6.error] [E]
    semop(-1,0xffbeef70,1) failed to release buffer lock: Invalid argument
    {CflowdPacketQueue.cc:438}
    Mar 15 10:55:45 osiris cflowd[15412]: [ID 578703 local6.info] [I] cflowd
    (version cflowd-2-1-b1) started.
    Mar 15 10:55:45 osiris cflowd[15412]: [ID 750165 local6.error] [E]
    semget(ftok("/usr/local/arts/etc/cflowd.conf",0),2,S_IRWXU|S_IRWXG|S_IRWXO)
    failed to get semaphore set: No such file or directory
    {CflowdPacketQueue.cc:124}
    Mar 15 10:55:45 osiris cflowd[15412]: [ID 198830 local6.crit] [C] failed
    to get semaphore! {CflowdPacketQueue.cc:331}
    Mar 15 10:55:45 osiris cflowd[15412]: [ID 596768 local6.alert] [A]
    failed to open packet queue! Exiting. {cflowd.cc:888}

    /etc/system is

    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=10
    set semsys:seminfo_semmap=10
    set semsys:seminfo_semmni=70
    set semsys:seminfo_semmns=200
    set semsys:seminfo_semmnu=30
    set semsys:seminfo_semmsl=60
    set semsys:seminfo_semopm=10
    set semsys:seminfo_semume=10
    set semsys:seminfo_semvmx=32767
    set semsys:seminfo_semaem=16384

    How to set semaphores correctly ?

    -- 
    Shvedko Pavel   phone:(095) 912-5879, 912-3604, 911-3654
    ServoComp       http://www.servocomp.ru
    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 00:17:33 PST