?
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
?
374 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
4 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
If you don't know how to downgrade, my instructions below should be helpful.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

840 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