Skip to main content

Welcome to TechDebug. Currently migrating away from Wordpress to Hugo static site. Comments are currently offline.

Most recent blogs …

Mac OS X – C compiler cannot create executables

A friend was trying to compile cvsgraph on his Mac (10.4.10 intel) the other day and was receiving the error <br /> configure: error: C compiler cannot create executables<br /> By chance he also tried installing a Fink package by source that day as well, and received the same error. We checked out the GCC version <br /> gcc -v<br /> and it showed GCC 3.3. Some google time later, and it turns out this is an older GCC for the current XCode SDK he has installed.

MQ DEFPSIST Bottlenecks

Recently I posted about our Websphere MQ MQCONN 2195 errors, and how we needed to apply the minimal recommended Solaris Kernel tuning for Websphere MQ. Well, we applied the changes, rebooted and connection problems were gone. Our application was able to spawn multiple connections to MQ without the errors we were seeing before. However, we were still getting climbing response times when doing load tests between a request message being sent and a reply message arriving back.

Clearcase Element Permissions on Unix

I was wondering how to set permissions on an element in clearcase under unix. You can’t just use your normal chmod. After reading “Phil for Humanity” I had the answer: cleartool protect -chmod 550 myscript.sh Quite simple after all. Your file, in this case myscript.sh, will now have the permissions you want. Remember however, if you try to set write permissions on a file element, it wont set. The clearcase man page for protect advises that write perms are ignored – instead to obtain write permission to a file element, it must be checked out.

Solaris Zombie processes

In Solaris (and UNIX), a process is a zombie, as shown by the message defunct in the ps report. A zombie process is one that has had all its resources freed, but has not received an acknowledgement from a parent process, receipt of which would ordinarily remove its entry from the process table. The next time a system is booted, zombie processes are cleared. Zombies should not affect system performance, and you should not need to remove them.

Clearcase Branches Solved?

I think I may have stumbled upon the answer. I’m so set in my CVS ways that I though the best thing was to branch the entire top level folder – recursively. What I really was after was a way of setting the configspec on the NEW view I create for the new branch, and making it show code that is labeled with a particcular label, then when it is checked out and in, a new revision exists on the new branch.

Solaris 9 Kernel Parameters

Following up from the last post, you may be interested in a little reading on Sun’s explanation of the semaphore and shared memory settings for Solaris Kernel parameters, using /etc/system. set semsys:* is for System V Semaphores set shmsys:* is for System V Shared Memory set msgsys:* is for System V Message Queues My personal server OS of choice is OpenBSD, so if you know OpenBSD, then think /etc/sysctl.conf as it is similar.

Tuning Solaris 9 for MQ V6.0

I was working on a recently built Solaris 9 server with a fresh copy of MQ installed. During application testing, we were getting 2195 errors from our application when establishing more than 3 concurrent connects to MQ. After a day of wasted de-bugging of our application, we put it down to the system, and it seems we may have been correct. There is an install chapter in the MQ V6.0 documentation that should NOT be overlooked.

Coffee and Skin Cancer prevention

The Two Beans Worth Coffee Blog at espressocoffeesnobs.com references an LA Times article as stating: In a study done by Rutgers University, NJ, the scientists found that rats could reduce the likelihood of pre-cancerous sun-damaged cells from becoming cancerous by 100% if the rats either exercised or drank caffeine. However, when both the exercise and caffeine were combined, the preventative qualities of the combo raised the efficacy to a whopping 400%