- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron spawning multiple processes
Operating System - HP-UX
1753837
Members
8655
Online
108806
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 02:52 AM
тАО11-11-2010 02:52 AM
Re: Cron spawning multiple processes
Hi Dennis,
I commented out the hostnames :-)
I have changed the + to a - and let it run again, I am not sure what I am looking for in terms of a trace, or how to get more info. Anyhow, this is the output from the ps:
r0_pdms 22869 2716 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22871 22869 1 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22872 22871 1 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22874 22872 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22875 22874 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
Thanks
I commented out the hostnames :-)
I have changed the + to a - and let it run again, I am not sure what I am looking for in terms of a trace, or how to get more info. Anyhow, this is the output from the ps:
r0_pdms 22869 2716 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22871 22869 1 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22872 22871 1 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22874 22872 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
r0_pdms 22875 22874 0 11:45:00 ? 00:00 sh -c (. $HOME/set_dmsenvtest.sh)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 03:37 AM
тАО11-11-2010 03:37 AM
Re: Cron spawning multiple processes
ah, found it....uploaded :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 04:01 AM
тАО11-11-2010 04:01 AM
Re: Cron spawning multiple processes
>found it....uploaded :-)
Where? /var/spool/cron/tmp/? Or $HOME/cron_log/cron.log?
You seemed to get to ${DB2HOME}/sqllib/db2profile & /opt/IBM/db2ia32/sqllib/userprofile
It might help to have "set -x" in the latter.
>export DB2CODEPAGE=1051 shows you got back.
>HARES=/opt/VRTSvcs/bin/hares
It seems you got to the end of the file.
There seems to be something broken with the shell. You might try making sure it and cron hasn't be corrupted:
swverify OS-Core.UX2-CORE OS-Core.CMDS2-MIN
Or you might want to use tusc on cron to see why those shells get forked.
tusc -fp -ea -o tusc.out 2716 #cron-PID
You can kill tusc after you see another bunch of nested shells hung.
I've had cases with the scummy C shell where it hangs. You could try redirecting stdin to /dev/null:
(. $HOME/set_dmsenv.sh; tb_monitor.sh) >> $HOME/cron_log/cron.log 2>&1 < /dev/null
Where? /var/spool/cron/tmp/? Or $HOME/cron_log/cron.log?
You seemed to get to ${DB2HOME}/sqllib/db2profile & /opt/IBM/db2ia32/sqllib/userprofile
It might help to have "set -x" in the latter.
>export DB2CODEPAGE=1051 shows you got back.
>HARES=/opt/VRTSvcs/bin/hares
It seems you got to the end of the file.
There seems to be something broken with the shell. You might try making sure it and cron hasn't be corrupted:
swverify OS-Core.UX2-CORE OS-Core.CMDS2-MIN
Or you might want to use tusc on cron to see why those shells get forked.
tusc -fp -ea -o tusc.out 2716 #cron-PID
You can kill tusc after you see another bunch of nested shells hung.
I've had cases with the scummy C shell where it hangs. You could try redirecting stdin to /dev/null:
(. $HOME/set_dmsenv.sh; tb_monitor.sh) >> $HOME/cron_log/cron.log 2>&1 < /dev/null
- Tags:
- scummy C shell
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP