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

learn more… | top users | synonyms

2
votes
1answer
47 views

Solaris SMF Detect Java PermGen?

Is there a way to detect a Java process is out of memory (e.g. PermGen space) and restart it with an SMF contract?
1
vote
0answers
555 views

Cannot set up blueimp jquery upload server for Node using SMF on SmartOS

I set up a node blueimp jquery file upload server on a Joyent cloud SmartOS SmartMachine (nodejs 13.1.0) instance. It works fine if I manually start it using the command ...
2
votes
2answers
236 views

Correct way to modify startup options for svc:/network/finger:default in Solaris 10?

I want to make "finger" harmless on Solaris 10, and I see this in the man page; OPTIONS fingerd supports the following option. -s Enable secure mode. Deny forwarding of queries to other ...
2
votes
1answer
282 views

How to tell SMF that a service really is online?

This seems trivial, but I have a service in Solaris 10 that's running but SMF thinks it isn't. I could probably get SMF to have the right status by stopping and then starting the service, but in ...
0
votes
1answer
62 views

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 ...
10
votes
1answer
431 views

Why is SMF manifest losing configuration data when exported on SmartOS?

I'm running a server process under SMF (Server Management Facility) on Joyent's Base64 1.8.1 SmartOS image. For those not aqauinted with SmartOS, it is a cloud-based distribution of IllumOS with KVM. ...
1
vote
3answers
2k views

Solaris SMF Services - Method “start” exited with status 96

Hi I'm trying to start a new service on server reboot and I got this error on start: "Method "start" exited with status 96". Also my service in on "Maintenance" state. My service is working when I ...
0
votes
1answer
712 views

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 ...
2
votes
1answer
841 views

What part of SMF is likely broken by a hard power down?

At one of my customer sites, the local guy shut down their local Solaris 10 x86 server, pulled the power inputs, moved it, and now it won’t start properly. It boots and then presents a prompt which ...
0
votes
2answers
716 views

Solaris SMF: Kill with custom signal, or get PID, or prevent kill of children

In the Solaris Service XML I am using a kill to signal a graceful shutdown <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" /> This works great, except for the fact ...
1
vote
1answer
324 views

Solaris SMF for ssh tunnel

I'm tunneling from our web server to our MySQL server, both on Solaris boxes. I've created a SMF manifest for the ssh tunnel in order to reconnect when the web server box reboots. This works great. ...
0
votes
1answer
98 views

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 ...
1
vote
3answers
751 views

Too many open files

In php-fpm.conf I have: rlimit_files = 8192 My server is a 1G SmartMachine from Joyent, meaning it is a Solaris with 1GB memory. My problem is that on high load I get errors like this: Warning ...
0
votes
2answers
779 views

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 ...
0
votes
2answers
232 views

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 ...
0
votes
1answer
183 views

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, ...
6
votes
3answers
2k views

Solaris SMF kill service because child dies

I am using SMF to manage a service under Solaris10. This service is itself a process manager, and forks off many child processes, some of which die occasionally (or are killed for various reasons). ...
0
votes
1answer
342 views

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 ...
1
vote
2answers
225 views

SMF restarting service whenever there's output?

I'm trying to add a custom service to SMF's configuration, which seems successful in that the service starts and there is a log file, but therein lies the problem; the service, on start-up, prints ...