Increase The Max Number of Processes Per UID in Solaris

If you are running solaris 8 or 9, and getting strange errors like:

“VFork failed”

when you try to run commands, or

“Mar 31 10:40:32 sauron genunix: [ID 748887 kern.notice] NOTICE: out of per-user processes for uid 1234″

from the dmesg command output, the most likely cause is that you have exceeded the maximum number of processes per user that you are allowed to run on your server.

To be sure, you can run:

ps -ef | grep <uid> | wc -l

and compare that number against the v.v_proc settings from the command:

sysdef -i

There will be a lot of output from “sysdef -i”, but you are looking for “v.v_proc” and “v.v_maxup”. “v.v_proc” is the max number of processes per user, and “v.v_maxup” is the max number of processes plus the reserved number for root.

You should see something like this:

4058 maximum number of processes (v.v_proc)
99 maximum global priority in sys class (MAXCLSYSPRI)
4053 maximum processes per user id (v.v_maxup)

Since the settings in this example is 4058, if 4058 is something like what you are seeing in the output of:

ps -ef | grep <uid> | wc -l

Than you will need to increase the value of v.v_proc and v.v_maxup. The good news is it’s easy to to. The bad news is that the settings you need to change are NOT v.v_proc and v.v_maxup. It is, instead, the “maxusers” value. The other bad news is that you can’t change them dynamicly.

Here is what you will most likely want to add to your /etc/system file. Tweak the setting as needed:

set maxusers = <This should be something like the amount of available physical memory in MB>

Then reboot the system, and your maximum number of processes per user should now be set to something much more reasonable than the Solaris defaults.

As you can see, setting maxusers to a value will control max_nprocs and maxuprc. The algorythms are:
max_nprocs = 10 + (16 x maxusers)
maxuprc = max_nprocs – reserved_procs (default is 5)

As a result, usually only maxusers is tuned.

Bush Has Record Low I.Q.

Everyone knows that George W. Bush is a blithering idiot, but now we finally have some data, albeit fake, to back it up.

Apparently the Lovenstein Institute (does not actually exist) has been tracking presidential I.Q. for some time and George W. Bush is right where he belongs at the bottom of the barrel. Coming in at 91, he’s just slightly dumber than his father who managed to come out some seven points ahead of him at 98.

It turns out that this is a hoax, but it makes for a pretty funny story anyhow…

Via the Original source:

Since 1973, the Lovenstein Institute has published its research to the educational community on each new president, which includes the famous “IQ” report among others. There have been twelve presidents over the past 50 years, from F.D. Roosevelt to G.W. Bush, who were rated based on scholarly achievements, writings that they produced without aid of staff, their ability to speak with clarity, and several other psychological factors, which were then scored using the Swanson/Crain system of intelligence ranking.

The study determined the following IQs of each president as accurate to within five percentage points:

In order by presidential term
147 Franklin D. Roosevelt (D)
132 Harry Truman (D)
122 Dwight D. Eisenhower (R)
174 John F. Kennedy (D)
126 Lyndon B. Johnson (D)
155 Richard M. Nixon (R)
121 Gerald Ford (R)
175 James E. Carter (D)
105 Ronald Reagan (R)
098 George Bush (R)
182 William J. Clinton (D)
091 George W. Bush (R)

In IQ order
182 William J. Clinton (D)
175 James E. Carter (D)
174 John F. Kennedy (D)
155 Richard M. Nixon (R)
147 Franklin D. Roosevelt (D)
132 Harry Truman (D)
126 Lyndon B. Johnson (D)
122 Dwight D. Eisenhower (R)
121 Gerald Ford (R)
105 Ronald Reagan (R)
098 George Bush (R)
091 George W. Bush (R)

The six Republican presidents of the past 50 years had an average IQ of 115.5, with President Nixon having the highest at 155. President G.W. Bush rated the lowest of all the Republicans with an IQ of 91. The six Democrat presidents had IQs with an average of 156, with President Clinton having the highest IQ, at 182. President Lyndon B. Johnson was rated the lowest of all the Democrats with an IQ of 126. No president other than Carter (D) has released his actual IQ, 176 (rated as 175 by the Lovenstein Institute).

Among comments made concerning the specific testing of President GW Bush, his low ratings are due to his apparently difficult command of the English language in public statements, his limited use of vocabulary (6,500 words for Bush versus an average of 11,000 words for other presidents), his lack of scholarly achievements other than a basic MBA, and an absence of any body of work which could be studied on an intellectual basis. The complete report documents the methods and procedures used to arrive at these ratings, including depth of sentence structure and voice stress confidence analysis. “All the Presidents prior to George W. Bush had a least one book under their belt, and most had written several white papers during their education or early careers. Not so with
President Bush,” Dr. Lovenstein said. “He has no published works or writings, which made it more difficult to arrive at an assessment. We relied more heavily on transcripts of his unscripted public speaking.”

Buddhism For Beginners

When you go looking to get started down the Buddhist path, there are a few books that will help get you on the right track. The Foundation for the Preservation of the Mahayana Tradition suggests the following:

Liberation in the Palm of Your Hand : A Concise Discourse on the Path to Enlightment by Pabongka (Spiritual Classics)

Open Heart, Clear Mind

The Mind and its Functions

Spiritual Friends:
Meditations by Monks and Nuns of the IMI

Montana Meth Project

I’m not naive enough to believe that the “war on drugs” is anymore winnable than this country’s ludicrous “war on terror”, but those who know me, know that I hate drugs… So, I was happy to learn that, facing a huge meth-amphetamine problem, an organization backed by corporations called The Montana Meth Project has sprung to life and made a seriously concerted effort to dissuade Montana’s youth from using meth.

Yep… You read that one correctly. I’m usually not one to give corporations much credit since they are usually happy to ignore civic responsibility if it will increase the bottom line for their shareholders, but in this case, a group of them have seriously stepped up to the plate, and are attempting to make a real difference.

Using some pretty hard-core TV, radio, and billboard ads, the Montana Meth Project is trying to keep kids off meth by putting the consequences of addiction right in front of their faces. They’ve realized that the usual anti-drug image of police officers droning on about jail time and fines if you are caught with drugs only reinforces the “us against them” attitude and often turns kids towards drugs rather than away from them. By instead focusing on the much more real and humanistic repercussions of drug addiction, they are hoping that Montana’s youth will avoid meth not to simply doge a meaningless fine, but to avoid screwing up their lives.

I, for one, think this is a great idea, and hold myself as an example of why it will work. I have little to no respect for the law, but I do have respect for my own life, health, and well-being. It is for these reasons alone that I have never tried drugs. Let’s hope Montana’s kids find these messages compelling.


Montana Meth Project PSA – That Guy from Cliff Pearson on Vimeo.


Montana Meth Project PSA – Just Once from Cliff Pearson on Vimeo.


Montana Meth Project PSA – Laundry from Cliff Pearson on Vimeo.


Montana Meth Project PSA – Eybrows from Cliff Pearson on Vimeo.


Montana Meth Project PSA – Bathroom from Cliff Pearson on Vimeo.