Oracle Solaris System Administration (MOSC)

MOSC Banner

Reload SMF servive with changes of pid

edited Jul 11, 2016 10:32AM in Oracle Solaris System Administration (MOSC) 5 commentsAnswered ✓

Hello.

I have a haproxy service witch controls by SMF. When i need to soft reload i must to use flag '-sf' (which describes below), but new pid changes and SMF thinks that service has gone and try to start new copy, but socket already is bind. Then SMF service goes to maintenance. So, does any method to clear reload? restart/exec doesn't help in this case.

       -sf <pidlist>
              Send FINISH signal to the pids in pidlist after startup. The processes which receive this signal will wait for all sessions to finish before exiting.
              This option must be specified last, followed by any number of PIDs.  
              Technically  speaking,  SIGTTOU and SIGUSR1 are sent.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center