× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This has really only been an issue on 1 of our 15 lpars of IBM i. Five per Power system. Of course, you use all the other lpars to say, "I guess we can upgrade this one now..."

Trying to tie in the results of these two SQL statements:
-- Are we approaching maximum number of threads?
select system_pool_id,pool_name,maximum_active_threads,
current_threads,
dec(
dec(current_threads, 15, 3) / dec(maximum_active_threads, 15, 3)
, 15, 3) as Thread_Percent
FROM gdihq.QSYS2.MEMORY_POOL_INFO
where system_pool_id = 2
and dec(dec(current_threads, 15, 3) / dec(maximum_active_threads, 15, 3) , 15, 3) > .40
;
This comes out to 2,639 current threads

select sum(thread_count)
from table(active_job_info())
where memory_pool='BASE'
This comes out to 3,166 threads.
I'm guessing the ~500 difference is active vs total threads or some such thing. Otherwise "jobs" would be less if we thought it was system tasks or that genre that made up the difference.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.