Couple of days back, I was asked to look into some web server related issue, at our partner's site. According to them, they packaged and deployed the web application, per the instructions of Sun Java Web Server (aka iPlanet web server) documentation -- yet they couldn't access their application using a web browser. They gave me a clue that they noticed some error (see below) during the web server start up:[23/Mar/2006:04:07:29] failure (11038): WEB4220: The web application [/mywebapp] is unavailable because of errors during startup. Please check...
Sunday, 26 March 2006
Wednesday, 22 March 2006
Updated C/C++ articles on Sun Developer Network (SDN)
Posted on 20:25 by Unknown
In an effort to clean up the outdated content, SDN/Sun Studio team got all the published articles reviewed one more time. Since there are two articles under my name, they forwarded the new feedback and asked me to make the changes, as they fit. The updated content is live now, and is available at the following URLs: Mixed-Language Programming and External LinkageThanks to Lawrence Crowl (Sun) for the corrections; and also for suggesting a better solution for the example. Reducing Symbol Scope with Sun Studio C/C++Thanks to Mukesh Kapoor (Sun)...
Saturday, 18 March 2006
Solaris: Better scalability with libumem
Posted on 15:16 by Unknown
Scalability issues with standard memory allocatorIt is a known fact that multi-threaded applications do not scale well with standard memory allocator, because the heap is a bottleneck. When multiple threads simultaneously allocate or de-allocate memory from the allocator, the allocator will serialize them. Therefore, with the addition of more threads, we find more threads waiting, and the wait time grows longer, resulting in increasingly slower execution times. Due to this behavior, programs making intensive use of the allocator actually slow...
Tuesday, 14 March 2006
Solaris: DTrace script for getting call stacks
Posted on 21:19 by Unknown
The following DTrace script really helped me nailing down some lock contention issue, that I was looking into, at work. This simple script records all the call stacks, upto 60 frames, whenever a call has been made to lwp_*() API, explicitly or implicitly. At the end (ie., when we press ^C), it dumps all the stack traces along with the number of times the same call stack was executed. It also prints the duration (in seconds) for which the data was collected, and the IDs of active LWPs.% cat lwp.d#!/usr/sbin/dtrace -s#pragma D option quietBEGIN{...
Friday, 3 March 2006
Solaris: Resource Controls - Physical Memory
Posted on 22:47 by Unknown
Solaris Zones: Resource Controls - CPU explains the steps to control the CPU resources on any server, running Solaris 10 or later. It is also possible to restrict the physical memory usage by a process, or by all processes owned by a user. This can be done either in a local zone or in a global zone on Solaris 10 and later. Note that Solaris 9 and later versions can be used for capping physical memory.The goal of this blog entry is to show the simple steps in restricting the total physical memory utilization by all processes owned by an user...
Subscribe to:
Posts (Atom)