Solved

error in /var/log/messages..... kernel: application bug: miniperl(25680) has SIGCHLD set to SIG_IGN but calls wait().

Posted on 2004-09-27
6
358 Views
Last Modified: 2013-11-13
this error

kernel: application bug: miniperl(25680) has SIGCHLD set to SIG_IGN but calls wait().

 pops up in /var/log/messages on a node from my members cluster and my
authentication script no longer answers. it uses following modules from
cpan to talk to shared db on vpn for all nodes to auth against
force install DBI
force install DBD::mysql

0
Comment
Question by:xeon999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 4

Expert Comment

by:EinarTh
ID: 12159090
Thats pretty much what it says; an application bug.

Signals are a mechanism by which the kernel 'signals' a program that something has happened (see 'man 7 signal'). One of the signals is SIGCHLD which is sent to a process when a child process dies or exits.

Now, the program in question determines what to do with a signal; it e.g. ignore it by setting SIGCHLD to SIG_IGN. If a program does that, it will never receive a SIGCHLD signal.

On the other hand, the wait() and waitpid() functions wait for a sigchld signal to arrive, so if we've already said we're ignoring those, then calling wait is meaningless, and in fact dangerous programmins since those function will propably never return, which could cause the machine to 'hang'

What you do, is that you locate the program in question, and either make it handle sigchld, or don't call wait. It all depends on what the program is doing, and you need to know at least something about programming in general to mess around with code like that.

HTH

cheers
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12159506
By "force install DBI" do you mean that you could not do an ordinary 'rpm -i DBI' for some reason and used --force? That may be at the root of the problem.

What OS is this, which DBI & DBD-mysql packages did you use, and what where the errors that lead you to use --force?
0
 

Author Comment

by:xeon999
ID: 12165732
thnx  EinarTh....got my guys lookin at it
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13139761
PAQed with no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ubuntu Apache Webserver - File Permissions 5 75
expand ext4 on centos 6 5 54
trouble on installing syslog-ng on CentOS 7 7 100
Disabling security updates Ubuntu 3 45
One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question