Skip to main content

What are the meanings of the various signals in PROCESS_SIGNALS?

  • May 23, 2014
  • 9 replies
  • 34 views

Nicholas_Chamma
Forum|alt.badge.img+1
I'm trying to track down why one of our clusters went down. In the logs I see messages like this:
2014-05-21 03:24:02.322 Main:0x5b5f2b0 [Main] <INFO> Handling signal: 10

Looking at this page, I see no mention of what signal 10 means.

What are the meanings of the various signals in PROCESS_SIGNALS?

9 replies

Evan_H
Forum|alt.badge.img
  • Participating Frequently
  • May 23, 2014
signal 10 is used to signal vertica to rotate logs.

Evan_H
Forum|alt.badge.img
  • Participating Frequently
  • May 23, 2014
See if a new log is started for the vertica.log soon after signal 10. 

It could also mean bad memory access, but more likely rotate logs.


Nicholas_Chamma
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • May 23, 2014
OK, sounds good.

Where can I find a list of the meanings of all the possible signals?

What is signal 11, code 1, for example?

Forum|alt.badge.img+2
  • Participating Frequently
  • May 23, 2014
Hi Nicholas,

From your new thread elsewhere, it sounds like you may have figured this out -- these signals aren't Vertica signals; they are POSIX signals that are being received by Vertica.  You can find them documented, for example, here:

http://man7.org/linux/man-pages/man7/signal.7.html

(Scroll down to "Standard signals".)

Signals 10 and 12 are reserved for application-specific purposes; for example, things like log rotation.  Signal 11 is SIGSEGV, ie., invalid memory access.

Adam


Evan_H
Forum|alt.badge.img
  • Participating Frequently
  • May 23, 2014
http://man7.org/linux/man-pages/man7/signal.7.html

Was just about to reply the same.. :-)



Forum|alt.badge.img+2
  • Participating Frequently
  • May 23, 2014
Oops; sorry!  Was replying to the other thread; figured I should post here too.

Nicholas_Chamma
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • May 23, 2014
Yep, I eventually figured it out. :) I suggest updating the documentation on PROCESS_SIGNALS to indicate as much, because it's not obvious.

Nicholas_Chamma
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • May 23, 2014
Thanks guys!

Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • May 23, 2014
I also think this should be documented !