[mapguide-users] mgserver process hangs / memory usage
hallo, we are using MGOS in the following environment: - MGOS 2.0 - IIS6 on MS Server2003 - ASP application / .Net environment - Server with dual processor / 4 GB RAM our application has one map, one layout, about 50 layers, some MRSID, some TIFF and shape files, user can calculate a route, therefore we have 4 dynamic layers in session repository The mgserver process occasionally crashes and monitoring the memory usage I can see the following behaviour: After starting the mgserver process the use of memory continously increases, the pagefile size grows permanetly, and both of them do never decrease. Error messages in mgserver logfiles: - out of memory, bad allocation - failed to stylize layer - no more fdo connections - unexpected exception - ressource busy the error messages are not allways identical. The mgserver process hangs completely, can not be restarted so I have to restart the server. Does anybody have a similar situation ? I didn't change settings in serverconfig.ini, any hints, what to change there ? Why does the mgserver process not deallocate memory, may be there is something wrong in my IIS6 configuration ? Thanks for any help, Hans ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] New flexible layout
Hi All, Anyone knows why it can't to work with flexible layout? It prompts the following msg: An exception occurred in the XML parser. An exception occurred in the XML parser. Exception occurred in method MgWebLayout.ParseWebLayoutDefinition at line 276 in file WebLayout.cpp Basic layout can be work fine! Why?? Cheers, Eric ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mgserver process hangs / memory usage
We meet the same problem in our project. The memory increases when we are using mgservices.we can find any api to release the memory. In the beginning, the memory is about 54Mb,it creashes when the memory goes to 220Mb. Now,we have to use a .bat file to restart the server before it goes to the dead line of the memory,before it gets to 200Mb. we restart the server in the midnight automatically. This is our tempory ways to solve this problem. by the way ,if u only pan or zoom the layer in tile mode.memory wonn't increase,only if u use mgservices to add or edit the information of the layer. If u use tiled map,tile the whole map before u publish it.the tile processing cause crash very quickly. hope can help. 2008-05-20 xuzhengeology 发件人: G.E.O.-Consulting_/_Hans_Morschell 发送时间: 2008-05-20 15:57:17 收件人: MapGuide Users Mail List 抄送: 主题: [mapguide-users] mgserver process hangs / memory usage hallo, we are using MGOS in the following environment: - MGOS 2.0 - IIS6 on MS Server2003 - ASP application / .Net environment - Server with dual processor / 4 GB RAM our application has one map, one layout, about 50 layers, some MRSID, some TIFF and shape files, user can calculate a route, therefore we have 4 dynamic layers in session repository The mgserver process occasionally crashes and monitoring the memory usage I can see the following behaviour: After starting the mgserver process the use of memory continously increases, the pagefile size grows permanetly, and both of them do never decrease. Error messages in mgserver logfiles: - out of memory, bad allocation - failed to stylize layer - no more fdo connections - unexpected exception - ressource busy the error messages are not allways identical. The mgserver process hangs completely, can not be restarted so I have to restart the server. Does anybody have a similar situation ? I didn’t change settings in serverconfig.ini, any hints, what to change there ? Why does the mgserver process not deallocate memory, may be there is something wrong in my IIS6 configuration ? Thanks for any help, Hans 14.gif___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: Re: [mapguide-users] mgserver process hangs / memory usage
Thanks for the answer, i think we will do the something similar … Do you have a way to avoid loss of sessions when restarting mgserver ? Thanks, Hans _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von xuzhengeology Gesendet: Dienstag, 20. Mai 2008 12:01 An: MapGuide Users Mail List Betreff: *SPAM* Re: [mapguide-users] mgserver process hangs / memory usage We meet the same problem in our project. The memory increases when we are using mgservices.we can find any api to release the memory. In the beginning, the memory is about 54Mb,it creashes when the memory goes to 220Mb. Now,we have to use a .bat file to restart the server before it goes to the dead line of the memory,before it gets to 200Mb. we restart the server in the midnight automatically. This is our tempory ways to solve this problem. by the way ,if u only pan or zoom the layer in tile mode.memory wonn't increase,only if u use mgservices to add or edit the information of the layer. If u use tiled map,tile the whole map before u publish it.the tile processing cause crash very quickly. hope can help. 2008-05-20 _ xuzhengeology _ 发件人: G.E.O.-Consulting_/_Hans_Morschell 发送时间: 2008-05-20 15:57:17 收件人: MapGuide Users Mail List 抄送: 主题: [mapguide-users] mgserver process hangs / memory usage hallo, we are using MGOS in the following environment: - MGOS 2.0 - IIS6 on MS Server2003 - ASP application / .Net environment - Server with dual processor / 4 GB RAM our application has one map, one layout, about 50 layers, some MRSID, some TIFF and shape files, user can calculate a route, therefore we have 4 dynamic layers in session repository The mgserver process occasionally crashes and monitoring the memory usage I can see the following behaviour: After starting the mgserver process the use of memory continously increases, the pagefile size grows permanetly, and both of them do never decrease. Error messages in mgserver logfiles: - out of memory, bad allocation - failed to stylize layer - no more fdo connections - unexpected exception - ressource busy the error messages are not allways identical. The mgserver process hangs completely, can not be restarted so I have to restart the server. Does anybody have a similar situation ? I didn’t change settings in serverconfig.ini, any hints, what to change there ? Why does the mgserver process not deallocate memory, may be there is something wrong in my IIS6 configuration ? Thanks for any help, Hans image001.gif___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] New flexible layout
Are you trying to pass a fusion flexible layout into the basic ajax viewer? Web Layouts and Flexible Layouts (aka. Application Definitions) are two totally different things with two different XML schemas. - Jackie Eric123 wrote: Hi All, Anyone knows why it can't to work with flexible layout? It prompts the following msg: An exception occurred in the XML parser. An exception occurred in the XML parser. Exception occurred in method MgWebLayout.ParseWebLayoutDefinition at line 276 in file WebLayout.cpp Basic layout can be work fine! Why?? Cheers, Eric ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users - http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/New-flexible-layout-tp17336795p17338972.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] install mapguide to Virtual machine
I've installed on VMWare with Fedora 4, CentOS 5 and XP without any problems related to the fact that it's a virtual machine. MapGuide doesn't know or care that it's a VM.. When you say that it doesn't work, can you be more specific? Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:39 PM To: mapguide users Subject: [mapguide-users] install mapguide to Virtual machine Hi All, Anyone tried to install mapguide to virtual machine (e.g. Xen, VMware...)? It seems it doesn't work. I tried VMware - Fedora 6 and Xen - CentOS45! Thks Cheers, Eric ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] SDF UnManaged?
When you setup a data connection for SHP there are options to choose aliased folder why is this not an option for SDF anymore? I know this is more of a Studio question but I am just making sure this is not some limitation. The Rock ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] mgserver process hangs / memory usage
I've been working with MGOS 2 on CentOS 5 for the last month or so, and while not in production yet, have experienced many crashes of the server component. However, updating to 2.0.1 last week seems to have significantly improved the stability. It looks like it's only been released to the internals so far, and has not been officially announced yet. http://download.osgeo.org/mapguide/releases/2.0.1/ Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic Sent: Tuesday, May 20, 2008 4:07 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] mgserver process hangs / memory usage I'm experiencing exactly the same behaviour with both MGOS and MGE running on both 1.2.0 and 2.0.0 versions. Testing server: - Quad-core, 4 GB RAM - Windows Server 2003 R2 - IIS 6 + ASP.NET (.NET 2.0) This is the _major_ obstacle for MGE/MGOS deloyment throughout multiuser environment. How about Linux/Apache MG developers? Do you guys experience similar problems? Regards, Maksim Sestic _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of xuzhengeology Sent: Tuesday, May 20, 2008 12:01 To: MapGuide Users Mail List Subject: Re: [mapguide-users] mgserver process hangs / memory usage We meet the same problem in our project. The memory increases when we are using mgservices.we can find any api to release the memory. In the beginning, the memory is about 54Mb,it creashes when the memory goes to 220Mb. Now,we have to use a .bat file to restart the server before it goes to the dead line of the memory,before it gets to 200Mb. we restart the server in the midnight automatically. This is our tempory ways to solve this problem. by the way ,if u only pan or zoom the layer in tile mode.memory wonn't increase,only if u use mgservices to add or edit the information of the layer. If u use tiled map,tile the whole map before u publish it.the tile processing cause crash very quickly. hope can help. 2008-05-20 _ xuzhengeology _ 发件人: G.E.O.-Consulting_/_Hans_Morschell 发送时间: 2008-05-20 15:57:17 收件人: MapGuide Users Mail List 抄送: 主题: [mapguide-users] mgserver process hangs / memory usage hallo, we are using MGOS in the following environment: - MGOS 2.0 - IIS6 on MS Server2003 - ASP application / .Net environment - Server with dual processor / 4 GB RAM our application has one map, one layout, about 50 layers, some MRSID, some TIFF and shape files, user can calculate a route, therefore we have 4 dynamic layers in session repository The mgserver process occasionally crashes and monitoring the memory usage I can see the following behaviour: After starting the mgserver process the use of memory continously increases, the pagefile size grows permanetly, and both of them do never decrease. Error messages in mgserver logfiles: - out of memory, bad allocation - failed to stylize layer - no more fdo connections - unexpected exception - ressource busy the error messages are not allways identical. The mgserver process hangs completely, can not be restarted so I have to restart the server. Does anybody have a similar situation ? I didn’t change settings in serverconfig.ini, any hints, what to change there ? Why does the mgserver process not deallocate memory, may be there is something wrong in my IIS6 configuration ? Thanks for any help, Hans 14.gif___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] SDF UnManaged?
What version of MGOS are you using? The latest MGOS and MGE2009 Studio still allow alias folders for SDF. Thanks, Bruce From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans Sent: Tuesday, May 20, 2008 9:23 AM To: MapGuide Users Mail List Subject: [mapguide-users] SDF UnManaged? When you setup a data connection for SHP there are options to choose aliased folder why is this not an option for SDF anymore? I know this is more of a Studio question but I am just making sure this is not some limitation. The Rock ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Test if MapGuide server is running
The unit tests are not a reliable indicator of the MapGuide server status because the MapGuide server has not stopped. It is just hanging and thinks it is running, so reports on any test that The repository is already opened by another process. So there is no simple way to test that the MapGuide server is running? JasonBirch 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: [EMAIL PROTECTED] on behalf of Jim O'Leary Sent: Sat 2008-05-10 6:34 AM To: mapguide-users@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users - nbsp; Jim O#8217;Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca nbsp; nbsp;#8220;A Member ofnbsp;StarDyne Technologies#8221; nbsp;nbsp; http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.nbsp; Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.nbsp; We are not liable for the timely, proper or complete transmission of the information contained in such communications.nbsp; We are also not liable for the loss of confidentiality of information contained in such communications. nbsp; -- View this message in context: http://www.nabble.com/Test-if-MapGuide-server-is-running-tp17157418p17344338.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mgserver process hangs / memory usage
Can you share your batch file? Thanks xuzhengeology wrote: We meet the same problem in our project. The memory increases when we are using mgservices.we can find any api to release the memory. In the beginning, the memory is about 54Mb,it creashes when the memory goes to 220Mb. Now,we have to use a .bat file to restart the server before it goes to the dead line of the memory,before it gets to 200Mb. we restart the server in the midnight automatically. This is our tempory ways to solve this problem. by the way ,if u only pan or zoom the layer in tile mode.memory wonn't increase,only if u use mgservices to add or edit the information of the layer. If u use tiled map,tile the whole map before u publish it.the tile processing cause crash very quickly. hope can help. 2008-05-20 xuzhengeology 发件人: G.E.O.-Consulting_/_Hans_Morschell 发送时间: 2008-05-20 15:57:17 收件人: MapGuide Users Mail List 抄送: 主题: [mapguide-users] mgserver process hangs / memory usage hallo, we are using MGOS in the following environment: - MGOS 2.0 - IIS6 on MS Server2003 - ASP application / .Net environment - Server with dual processor / 4 GB RAM our application has one map, one layout, about 50 layers, some MRSID, some TIFF and shape files, user can calculate a route, therefore we have 4 dynamic layers in session repository The mgserver process occasionally crashes and monitoring the memory usage I can see the following behaviour: After starting the mgserver process the use of memory continously increases, the pagefile size grows permanetly, and both of them do never decrease. Error messages in mgserver logfiles: - out of memory, bad allocation - failed to stylize layer - no more fdo connections - unexpected exception - ressource busy the error messages are not allways identical. The mgserver process hangs completely, can not be restarted so I have to restart the server. Does anybody have a similar situation ? I didn’t change settings in serverconfig.ini, any hints, what to change there ? Why does the mgserver process not deallocate memory, may be there is something wrong in my IIS6 configuration ? Thanks for any help, Hans ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users - nbsp; Jim O#8217;Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca nbsp; nbsp;#8220;A Member ofnbsp;StarDyne Technologies#8221; nbsp;nbsp; http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.nbsp; Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.nbsp; We are not liable for the timely, proper or complete transmission of the information contained in such communications.nbsp; We are also not liable for the loss of confidentiality of information contained in such communications. nbsp; -- View this message in context: http://www.nabble.com/mgserver-process-hangs---memory-usage-tp17335201p17347019.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Calculating a Euclidean Distance in Javascript
I'm trying to reproduce the function being called in php to measure the distance between the two points of the measure tool in javascript so that I can display the current distance while a user is picking a second point on the map. So far the formula I have tried is not producing the same result as the result of $srsMap-MeasureEuclideanDistance($x1,$y1,$x2,$y2) in measure.php the formula I am trying is: distance = sqrt(abs(x2 - x1)^2 + abs(y2-y1)^2) then to convert to miles: miles = distance * 0.000621371192 Thanks in advance for any input. -- View this message in context: http://www.nabble.com/Calculating-a-Euclidean-Distance-in-Javascript-tp17348713p17348713.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mgserver process hangs / memory usage
I'm using the batch file apporach as well. I have it scheduled to run every 6 hours to clear out the memory used. Here is the batch file I use: == taskkill /F /FI SERVICES eq MapGuideServer2.0 net stop MapGuideServer2.0 net start MapGuideServer2.0 -- View this message in context: http://www.nabble.com/mgserver-process-hangs---memory-usage-tp17335201p17349393.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Open Source 2.0.1 released
Great news, I have been running this release on linux and windows and it's so much more stable than 2.0 and it resolves some finicky styling issues as well. I would to like really thank the Mapguide Development Team for their work on this release, it has resolved many of the stability problems that many people on this list have been experiencing. I'm not sure if the final release of 2.0.1 resolves the following, but the last build i tested had the following problems Apache will crash on XP (haven't tested 2003) if the basic viewer is used with FF3 RC1. The basic viewer doesn''t work with FF 3 RC1 either, fusion does work, so you might want to consider disabling the basic viewer until this problem is resolved. On linux, with the basic viewer and FF3 RC1 it doesn't work either, apache only throws some errors but it doesn't crash out. Apache crash - http://trac.osgeo.org/mapguide/ticket/557 FF3 Basic Viewer issue - http://trac.osgeo.org/mapguide/ticket/378 with this release, Fusion's support for tiled maps has been improved, the co-ordinates are now correctly reported :) however, there is an issue with zooming where the mouse wheel pans rather than zooms and the zoom scale defaults to fully zoomed in and it will always 'bounce' if you try and drag it out to a larger zoom tiled map zoom issue - http://trac.osgeo.org/fusion/ticket/59 Regards Zac On Wed, May 21, 2008 at 1:34 PM, Tom Fukushima [EMAIL PROTECTED] wrote: We are pleased to announce that the MapGuide Open Source project team has released MapGuide Open Source 2.0.1. This release contains many bug fixes since 2.0.0 and has been updated to install FDO 3.3.1. For the complete list of fixes please see the release notes: http://trac.osgeo.org/mapguide/wiki/Release/2.0/Notes. The MapGuide team ___ mapguide-users mailing list mapguide-users@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users