Solaris 8 journal service?

Sorry to post to solaris 10 forum, but don't seea solaris 8 forum offered.
I ported an app from linux ( 2.6 kernel ) to solaris 8. I would have preferred solaris 10, but customer is solaris 8. Anyway, heavy text persistence to a flat ascii file is causing problems. The same app running on linux never gets about 5% cpu. Although I did notice kjournald was busy at about 12 to 15%.
On Solaris 8 the cpu pegs at 95-96%. Something weird is going on, but not sure. Could it just be the older architecture or level of services offered on Solaris 8? I would think Solaris could handle this just as well as linux, but maybe the journal service is significantly better.
Major Solaris newbie here. Any ideas on what to look into?

Well, you could use the iostat command to see how heavily the disks are used, that would tell you if its a filesystem/disk problem or another problem.
You could also check the mount_ufs manpage for some optional UFS flags, there are some flags you could modify, for example you could switch on the noatime option if you have a lot of small files. You could also read the manpages of the tunefs and mkfs_ufs, to see if there are any other options which you could use.
mkfs_ufs can only be used when you make the filesystem, but still it might show something interesting.
Cheers,
//Magnus

Similar Messages

  • Tip regarding the "systemd[1]: Failed to start Journal Service" error

    Just a tip regarding the well-known
    systemd[1]: Failed to start Journal Service
    error (which I ran into last weekend) to maybe save one or two among you a couple of hours of your time:
    The error is described here https://bbs.archlinux.org/viewtopic.php?id=151012 as well as in several other threads in other language boards / in other forums etc. It is usually (as in the linked thread) 'solved' by reinstalling the system - good old Windows magic, also useful when dealing with systemd.
    The Problem with this error is that you do not get into your system. Instead, systemd will print you the mentioned "Failed to start Journal Service" error message a couple of million times. There are also no logs that you could retrieve (when booting from a livesystem) and that would give you any helpful hints, since journal is systemd's logging service, old-style system logs are not kept, and the dmesg log doesn't survive the reboot with default settings.
    As pointed out in the above mentioned thread, you will see a few more instructive error messages when adding 'emergency' to the kernel line in the bootloader config.
    Now there may be plenty of reasons why the systemd journal service might not work. The most common and most annoying, however, appears to be this one:
    In this case you will see that the problem actually lies in
    systemd[1]: Cannot open /etc/machine-id: No such file or directory
    Now, 'man machine-id' reveals that "the /etc/machine-id file contains the unique machine id of the local system that is set during installation. (...) The machine ID is usually generated from a random source (...)". It is obviously perfectly justified to refuse to boot the system because an absolutely insignificant random number is missing. As far as systemd is concerned anyway.
    Usually, it seems, the /etc/machine-id is set by /usr/bin/systemd-machine-id-setup during installation or system upgrade. It is not documented anywhere that this is a rather important step and that you should better check if this was or was not actually done before rebooting. Obviously (but for no apparent reasons) systemd fails to run this (or to run this successfully) sometimes.
    Also to be recommended: Always retain (back up) your old kernel and initramfs and edit your bootloader config appropriately to be able to boot with your old kernel again ... just to have one or two options left to get back into the system in case of running into an unpleasant surprise from the side of systemd or other packages.
    The solution is, obviously, to create this file /etc/machine-id ... You probably want to do that from a livesystem (if you want to try it from the emergency shell, you would need to remount / (i.e. root) as rw and hope that systemd will not punish you for that) by just running the program that was designed for creating this file manually:  /usr/bin/systemd-machine-id-setup
    http://permalink.gmane.org/gmane.comp.s … devel/7528 states that it might also work with merely creating the file 'touch /etc/machine-id'. Though I didn't try that since I had enough fun with systemd for one week and didn't want to break my system again just to see if that works.

    Jristz wrote:
    ackalker wrote:Sorry for necrobumping this.
    Generating the machine-id in a consistent way is very important when working with KVM and containers, where the machine-id can be set for the VM or container. See `man systemd-machine-id-setup`.
    Again, _don't_ just put some random UUID in there, especially not in the systemd package install script, this makes provisioning Arch Linux containers a PITA.
    If you thing that the way that arch is handlynbg the machine-id is wrong or can be improved, then file a bug.
    He already did.
    Jristz wrote:Anyway, I thing if reinstalling systemd package or if systemd have a command to reinitialize the machine-id file.
    Like so many of your posts, I had to read this a half dozen times before it made any sense. I think you're hinting at the utility that ackalker already pointed out in the post you're replying to. And, if you read the install scriptlet, you wouldn't need to think about whether or not reinstalling would be an option. You would know that it isn't.

  • Solaris Name Service Cache and Directory Proxy Problem

    We have some Solaris 10 clients ldapcliented to a Directory Proxy Server. After 15 minutes, the Solaris name service cache will fail to communicate to the proxy instance and the proxy instance's readconnectionsrefused attribute will start incrementing.
    At first it seemed we would need to increase the worker-threads and num-bind-limit, but those do not fix the problem.
    At the same time the name-service-cache starts failing, I am still able to query and search the proxy. I have set up a Jmeter test which continues to run and they never fail.
    It seems very consistent that the problem with the name-service-cache occurs every 15 minutes and I am able to reproduce this at the client's site and in my lab. Restarting either the proxy or the name-service-cache clears the problem.
    Has anyone else seen this problem?
    Edited by: 957466 on Sep 6, 2012 9:11 AM

    The idle-timeout on DSEE was set to none, which I believe is the default. I tried setting it to 1200 and 2400 seconds without success.
    h3. get-ldap-data-source-pool-prop
    <pre>
    client-affinity-bind-dn-filters : any
    client-affinity-criteria : connection
    client-affinity-ip-address-filters : any
    client-affinity-policy : write-affinity-after-write
    client-affinity-timeout : 20s
    description : -
    enable-client-affinity : false
    load-balancing-algorithm : proportional
    minimum-total-weight : 100
    proportion : 100
    sample-size : 100
    </pre>
    h3. get-ldap-data-source-prop
    <pre>
    bind-dn : none
    bind-pwd : none
    client-cred-mode : use-client-identity
    connect-timeout : 10s
    description : -
    down-monitoring-interval : inherited
    is-enabled : true
    is-read-only : false
    ldap-address : localhost
    ldap-port : ldap
    ldaps-port : ldaps
    monitoring-bind-dn : none
    monitoring-bind-pwd : none
    monitoring-bind-timeout : 5s
    monitoring-entry-dn : ""
    monitoring-entry-timeout : 5s
    monitoring-inactivity-timeout : 2m
    monitoring-interval : 30s
    monitoring-mode : proactive
    monitoring-retry-count : 3
    monitoring-search-filter : (objectClass=*)
    monitoring-search-scope : base
    num-bind-incr : 10
    num-bind-init : 2
    num-bind-limit : 1024
    num-read-incr : 10
    num-read-init : 2
    num-read-limit : 1024
    num-write-incr : 10
    num-write-init : 2
    num-write-limit : 1024
    proxied-auth-use-v1 : false
    ssl-policy : never
    use-read-connections-for-writes : false
    use-tcp-keep-alive : true
    use-tcp-no-delay : true
    </pre>

  • List of all Solaris 10 services?

    I want to strip down the number of running services. I'm trying to find a list of all Solaris 10 services and their interdependencies. Some are obvious, some I could take a pretty good guess at, but some are complete mysteries. And i don't want to willy-nilly disable everything that I don't understand, only to discover that some other necessary process depends upon some bizarre service that I disabled.

    Try running:
    svcs -a -o FMRI,DESCI think that's as close as you're going to get to what you're after. :)
    You can go onward to any manpages from there, and/or check dependencies individually as needed.
    Edited by: scottradvan on Sep 3, 2008 8:20 PM

  • Solaris CIFS Service, which versions of solaris ???????????

    I''m reading lots of docs on Oracle web site about the Solaris CIFS service. But almost unbellievably, the piece of information which seems to be hidden is which version of Solaris this applies to. Certainly this seems to be missing from the most recent version of 10.
    George

    The Solaris CIFS server is a part of Solaris 11, so you will have to install Solaris 11 to use this feature. In Solaris 10 your only option is the bundled samba server.
    .7/M.

  • Solaris Naming Service

    Hi there,
    I have installed solaris 10. i would like to make it run LDAP service or might as well mak my server sa LDAP server. What is my next step after i installed the OS. Please help and advice.
    Thanks.
    SunOSnewbie

    Hi there,
    I have installed solaris 10. i would like to make it run LDAP service or might as well mak my server sa LDAP server. What is my next step after i installed the OS. Please help and advice.
    Thanks.
    SunOSnewbie

  • Solaris 10/services network

    I set up a network using Solaris 10...but was unable to set up the network....so I did sys-unconfig and the network. come up.
    I am able to assign IP addresses and get them with ifconfig -a. But I am unable to access the internet with the browser..
    Also I am unable to ssh, telnet, ftp from another machine in te network...even though ssh, ftp, telnet r online when I checked up svcs -a|grep ssh...
    Can anyone guide me with this one please?
    Thanks!
    Anand

    Hi
    If you are sure that the ip address and the subnet mask is correct then you should able to ping the ipaddress atleast from a machine in the same network.Try using Ip address instead of using hostname.
    Adding the default route will help you to connect to a different network.

  • Need information on SolarisWBEM Services

    I need the following information about the Solaris WBEM Services.
    1. Is Solaris WBEM Services supported now and how to use the same?
    2. Features supported by Solaris WBEM Services? For example, list of providers are supported by the same.
    Please provide me with link to the documents on Solaris WBEM services.

    (sorry for the double answer. Klaus managed to post just before me :=)
    Hello Deep,
    check out help.sap.com, http://help.sap.com/saphelp_nw04/helpdata/en/cd/8a424089ff2571e10000000a155106/frameset.htm
    In addition search the forum for similar questions, there are quite a lot of good answers in the threads.
    regards,
    Jørgen
    Message was edited by: Jørgen Ruud

  • Solaris 10 box -  install server PROBLEMS

    Hi,
    i have an E450 setup with solaris 10, i follwed the docs to create an install server for solaris 9.
    problem is : when booting client it gets the RARP reply and then sits and does nothing ??
    The 2 machines are on their own separate network.
    Server ip = 192.168.1.101 SN 255.255.255.0
    client ip = 192.168.1.102 SN 255.255.255.0
    i ran the #./add_install_client -e 8:0:20:xx:xx:xx ( client is in /etc/hosts) which reports no errors
    /etc/bootparams shows = server1 root=Xerxes:/export0/sol_9/Solaris_9/Tools/Boot install=Xerxes:/export0/sol_9 boottype=:in rootopt=:rsize=32768
    /etc/dfs/dfstab shows = share -F nfs -o ro,anon=0 /export0/sol_9
    is this correct ?? and why is the client not even getting to the spinning dial ?? let alone the installation, do i have to have a sysidcfg file ????

    Excellent. So we can see that the RARP has completed (sucessfully it appears), but the TFTP step has not. Perhaps the TFTP server isn't running properly.
    Now I see what's going on. You're running Solaris 10 on the machine, but you're trying to jumpstart Solaris 9. That's fine, but those older scripts don't understand how to start Solaris 10 services.
    It's very likely that the 'add_install_client' script populated /etc/inetd.conf and HUP'ed inetd to start the TFTP server. That's not sufficient.
    You probably have some lines in /var/adm/messages saying that you have to run 'inetconv'. Run that and you should get a tftp service. (Check by running 'svcs -a | grep tftp'). With that in place, the boot should proceed.
    (In answer to your other question, yes this is a combination boot and jumpstart server. Thats what you get when you run 'setup_install_server' and you don't use the '-b' flag to make it only a boot server).
    Darren

  • NetBackup 3.4 Client is not starting up in Solaris 10

    Hello All,
    I have a problem while connecting to NetBackup Client on Solaris 10. Here is a line from inetd.conf:
    bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
    However the inetd.conf is no longer directly used to configure inetd. Service manifest for bpcd has already been generated as /var/svc/manifest/network/bpcd-tcp.xml using inetconv. Yet, when I try to telnet to the bpcd port, I am getting 'unable to connect'. Everything works just fine on Solaris 8.
    I would appreciate any suggestions.
    Thank you for your time.
    DanielD.

    First off almost all of the Netbackup products have a problem running on Solaris 10. You have to upgrade to the latest and gratest version and then you have to install a bunch of patches for solaris 10. The main reason for this is because of the way solaris handles services now. There are a bunch of docs on the veritas site that explain the exact procedure for installing the updates to get netbackup working on sol 10.

  • Connect to Solaris 10 with ssh

    Hi friends,
    I have not much experience with the solaris ssh service but I want to connect to my Solaris 10 station with XManager via a Secure XDMCP and ssh, I can reach my solaris machine but the authentication with the login and password of root failed.
    So I want to know if solaris requires a special configuration for a remote login via ssh.
    Thank you

    Hi,
    Change the value of PermitRootLogin in sshd_config
    # more /etc/ssh/sshd_config | grep PermitRootLogin
    PermitRootLogin yes
    # svcadm refresh ssh

  • Hi Can anyone guide me configure LDAP client in solaris 8 server.

    Hi,
    I am already having the solaris 8 LDAP master server. We have new server which i need to confgure as a client to that master server.
    Can any one help me to configure the same.
    Thanks in Advance....
    Bala......

    LDAP Setup and Configuration Guide
    Solaris 8 2/04 Update Collection > LDAP Setup and Configuration Guide > 1. Overview > Solaris Name Services
    [http://docs.sun.com/app/docs/doc/806-5580/6jej518ou?l=en&a=view&q=solaris+8+ldap]
    Download this book in PDF (557 KB)
    [http://dlc.sun.com/pdf/806-5580/806-5580.pdf]

  • How do I disable NFS client in Solaris 10

    I am trying to disable NFS client in Solaris 10. In Solaris 9 I would simply rename /etc/rc2.d/S73nfs.client to /etc/rc2.d/s73nfs.client
    Since /etc/rc2.d/nfs.client does not seem to exist in 10 I'm wondering how to do this.
    Thanks in advance for the help.
    Max

    Since /etc/rc2.d/nfs.client does not seem to exist in
    10 I'm wondering how to do this.Read up on the new Solaris 10 service management faciities. Info at http://docs.sun.com/ There are a couple of tutorial doc's at bigadmin

  • Ldap client in Solaris  using TLS

    I have installed an OpenLap server (version 2.2.13-2) in a Red Hat ES 4.
    My LDAP clients are
    - Linux (redhat and mandriva)
    - Solaris 8 (with the last recommended path and 10893-62 path for ldapv2)
    - Tru64 (5.1B)
    If a use simple authentification all works fine (search in LDAP,
    authentification and automount).
    However, when I use TLS the Solaris LDAP client doesn't seem to work.
    When I run the LDAP client the process freeze
    With my Linux and Tru64 clients all work fine using LS.
    I have downloaded the certificates from my LDAP server using Netscape browser.
    I have copied cert7.db and key3.db in the "/var/ldap/directory" with a
    "chmod 644" in this files.
    I can do a "ldapsearch -x -ZZ objectclass=*" and this returns data.
    The last logs of the ldap_cachemgr are:
    Mon Nov 20 09:34:46.4425 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    If I do a truss when I launch the client the
    result was this:
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
    lwp_cond_wait(0xFF0F34F0, 0xFF0F3500, 0xFF0ECD88) (sleeping...)
    This is my ldap_client_file:
    # Do not edit this file manually; your changes will be lost.Please use
    ldapclient (1M) instead.
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_SERVERS= srvldap
    NS_LDAP_SEARCH_BASEDN= dc=example,dc=com
    NS_LDAP_AUTH= tls:simple
    NS_LDAP_SEARCH_REF= FALSE
    NS_LDAP_SEARCH_SCOPE= sub
    NS_LDAP_SEARCH_TIME= 30
    NS_LDAP_CACHETTL= 3600
    NS_LDAP_PROFILE= tls_profile
    NS_LDAP_SERVICE_SEARCH_DESC= passwd: ou=Users,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= group: ou=Groups,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= shadow: ou=Users,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= auto_home:
    automountMapName=auto_home,ou=Sun,ou=AutoFS,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= auto_master:
    automountMapName=auto_master,ou=Sun,ou=AutoFS,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= auto.home:
    nisMapName=auto.home,ou=Sun,ou=AutoFS,dc=example,dc=com?one
    NS_LDAP_SERVICE_SEARCH_DESC= auto.master:
    nisMapName=auto.master,ou=Sun,ou=AutoFS,dc=example,dc=com?one
    NS_LDAP_BIND_TIME= 10
    I have launched ethereal so see network communications with my Solaris 8 client and the LDAP server.
    And with this configuration the Solaris box only communicates with the LDAP server using LDAP port 389 and not LDAPS port 636.
    I have done the same test with a linux and tru64 box and they use LDAPS port 636 to communicate with my LDAP server.
    Does anyone have an idea on getting Solaris using TLS/SSL?
    Thanks.

    LDAP Setup and Configuration Guide
    Solaris 8 2/04 Update Collection > LDAP Setup and Configuration Guide > 1. Overview > Solaris Name Services
    [http://docs.sun.com/app/docs/doc/806-5580/6jej518ou?l=en&a=view&q=solaris+8+ldap]
    Download this book in PDF (557 KB)
    [http://dlc.sun.com/pdf/806-5580/806-5580.pdf]

  • Native Exchange 2013 Journaling - Guidance over Storage Planning!

    Hi,
    We are currently exploring full envelope journaling service using Exchange 2013 with Sharepoint 2013 eDiscovery suite for ALL internal and external messages for a largish enterprise ~40K mailboxes and need to accurately plan storage for the dedicated Journal
    servers; we have used the standard messagestats powershell script to get send / receive and average message size and have some valid metrics to utilize however there is next to no actual guidance on how to plan storage for journaling published?
    My question concerns which metric to use - unique send and receive OR total send / receive figures; I have reached out to some of my default Microsoft contacts and dug into how FE Journaling works under the hood and my understanding is that it is total send
    / receive for every message would be more valid to plan against?
    Any guidance would be great!

    Hi,
    Do you mean you want to plan storage for journaling in Exchange 2013?
    The storage will keep increasing as long as the new conversation is recorded. Targeting only the specific recipients can minimizes storage which is based on your requirements.
    Here is an article about journaling in Exchange 2013 for your reference.
    http://technet.microsoft.com/en-GB/library/aa998649(v=exchg.150).aspx
    Hope this is helpful to you.
    Best regards,
    Belinda Ma
    TechNet Community Support

Maybe you are looking for