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
350 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now