Re: Solr on Solaris

2008-12-05 Thread Jae Joo
I do have same experience.
What is the CPU in the Solaris box? it is not depending on the operating
system (linux or Solaris). It is depenong on the CPU (Intel ro SPARC).
Don't know why, but based on my performance test, SPARC machine requires
MORE memory for java application.

Jae

On Thu, Dec 4, 2008 at 10:40 PM, Kashyap, Raghu [EMAIL PROTECTED]wrote:

 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response back.
 We since then have added timeouts to our http requests from the clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu




RE: Solr on Solaris

2008-12-05 Thread Kashyap, Raghu
Jon,

What do you mean by off a Zone? Please clarify

-Raghu


-Original Message-
From: Jon Baer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2008 9:56 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr on Solaris

Just curious, is this off a zone by any chance?

- Jon

On Dec 4, 2008, at 10:40 PM, Kashyap, Raghu wrote:

 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB  
 Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response  
 back.
 We since then have added timeouts to our http requests from the  
 clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu




RE: Solr on Solaris

2008-12-05 Thread Kashyap, Raghu
Hi Jae,

  Its intel based CPU.

-Raghu

-Original Message-
From: Jae Joo [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 9:53 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr on Solaris

I do have same experience.
What is the CPU in the Solaris box? it is not depending on the operating
system (linux or Solaris). It is depenong on the CPU (Intel ro SPARC).
Don't know why, but based on my performance test, SPARC machine requires
MORE memory for java application.

Jae

On Thu, Dec 4, 2008 at 10:40 PM, Kashyap, Raghu
[EMAIL PROTECTED]wrote:

 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB
Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response
back.
 We since then have added timeouts to our http requests from the
clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu




Re: Solr on Solaris

2008-12-05 Thread Jon Baer
Are you running Solr in a container more specifically,  Ive had few  
issues w/ zones in the past and Solr (I believe there are some  
networking issues w/ older Solaris versions) ...


They are basically where you can slice (virtualize) your resources  
and divide a box up into something similar to a VPS ...


http://www.sun.com/bigadmin/content/zones/

- Jon

On Dec 5, 2008, at 10:58 AM, Kashyap, Raghu wrote:


Jon,

What do you mean by off a Zone? Please clarify

-Raghu


-Original Message-
From: Jon Baer [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2008 9:56 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr on Solaris

Just curious, is this off a zone by any chance?

- Jon

On Dec 4, 2008, at 10:40 PM, Kashyap, Raghu wrote:


We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB
Ram.
When we try to index sometimes the HTTP Connection just hangs and the
client which is posting documents to solr doesn't get any response
back.
We since then have added timeouts to our http requests from the
clients.



I then get this error.



java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new.  
Out

of swap space?

java.lang.OutOfMemoryError: unable to create new native thread

Exception in thread JmxRmiRegistryConnectionPoller
java.lang.OutOfMemoryError: unable to create new native thread



We are running JDK 1.6_10 on the solaris box. . The weird thing is we
are running the same application on linux box with JDK 1.6 and we
haven't seen any problem like this.



Any suggestions?



-Raghu







RE: Solr on Solaris

2008-12-05 Thread Kashyap, Raghu
Jon,

We are running under tomcat. Thanks for the link I will check it out

-Raghu

-Original Message-
From: Jon Baer [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2008 10:57 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr on Solaris

Are you running Solr in a container more specifically,  Ive had few  
issues w/ zones in the past and Solr (I believe there are some  
networking issues w/ older Solaris versions) ...

They are basically where you can slice (virtualize) your resources  
and divide a box up into something similar to a VPS ...

http://www.sun.com/bigadmin/content/zones/

- Jon

On Dec 5, 2008, at 10:58 AM, Kashyap, Raghu wrote:

 Jon,

 What do you mean by off a Zone? Please clarify

 -Raghu


 -Original Message-
 From: Jon Baer [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 04, 2008 9:56 PM
 To: solr-user@lucene.apache.org
 Subject: Re: Solr on Solaris

 Just curious, is this off a zone by any chance?

 - Jon

 On Dec 4, 2008, at 10:40 PM, Kashyap, Raghu wrote:

 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB
 Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response
 back.
 We since then have added timeouts to our http requests from the
 clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new.  
 Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu





Re: Solr on Solaris

2008-12-05 Thread Jeryl Cook
your out of memory :).

each instance of an application server you can technically only
allocate like 1024mb to the JVM, to take advantage of the memory you
need to run multiple instances of the application server.

are you using RAMDirectory with SOLR?

On Thu, Dec 4, 2008 at 10:40 PM, Kashyap, Raghu
[EMAIL PROTECTED] wrote:
 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response back.
 We since then have added timeouts to our http requests from the clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu





-- 
Jeryl Cook
/^\ Pharaoh /^\
http://pharaohofkush.blogspot.com/
Whether we bring our enemies to justice, or bring justice to our
enemies, justice will be done.
--George W. Bush, Address to a Joint Session of Congress and the
American People, September 20, 2001


Re: Solr on Solaris

2008-12-05 Thread Glen Newton
When you are saying application server do you mean tomcat?

If yes, I have allocated 8GB of heap to tomcat and it uses it all no
problem (64 bit Intel/64 bit Java).

-glen

2008/12/5 Jeryl Cook [EMAIL PROTECTED]:
 your out of memory :).

 each instance of an application server you can technically only
 allocate like 1024mb to the JVM, to take advantage of the memory you
 need to run multiple instances of the application server.

 are you using RAMDirectory with SOLR?

 On Thu, Dec 4, 2008 at 10:40 PM, Kashyap, Raghu
 [EMAIL PROTECTED] wrote:
 We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB Ram.
 When we try to index sometimes the HTTP Connection just hangs and the
 client which is posting documents to solr doesn't get any response back.
 We since then have added timeouts to our http requests from the clients.



 I then get this error.



 java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
 of swap space?

 java.lang.OutOfMemoryError: unable to create new native thread

 Exception in thread JmxRmiRegistryConnectionPoller
 java.lang.OutOfMemoryError: unable to create new native thread



 We are running JDK 1.6_10 on the solaris box. . The weird thing is we
 are running the same application on linux box with JDK 1.6 and we
 haven't seen any problem like this.



 Any suggestions?



 -Raghu





 --
 Jeryl Cook
 /^\ Pharaoh /^\
 http://pharaohofkush.blogspot.com/
 Whether we bring our enemies to justice, or bring justice to our
 enemies, justice will be done.
 --George W. Bush, Address to a Joint Session of Congress and the
 American People, September 20, 2001




-- 

-


Solr on Solaris

2008-12-04 Thread Kashyap, Raghu
We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB Ram.
When we try to index sometimes the HTTP Connection just hangs and the
client which is posting documents to solr doesn't get any response back.
We since then have added timeouts to our http requests from the clients.

 

I then get this error.

 

java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
of swap space?

java.lang.OutOfMemoryError: unable to create new native thread

Exception in thread JmxRmiRegistryConnectionPoller
java.lang.OutOfMemoryError: unable to create new native thread

 

We are running JDK 1.6_10 on the solaris box. . The weird thing is we
are running the same application on linux box with JDK 1.6 and we
haven't seen any problem like this.



Any suggestions?

 

-Raghu



Re: Solr on Solaris

2008-12-04 Thread Jon Baer

Just curious, is this off a zone by any chance?

- Jon

On Dec 4, 2008, at 10:40 PM, Kashyap, Raghu wrote:

We are running solr on a solaris box with 4 CPU's(8 cores) and  3GB  
Ram.

When we try to index sometimes the HTTP Connection just hangs and the
client which is posting documents to solr doesn't get any response  
back.
We since then have added timeouts to our http requests from the  
clients.




I then get this error.



java.lang.OutOfMemoryError: requested 239848 bytes for Chunk::new. Out
of swap space?

java.lang.OutOfMemoryError: unable to create new native thread

Exception in thread JmxRmiRegistryConnectionPoller
java.lang.OutOfMemoryError: unable to create new native thread



We are running JDK 1.6_10 on the solaris box. . The weird thing is we
are running the same application on linux box with JDK 1.6 and we
haven't seen any problem like this.



Any suggestions?



-Raghu