Re: Purify and mod_fastcgi with session affinity

Steve Ferguson <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <Pine.LNX.4.63.0509081554130.23208@dogbert>
You probably need to set a DISPLAY environment variable in your Apache
environment (I wouldn't do this on a production system, only for
development).  Have it point back to whichever X display you sit at and
ensure that you're either using an open xhost setting (e.g. 'xhost +')
or set your xauth configuration properly to allow the display to open.

Steve

On Thu, 8 Sep 2005, [email protected] wrote:

> I've got a question concerning IBM/Rational Purify and mod_fastcgi.  I have
> a fastCGI application that was built to run from Linux Apache with
> mod_fastcgi
> (session affinity patches applied).  The application runs great, but being
> written in C/C++ I want to check for memory leaks etc.  I built and
> instrumented the
> application with Purify, but when mod_fastcgi creates the processes (when
> Apache boots), A Purify GUI window is not created and I want this GUI to be
> created.  With 'ps' I can see that rtslave has been started with
> "-windows=yes" so a GUI window should have been created.  I suspect this
> problem has something
> to do with Apache starting my Purified application so it doesn't know the
> window ID.  If anyone has some experience with this I'd appreciate some
> suggestions.  BTW, the Apache log does show that Purify got a license and
> some problems are shown, but it shows minimal information.  I think the GUI
> would show more.
>
> Larry Cousin
>
>

-- 
Steve Ferguson                        | Having opinions without knowledge
Email: [email protected]        | is not of much value; not knowing
http://dogbert.dnsalias.org:8080/~stf | the difference between opinions
 				      | and knowledge is a positive
                                       | indicator of ignorance.

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.