running multiple webapps look like a bad idea. This is the very reason solr has the multicore feature.
permgen size is a jvm option I guess it would be something like -XX:MaxPermSize On Wed, Feb 25, 2009 at 1:38 PM, revas <revas...@gmail.com> wrote: > Hi > > I am sure this question has been repeated many times over and there has been > several generic answers ,but i am looking for specific answers. > > I have a single server whose configuration i give below,this being the only > server we have at present ,the requirement is everytime we create a new > website ,we create two instances for the same one for content search and one > for product search ,both have faceting requirements. > > there are about 25 fields for product schema and abt 20 for content schema > ,we do not store the content in the server ,the content is only indexed. > > Assuming that we currently have 10 websites ,which means we have 20 webapps > running on this server each having about 1000 documents and size of the > index is approximately 50mb currently .The index size of each is expected to > grow continlously as more products are added. > > > We recenlty got the followng error on creation of a new webapp ? > SEVERE: Caught exception (java.lang.OutOfMemoryError: PermGen space) > executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@1c2534f, > terminating thread > Feb 24, 2009 6:22:16 AM > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run > SEVERE: Caught exception (java.lang.OutOfMemoryError: PermGen space) > executing org.apache.tomcat.util.net.leaderfollowerworkerthr...@1c2534f, > terminating thread > Sent at 12:32 PM on Wednesday > > What would this mean?Given the above,How many such webapps can we have > on this server? > > *Server config* > > OS: Red Hat Enterprise Linux ES 4 - 64 Bit > # Processor: Dual AMD Opteron Dual Core 270 2.0 GHz > # 4GB DDR RAM > # Hard Drive: 73GB SCSI > # Hard Drive: 73GB SCSI > > thanks > -- --Noble Paul