Home Help Center

Ice-3.1 : Ice::SyscallException deactivating server

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
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
[email protected] ~/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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi
    I switch my machine to nptl and all works fine now. :D

    thanks for your help
  • DeepDiverDeepDiver Member Thomas MuellerOrganization: Freelance Software DeveloperProject: Project depend on Customers ✭✭✭
    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
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    We do not support the old Linux threads anymore. You must upgrade to a Linux with NPTL.
  • DeepDiverDeepDiver Member Thomas MuellerOrganization: Freelance Software DeveloperProject: Project depend on Customers ✭✭✭
    Hi Marc,

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

    THX

    Tom
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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.
  • DeepDiverDeepDiver Member Thomas MuellerOrganization: Freelance Software DeveloperProject: Project depend on Customers ✭✭✭
    Thanks for this input!

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

    Take care,

    Tom
Sign In or Register to comment.