?
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
Medium Priority
?
369 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

801 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