Home Help Center

ICE on HP

fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
Hi,

I encountered a problem when I develop a system. The attatchments are config file and error log of the application. The application is a server running on host 192.168.0.16. Clients running on other hosts will invoke the method of the server. It is a typiclly use case of Ice.
OS: HP-UX11.2x
Compiler: aCC HP aC++/ANSI C B3910B A.06.10
Ice: 3.1.1

Past some time, the server will Core because of an exception.

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    HP-UX on Itanium is not a supported platform. If you'd like to sponsor support for this platform, please contact us at [email protected].

    Thanks,
    Bernard
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    Hi,

    Would you please check the config file and log file at all? I suspect the config makes mistake. Please point out the fault. Thanks in advance.

    ####################################
    # config
    #
    InfoProcMgt.Endpoints=tcp -p 10101 -h 192.168.0.18:tcp -p 10102 -h 192.168.0.18:tcp -p 10103 -h 192.168.0.18:udp -p 10101 -h 192.168.0.18:udp -p 10102 -h 192.168.0.18:udp -p 10103 -h 192.168.0.18
    #InfoStateMgt.Endpoints=tcp -p 10104 -h 192.168.0.18:tcp -p 10105 -h 192.168.0.18:tcp -p 10106 -h 192.168.0.18 #:udp -p 10104 -h 192.168.0.18:udp -p 10105 -h 192.168.0.18:udp -p 10106 -h 192.168.0.18
    InfoStateMgt.Endpoints=tcp -p 10104 -h 192.168.0.18:tcp -p 10105 -h 192.168.0.18:tcp -p 10106 -h 192.168.0.18 #:udp -p 10104 -h 192.168.0.18:udp -p 10105 -h 192.168.0.18:udp -p 10106 -h 192.168.0.18
    #InfoStateMgt.Endpoints=tcp -p 10114

    IPSServer.ItemState.Subscriber.Endpoints=tcp -h 192.168.0.18

    Ice.MessageSizeMax=102400

    Ice.UDP.RcvSize=102400

    Ice.Nohup=1

    Ice.StdErr=IPSServer.StdErr

    Ice.Override.Timeout=100

    Ice.Override.ConnectTimeout=100





    Ice.ThreadPool.Server.Size=400
    Ice.ThreadPool.Server.SizeMax=480

    Ice.Warn.Connections=1


    Ice.Trace.Network=1

    #
    #####################################
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    #############################################
    # trace log
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:64270 ]
    [ IPSServer: Network: tcp connection established
    local address = 192.168.0.18:64300
    remote address = 192.168.0.15:60000 ]
    [ IPSServer: Network: accepted tcp connection
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64262 ]
    [ IPSServer: Network: tcp connection established
    local address = 192.168.0.18:64302
    remote address = 192.168.0.24:60000 ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10101 ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10102 ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10103 ]
    [ IPSServer: Network: starting to receive udp packets
    local address = 192.168.0.18:10101
    remote address = <not connected> ]
    [ IPSServer: Network: starting to receive udp packets
    local address = 192.168.0.18:10102
    remote address = <not connected> ]
    [ IPSServer: Network: starting to receive udp packets
    local address = 192.168.0.18:10103
    remote address = <not connected> ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10104 ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10105 ]
    [ IPSServer: Network: accepting tcp connections at 192.168.0.18:10106 ]
    [ IPSServer: Network: accepted tcp connection
    local address = 192.168.0.18:10101
    remote address = 192.168.0.112:9043 ]
    [ IPSServer: Network: accepted tcp connection
    local address = 192.168.0.18:10104
    remote address = 192.168.0.112:9046 ]
    IPSServer: warning: thread pool `Ice.ThreadPool.Server' is running low on threads
    Size=400, SizeMax=480, SizeWarn=384
    IPSServer: warning: thread pool `Ice.ThreadPool.Server' is running low on threads
    Size=400, SizeMax=480, SizeWarn=384
    [ IPSServer: Network: accepted tcp connection
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64363 ]
    IPSServer: warning: connection exception:
    TcpTransceiver.cpp:285: Ice::ConnectionLostException:
    connection lost: Connection reset by peer
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64363
    IPSServer: error: exception in `Ice.ThreadPool.Server':
    Network.cpp:289: Ice::SocketException:
    socket exception: Invalid argument
    [ IPSServer: Network: accepted tcp connection
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64366 ]
    IPSServer: warning: connection exception:
    TcpTransceiver.cpp:285: Ice::ConnectionLostException:
    connection lost: Connection reset by peer
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64366
    IPSServer: error: exception in `Ice.ThreadPool.Server':
    Network.cpp:289: Ice::SocketException:
    socket exception: Invalid argument
    IPSServer: warning: connection exception:
    TcpTransceiver.cpp:217: Ice::ConnectionLostException:
    connection lost: recv() returned zero
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64262
    [ IPSServer: Network: closing tcp connection
    local address = 192.168.0.18:64270
    remote address = 192.168.0.15:64262 ]
    Assertion failed: _running <= sz, file ThreadPool.cpp, line 680
    #
    ###########################################
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    I doubt a configuration mistake cause this assertion; it could be a problem with your port to HP-UX/Itanium. And helping you port and debug Ice on a new platform is naturally beyond the free support we offer on these forums.

    Best regards,
    Bernard
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    Hi,

    Could you tell me how long and how much it take to debug the problem?
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    As Bernard wrote, if you would like to sponsor an Ice for HP/Itanium port, please contact us at [email protected].
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    Hi,

    I maybe resolved the problem. By modifying the configuration, that assert had never occured.

    Thanks a lot for your helps,

    Best regards,
Sign In or Register to comment.