- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpu busy on syscalls fail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
07-07-2010 01:57 AM
07-07-2010 01:57 AM
cpu busy on syscalls fail
I'm using php-cgi on HP-UX 11.31 U 9000/800
My project is a porting from linux machine.
I have seen that on HP-UX the php-cgi get a lot of CPU than Linux.
I used tusc to understand what happen and I have seen a lot of errors message on syscalls.
Could you help me to understand why?
#tusc -z 8939
readlink("/usr", 0x70983340, 1024) ........................................................ ERR#22 EINVAL
readlink("/usr/montella", 0x70983340, 1024) ............................................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4", 0x70983340, 1024) .................................. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs", 0x70983340, 1024) ........................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320", 0x70983340, 1024) ............. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320/app.php", 0x70983340, 1024) ..... ERR#22 EINVAL
readlink("/usr", 0x70982f40, 1024) ........................................................ ERR#22 EINVAL
readlink("/usr/montella", 0x70982f40, 1024) ............................................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4", 0x70982f40, 1024) .................................. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/scripts", 0x70982f40, 1024) .......................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs", 0x70982f40, 1024) ........................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320", 0x70982f40, 1024) ............. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320/app.php", 0x70982f40, 1024) ..... ERR#22 EINVAL
readlink("/usr", 0x70983000, 1024) ........................................................ ERR#22 EINVAL
readlink("/usr/montella", 0x70983000, 1024) ............................................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4", 0x70983000, 1024) .................................. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/scripts", 0x70983000, 1024) .......................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs", 0x70983000, 1024) ........................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320", 0x70983000, 1024) ............. ERR#22 EINVAL
ioctl(36, TCGETA, 0x70982738) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70983bb8) ............................................................. ERR#25 ENOTTY
readlink("/usr", 0x70988100, 1024) ........................................................ ERR#22 EINVAL
readlink("/usr/montella", 0x70988100, 1024) ............................................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4", 0x70988100, 1024) .................................. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs", 0x70988100, 1024) ........................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320", 0x70988100, 1024) ............. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320/mapping.php", 0x70988100, 1024) . ERR#22 EINVAL
readlink("/usr", 0x70988100, 1024) ........................................................ ERR#22 EINVAL
readlink("/usr/montella", 0x70988100, 1024) ............................................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4", 0x70988100, 1024) .................................. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs", 0x70988100, 1024) ........................... ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320", 0x70988100, 1024) ............. ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320/core", 0x70988100, 1024) ........ ERR#22 EINVAL
readlink("/usr/montella/_ZICLIGHT3.4/htdocs/ZIC1850TSS320/core/zcsessionpatch.php", 0x70988100, 1024) ERR#22 EINVAL
...
...
ioctl(36, TCGETA, 0x709933b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709933b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709933b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70993df8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70993df8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70993df8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70993df8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70993378) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70992e38) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x709938b8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70992e38) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70982e38) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70982fb8) ............................................................. ERR#25 ENOTTY
ioctl(36, TCGETA, 0x70982df8) ............................................................. ERR#25 ENOTTY
shutdown(22, SHUT_WR) ..................................................................... ERR#22 EINVAL
thx
Al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 02:04 AM
07-07-2010 02:04 AM
Re: cpu busy on syscalls fail
By example, the 'errno' value (e.g. #22) and the corresponding mnemonic name ('EINVAL') together with the system call ('readlink()') are given. If you look in the manpages for the system call in question, you will see that EINVAL for readlink() means that the path argument names a file that is not a symbolic link.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 02:17 AM
07-07-2010 02:17 AM
Re: cpu busy on syscalls fail
These are also normal. Every time you use stdio to open a file, it assumes it may be a TTY and goes that ioctl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 02:23 AM
07-07-2010 02:23 AM
Re: cpu busy on syscalls fail
by the way , thx for very fast answer :))
Al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 02:35 AM
07-07-2010 02:35 AM
Re: cpu busy on syscalls fail
Where are you spending your CPU time? In the user code or in the OS? What does time(1) show?
If you were on Integrity, you could use caliper to find where you are spending your time.
You could also purchase glance.