Archived

This forum has been archived. Please start a new discussion on GitHub.

Ice-3.1 : Ice::SyscallException deactivating server

xdm
xdm La Coruña, Spain
Hello i have a prolem with Ice-3.1 when try to deactive a server from icegridamin consolte tool.

i run this command to stop a server
pepone@localhost ~/hydra/etc/linux $ icegridadmin --Ice.Config=config.icegridadmin
Ice 3.1.0  Copyright 2003-2006 ZeroC, Inc.
>>> server state titanio-Oo4uWebService
active (pid = 8651, enabled)
>>> server stop titanio-Oo4uWebService
//here  icegridamin don't respond more no timeout no error 

In icegridnode error log i view this exception
[ /opt/Ice-3.1.0/bin/icegridnode: Server: changed server `titanio-Oo4uWebService' state to `Deactivating' ]
[ /opt/Ice-3.1.0/bin/icegridnode: Activator: deactivating `titanio-Oo4uWebService' using process proxy ]
[ /opt/Ice-3.1.0/bin/icegridnode: Adapter: server `titanio-Oo4uWebService' adapter `titanio-Oo4uWebService.Oo4uWebService.Oo4uWebService' deactivated ]
/opt/Ice-3.1.0/bin/icegridnode: error: exception in process termination listener:
Activator.cpp:1312: Ice::SyscallException:
syscall exception: No child processes

Why i received this exception in icegridnode any ideas?

thanks

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Are you by any chance using an old Linux distribution with LinuxThreads? We removed a workaround for LinuxThreads which could cause this behavior. Please, specify which Linux distribution and version you're using.

    Cheers,
    Benoit.
  • xdm
    xdm La Coruña, Spain
    HI beniot

    The machine with i testing is gentoo linux with glibc-2.6.3, but is compiled with out nptl. i go to recompile it wiht nptl and view if it works.

    thanks for the tip
  • xdm
    xdm La Coruña, Spain
    Hi
    I switch my machine to nptl and all works fine now. :D

    thanks for your help
  • Hi Benoit,

    how can this issue be fixed in case nptl is not available?
    I'm using debian linux distribution, which uses a 2.4 kernel.

    Thx alot

    Tom

    ICE: 3.1.0
  • marc
    marc Florida
    We do not support the old Linux threads anymore. You must upgrade to a Linux with NPTL.
  • Hi Marc,

    thanks for your quick reply!
    What was the last Ice version supporting LinuxThreads?

    THX

    Tom
  • marc
    marc Florida
    I really don't know anymore. It must be a pretty old version. You should not use the old linux threads, they are very inefficient, non-standard compliant, and buggy.
  • Thanks for this input!

    I'll dig into the depth of LinuxThreads and NPTL!

    Take care,

    Tom