OpenQNX :: The QNX Community Portal

May 18, 2008 - 12:05 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 37 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
functor
22 Post subject: "sin" command takes eons  PostPosted: Jan 18, 2008 - 04:48 PM
New Member


Joined: Jul 18, 2007
Posts: 3

I'm trying to debug some applications on a QNX6 server and am getting quite frustrated @ the amount of time it takes to run a simple "sin" command. It literally takes over 5 minutes to run. I've got the system monitor running and it shows low CPU usage and stable ram usage. Has anyone else had this problem? How do I fix it? Thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: "sin" command takes eons  PostPosted: Jan 20, 2008 - 09:16 PM
QNX Master


Joined: Sep 01, 2002
Posts: 2675

What version of QNX are you using. If you are running your own programs it's possible that they are receiving a message from sin and are not handling it properly.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Tim
Post subject:   PostPosted: Jan 21, 2008 - 03:46 PM
Senior Member


Joined: Mar 10, 2004
Posts: 516

Functor,

Are you running the 'sin' command directly on the QNX machine (console or under Photon) or from the Momentics Eclipse environment via a Windows machine?

Assuming you are using QNX 6, what happens if you try a 'pidin' command or a 'hogs' command? Do they also take 5 minutes to run?

Tim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ingraham
Post subject:   PostPosted: Jan 21, 2008 - 09:15 PM
Active Member


Joined: Nov 05, 2003
Posts: 56
Location: Texas
I have also seen this problem. We just gave up on sin and use pidin exclusively. Never really paid a lot of attention since pidin is fine for us. We've had this problem since the 6.2 days, by the way, on every machine with every configuration of every version/patch of QNX 6 we've tried.

-James Ingraham
Sage Automation, Inc.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mario
Post subject:   PostPosted: Jan 22, 2008 - 12:34 AM
QNX Master


Joined: Sep 01, 2002
Posts: 2675

In all cases that I've seen this it was because a program was not able to handle the message receive by sin. And most of the time it's not one of the QNX program, that not handling these messages properly ;-0
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
maschoen
Post subject:   PostPosted: Jan 22, 2008 - 03:52 PM
QNX Master


Joined: Jun 25, 2003
Posts: 977

Ironically, the program has to announce to the OS that it does know how to handle the message before this can happen.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
functor
Post subject:   PostPosted: Jan 23, 2008 - 03:53 PM
New Member


Joined: Jul 18, 2007
Posts: 3

Many thanks to all the replies!

I tried the pidin and hogs commands and they both run immediately. That pidin command in particular will be of great use.

I am running the sin command by connecting to the server using Phindows, which then had the Photon GUI.

The server is running a lot of code that didn't come with the OS and I think is very likely they aren't responding to the sin commands properly. I am also having problem with this code as the processes often die rusulting in downtime. Perhaps these are two symptoms of the same problem.

Thanks again for the input!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.