Questions tagged [smf]

The Solaris Service Management Facility--the replacement for init.d scripts in Solaris 10 and up.

Solaris' Service Management Facility (SMF) is a facility for managing system services and replaces traditional init scripts for Solaris 10 and higher. It's similar in concept to upstart or systemd in Linux.

22 questions
1
vote
2 answers

Solaris SMF functionality in any open source or Linux kernel packages?

I use Solaris SMF to monitor, report, and automatically restart processes after a crash on Solaris systems. Is there anything similar either as portable open source or in the Linux kernel? For those not familiar with SMF, this is the functionality…
JOTN
  • 1,727
  • 1
  • 10
  • 12
0
votes
1 answer

Can a daemon running under smf on SmartOs have a memory cap

Can I set a memory limit on a daemon running under smf on Joyent SmartOS? I have a logging process that seems to balloon after cpu time gets above 100. I only have small instances (512Mb), it would be great for it to restart the daemon when memory…
redsquare
  • 237
  • 5
  • 13
0
votes
1 answer

Solaris SMF stops svc on child segfault despite ignore_error

I know about Solaris SMF kill service because child dies. Here is my problem: I want SMF to ignore any crash dumps (seg faults) by my service's children. I thought I would achieve this by adding this to my svc.xml and doing a svcadm refresh and…
ottodidakt
  • 101
  • 4
0
votes
1 answer

Not able to set env with character '='in SMF solaris

svccfg -s network/inetd setenv UMEM_DEBUG default,firewall=1 this command is not working. I need to set an environment variable to the inetd service with "=" as a character in environment variable value.
suresh
  • 231
  • 1
  • 3
  • 9
0
votes
2 answers

how can I tell SMF to stop monitoring service?

I want it to stop monitoring it for sometime so that I can stop my server (my main motivation is that smf wont start my server again automatically once i manually stopped it) and then start it again (i will start manually) and then tell smf to start…
Jas
  • 701
  • 4
  • 13
  • 23
0
votes
1 answer

Solaris SMF Syntax

I'm trying to write a SMF manifest but i'm stuck because i can't find the complete documentation. Their DTD (/usr/share/lib/xml/dtd/service_bundle.dtd.1) is a joke, it's full of CDATA. For instance, i'm looking for the complete specification for…
Benoît
  • 1,331
  • 3
  • 11
  • 23
0
votes
1 answer

Export SMF posts into Drupal forum

I am currently working on a Drupal 6 site and would love it if there's a way I could import everything over from an already existing SMF site. By everything I actually mean : users and their passwords their postings the forum structure (i.e sub…
errorprone
1
2