<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sadc processes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926768#M929162</link>
    <description>Hi JDL,&lt;BR /&gt;&lt;BR /&gt;Just type :&lt;BR /&gt;&lt;BR /&gt;sar -d 10 10  &lt;BR /&gt;&lt;BR /&gt;Means, sar -disk (every) 10 seconds for 10 (times)&lt;BR /&gt;&lt;BR /&gt;if I do a ps -ef | grep sa then :&lt;BR /&gt;&lt;BR /&gt;    root 27061 11287  0 18:41:25 pts/tf    0:00 sar -d 10 10&lt;BR /&gt;    root 27062 27061  0 18:41:25 pts/tf    0:00 /usr/lbin/sa/sadc 10 11&lt;BR /&gt;&lt;BR /&gt;So this might explain your sa. Not why it hangs. Do a truss/tusc of the process (tusc -p &lt;PID&gt;) and see what it actualy does.&lt;BR /&gt;&lt;BR /&gt;Is the directory /var/adm/sa writable or has is different problems ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regs David&lt;/PID&gt;</description>
    <pubDate>Thu, 13 Mar 2003 17:45:20 GMT</pubDate>
    <dc:creator>David_246</dc:creator>
    <dc:date>2003-03-13T17:45:20Z</dc:date>
    <item>
      <title>sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926767#M929161</link>
      <description>Hi all,&lt;BR /&gt;I am curious if anybody can tell me how these processes just hang and use up all available processes in the system after a couple of days of accumulation. The result is I cannot telnet or rlogin or even login from the console.  Below is an output from a ps -ef, and also a copy of what I have in the root crontab.&lt;BR /&gt;##############################&lt;BR /&gt;root  8078     1  0 09:33:01 ?         0:00 /usr/lbin/sa/sadc 1 11&lt;BR /&gt;root  8494     1  0 09:35:01 ?         0:00 /usr/lbin/sa/sadc 1 11&lt;BR /&gt;##############################&lt;BR /&gt;&lt;BR /&gt;##############################&lt;BR /&gt;0       *       *       *       *        /usr/lbin/sa/sa1&lt;BR /&gt;20,40   6-18    *       *       1-5      /usr/lbin/sa/sa1&lt;BR /&gt;05      18      *       *       *        /usr/lbin/sa/sa2 -s 6:00 -e 18:01 -i 90&lt;BR /&gt;0 -A&lt;BR /&gt;##############################&lt;BR /&gt;&lt;BR /&gt;system is N-Class HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2003 17:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926767#M929161</guid>
      <dc:creator>JDL_2</dc:creator>
      <dc:date>2003-03-13T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926768#M929162</link>
      <description>Hi JDL,&lt;BR /&gt;&lt;BR /&gt;Just type :&lt;BR /&gt;&lt;BR /&gt;sar -d 10 10  &lt;BR /&gt;&lt;BR /&gt;Means, sar -disk (every) 10 seconds for 10 (times)&lt;BR /&gt;&lt;BR /&gt;if I do a ps -ef | grep sa then :&lt;BR /&gt;&lt;BR /&gt;    root 27061 11287  0 18:41:25 pts/tf    0:00 sar -d 10 10&lt;BR /&gt;    root 27062 27061  0 18:41:25 pts/tf    0:00 /usr/lbin/sa/sadc 10 11&lt;BR /&gt;&lt;BR /&gt;So this might explain your sa. Not why it hangs. Do a truss/tusc of the process (tusc -p &lt;PID&gt;) and see what it actualy does.&lt;BR /&gt;&lt;BR /&gt;Is the directory /var/adm/sa writable or has is different problems ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regs David&lt;/PID&gt;</description>
      <pubDate>Thu, 13 Mar 2003 17:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926768#M929162</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-03-13T17:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926769#M929163</link>
      <description>Not having much experience in running sar in cron mode I can only suggest a few things ..&lt;BR /&gt;1- You should comment them out from cron for the time being until you figure out what's wrong.&lt;BR /&gt;2- Check if you got the latest sar cumulative patch (PHCO_25174). &lt;BR /&gt;3- Run sar in command line mode to see if they produces and error.&lt;BR /&gt;4- See if you can save the existing data (saXX files) and then purge those files to refresh them.</description>
      <pubDate>Thu, 13 Mar 2003 17:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926769#M929163</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-03-13T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926770#M929164</link>
      <description>Ah,&lt;BR /&gt;&lt;BR /&gt;Got it again.&lt;BR /&gt;Just run sar without any options. It will display you an error.&lt;BR /&gt;This is the reason why it hangs. If it doesn't give you a proper error use "tusc sar"&lt;BR /&gt;It will display a lot detailed info.&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Thu, 13 Mar 2003 17:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926770#M929164</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-03-13T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926771#M929165</link>
      <description>In addition to S K Chan's troubleshooting ideas: are you aware when this problem started - and any changes (patching, new software, cron changes, etc) that occurred around that time?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Thu, 13 Mar 2003 17:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926771#M929165</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-03-13T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926772#M929166</link>
      <description>Thanks for all the speedy replies.  &lt;BR /&gt;&lt;BR /&gt;David,&lt;BR /&gt;The processes hang because I have processes out there from this morning and it should stop after the 11th time.  I also did a sar without the options and I did get a coredump.  I attached it and maybe someone could interpret it for me.  Also I do not have a truss or tusc command.  Is that a utility that I could download and install?&lt;BR /&gt;&lt;BR /&gt;S.K./Darren,&lt;BR /&gt;I do not have the lastest patch.  This systems has an older patch rev, Sept 2001.  This system is also a standby system to our primary production, for MC Serviceguard.  The only change on this is that I have copied 2 SAP instances from 2 V-class boxes in order to consolidate servers.  The primary box is exactly the same as this standby as far as all the patches.  The SAP applications do not do much and are only used for queries by 2 or 3 users.  The cron entries were not there initially and discovered all the sadc processes.  We added the entries to see if it will stop the sadc process from accumulating.  I have accumulated 149 sadc processes since the start of this thread.  Any more input is greatly appreciated.  Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2003 22:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926772#M929166</guid>
      <dc:creator>JDL_2</dc:creator>
      <dc:date>2003-03-13T22:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926773#M929167</link>
      <description>Couple questions, do you really want a single snapshot of sar data at 20 and 40 minutes past the hour (2nd sa1 entry)?  And, is the -A really on it's own line in crontab?  &lt;BR /&gt;&lt;BR /&gt;Regarding sa1, let me suggest you add a time and count variable to the 2nd sa1 entry - the first line of output from sar should always be ignored as it is the cumulative average of that variable since the sytem was rebooted. The information that is most important from sar is what happened in the interval between the iterations - this is what provides the performance measurements.&lt;BR /&gt;&lt;BR /&gt;And, if the -A is on it's own line that could explain the sadc core dump - reason for failure - "sar: Number of samples and interval must be more than 0". To insure it's not alone, edit the file, place curson on the sa2 line and enter ^j to joim (assuming vi) then delete the extraneous 0.&lt;BR /&gt;&lt;BR /&gt;One last suggestion - do not run sar, sa1, sa2 on intervals less than 5 seconds - an interval below 5 seconds is less reliable since the unix kernel structures are typically only updated every 5 seconds.&lt;BR /&gt;&lt;BR /&gt;Let us know the results.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 14 Mar 2003 16:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926773#M929167</guid>
      <dc:creator>keith persons</dc:creator>
      <dc:date>2003-03-14T16:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926774#M929168</link>
      <description>Keith,&lt;BR /&gt;&lt;BR /&gt;The -A is on the same line and not on its own.  I commented out the 3 cron entries and rebooted the system.  The processes starts 2 minutes after the system is up. It keeps accumulating every 2 minutes after that.  What could be spawning this process?</description>
      <pubDate>Thu, 20 Mar 2003 19:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926774#M929168</guid>
      <dc:creator>JDL_2</dc:creator>
      <dc:date>2003-03-20T19:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926775#M929169</link>
      <description>&lt;BR /&gt;If I interpret correctly, you no longer have active sa* entries in root's crontab file yet after a reboot you're still getting spawning of the sadc process? Hmm, interesting to say the least. Looks like you'fe got a runaway process, sometimes difficult to track. A few things to try:&lt;BR /&gt;&lt;BR /&gt;run crontab -l as root on the system and verify the sa entries are commented out, I would prefer this method, see what crontab potentially returns.&lt;BR /&gt;&lt;BR /&gt;run the ps command twice in a row - making sure you have a &lt;CR&gt; between, and note the pid separation (with no arguments, this will show just your processes and not all of them) this should give us an idea of at least how many processes are getting spawned in between.&lt;BR /&gt;&lt;BR /&gt;Also, you mentioned this is a cluster correct? If you're using root's .rhosts file, connect to the other system and rerun the crontab -l above - let's make sure there's not a remote call to it from the other node - unlikely, but something to verify. &lt;BR /&gt;&lt;BR /&gt;Take a look in /var/spool/cron/atjobs on both systems, make sure there's no reference to the sa command there. &lt;BR /&gt;&lt;BR /&gt;Then, check the /sbin/init.d/cron file - possible corruption, hidden characters, or a loop may have been inserted. &lt;BR /&gt;&lt;BR /&gt;Lastly, might want to take a look for an updated cron patch. &lt;BR /&gt;&lt;BR /&gt;If none of this illuminates the source we may want to open a case for more formalized troubleshooting or isolation, at the least these items will be eliminated from primary suspicion.&lt;BR /&gt;&lt;BR /&gt;Let me know the results,&lt;BR /&gt;&lt;BR /&gt;Keith&lt;/CR&gt;</description>
      <pubDate>Thu, 20 Mar 2003 22:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926775#M929169</guid>
      <dc:creator>keith persons</dc:creator>
      <dc:date>2003-03-20T22:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: sadc processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926776#M929170</link>
      <description>Hi keith.  Sorry it took so long to response back but we couldn't find the source of what forks these processes.  We ended up cloning the system through ignite, from the production system and making necessary modifications to the netconf file to get it back to its identiy.  We then just laid all the data back from our omniback backups.  That seems to have solved the issue.  Thank you for your help and all the others that responded. This one is definitely has to be one of that could be put in the oddest issue vault.  Thanks again.</description>
      <pubDate>Thu, 27 Mar 2003 18:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sadc-processes/m-p/2926776#M929170</guid>
      <dc:creator>JDL_2</dc:creator>
      <dc:date>2003-03-27T18:56:41Z</dc:date>
    </item>
  </channel>
</rss>

