2
votes
1answer
42 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?
0
votes
0answers
522 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 ...
0
votes
0answers
33 views

Why is an exported SMF manifest losing instance configuration data on Sol10?

I am importing four named instances of the same service into a repository on a Sol10 server. If I export the service manifest after each import I can see that there is only one start exec_method ...
0
votes
0answers
52 views

Using SQLite to query services directly from repository.db?

Scenario: Two physical servers, each has one non-global zone. Production zone is always running, the "Disaster Recovery" (DR) zone is always asleep. Problem: I need to keep the configuration between ...
2
votes
2answers
162 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
222 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 ...
10
votes
1answer
403 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
613 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 ...
0
votes
2answers
607 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
294 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
95 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
691 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
687 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
221 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
175 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
1k 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). ...
1
vote
2answers
214 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 ...