[mapguide-users] Test if MapGuide server is running

Zac Spitzer zac.spitzer at gmail.com
Sun May 11 23:22:30 EDT 2008


I am seeing issues on both linux and windows. Windows is worse because
the daemon crashes in a state which can't be killed except using
zerowave. Running the server interactively ( is mgserver run or
/mgserver.sh ) is better when playing nurse made as you can easily see
when the server has exited.

I am mostly using the SHP provider on linux and SDF on windows.
Mapguide doesn't seem to log any crash error information. I think it
would help if there where server start & stop messages in both the
error and access log files.

Authoring via Studio seems to provoke the crashes the most.

On Mon, May 12, 2008 at 1:10 PM, Andy Morsell <amorsell at spatialgis.com> wrote:
> Are you seeing a lack of stability Zac?  I'm seeing frequent daemon lockups
> on Linux with  2.0 and can't put my finger on the cause since there is no
> useful information in any of the log files or in debug mode.  I'm using the
> FDO MySQL provider extensively as well.
>
>
> Andy
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
> Sent: Sunday, May 11, 2008 8:01 PM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] Test if MapGuide server is running
>
> Jim,
>
> >From "But i want to do this every few seconds." are you suffering from
> a lack of stability with Mapguide?
>
> z
>
> On Sun, May 11, 2008 at 3:49 AM, Jason Birch <Jason.Birch at nanaimo.ca> wrote:
>> Jim, I wouldn't count on a lack of entries in the log file indicating that
> the server is running.  This hasn't happened to me recently, but I've seen a
> few cases where the server has just dumped out without any entries.
>>
>> Using something like the mapagent's GetSiteVersion would have the benefit
> of testing both the web tier and the server, but of course it wouldn't tell
> you which was broken so a commandline API call might be better.
>>
>> Jason
>>
>> ________________________________
>>
>> From: mapguide-users-bounces at lists.osgeo.org on behalf of Jim O'Leary
>> Sent: Sat 2008-05-10 6:34 AM
>> To: mapguide-users at lists.osgeo.org
>> Subject: RE: [mapguide-users] Test if MapGuide server is running
>>
>> I think this would involve a lot of overhead. I would have to 'try' to
>> create a Session and 'catch' an exception. But i want to do this every few
> seconds.
>> It would be easier to use a Python script to parse the log file.
>> However, it would be more appropriate to use a built-in test, if one
> exists.
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list