On Fri, Dec 2, 2011 at 3:04 AM, dodo.khan <[email protected]> wrote: > Thanks ben, > > > > I am working on the memory thing of the tomcat and mysql, > > During that time can you tell me is it possible for the us to install two > OpenMRS, means two deferent version of OpenMRS in a single tomcat. >
Dodo, The magic word for your question is 'multiple' – i.e., searching http://search.openmrs.org for the word 'multiple' will lead you to this wiki page <https://wiki.openmrs.org/x/Kod1AQ>, describing how to run multiple instances of OpenMRS. Cheers, -Burke > > > > > Thanks and Regards > > Dodo Khan > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Ben Wolfe > *Sent:* Thursday, December 01, 2011 5:00 PM > *To:* [email protected] > *Subject:* Re: [OPENMRS-IMPLEMENTERS] Tomcat Out of memory Error in > Deploying 2 war file > > > > Have you seen this wiki page? > https://wiki.openmrs.org/display/docs/Performance+Tuning > There are a few pointers in there about settings, etc. > > If your machine only has 1gb or ram then you need to be careful to only > allocate 512M to tomcat, 128 to mysql, and the rest leave for the OS to > use. > > Tomcat starts with 64M of ram. OpenMRS likes to run with 128. So if you > allocate 256 or 512 to tomcat it should be ok. > > Make sure that tomcat is actually picking up the memory settings. > localhost:8080/manager has a link somewhere that shows the amount allocated > to it. > > Ben > > On Wed, Nov 30, 2011 at 2:55 PM, dodo.khan <[email protected]> wrote: > > Dear All > > > > I want to Deploy 2 OpenMRS war file on a single Tomcat Server and I have > done this successfully but after installing it creates problems in using > like 500 error and out of memory again and again I restart the server and > after few min s it creates a same error out of memory, > > > > Details of installation simple I created 2 databases and deploy 2 war file > of different version with different name and connect that with the specific > database, I have installed it on the following configuration of the system > and the software > > 1 GB RAM and 2.2 dual core processor and 160 GB HD, apache-tomcat-6.0.20, > jdk-6 and mysql-5.0.83. > > > > I tried to fix that memory issue of the tomcat like add more memory to > Tomcat from the properties / java and added 100MB in the 3 text boxes but > this again tomcat showing the same issue again and again any one of you can > help me in this problem > > > > > > Thanks and Regards > > Dodo Khan > > > > > ------------------------------ > > > This e-mail may contain information that is privileged or confidential. If > you are not the intended recipient, please delete the e-mail and any > attachments and notify us immediately. > ------------------------------ > > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > > > ------------------------------ > > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > > ------------------------------ > > This e-mail may contain information that is privileged or confidential. If > you are not the intended recipient, please delete the e-mail and any > attachments and notify us immediately. > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

