cancel
Showing results for 
Search instead for 
Did you mean: 

BLOCKED ON PRIORITY.....

Andreas Scheucher
Occasional Visitor

BLOCKED ON PRIORITY.....

Hi. We have written a c++ programm thats searching and converting a real big
amount of numbers. ( 100 - 300 MB files) its running really fine, but after it
did about 50 percent of its job ( 5 hours)it really slows down. its getting
slower and slower and nedds for the next 50% about 20 hours. we are sure there
are no memmory leaks. its still running on about 98% on evry CPU. a unix admin
found out that the process is "blocked on priority" about 30%. can annybody
tell us what this means?

thanx anybody
4 REPLIES
Bob Tehranian_1
Occasional Visitor

Re: BLOCKED ON PRIORITY.....

Hi Andrea,

Are you running the process in the background or the foreground?

have you tried the nice command?

regards,

BT
Ivan Ferreira
Honored Contributor

Re: BLOCKED ON PRIORITY.....

If a process is blocked on Priority
that means that it was stuck waiting for CPU time as a higher-priority process ran.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: BLOCKED ON PRIORITY.....

Sorry, I cannot see the replies. I will post again to test.

"If a process is blocked on Priority
that means that it was stuck waiting for CPU time as a higher-priority process ran."
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: BLOCKED ON PRIORITY.....

I suggest you to monitor CPU/memory usage with "top", for example. Do you (other users) run other CPU/memory demand applications?