RE: startup geronimo jetty on AIX fails

2009-03-24 Thread Marco Laponder
Yes, I tried setting:

 

1

 

But with no effect, I still got the same message.

 

Kind regards,

Marco

 

-Oorspronkelijk bericht-
Van: Kevan Miller [mailto:kevan.mil...@gmail.com] 
Verzonden: dinsdag 24 maart 2009 12:22
Aan: user@geronimo.apache.org
Onderwerp: Re: startup geronimo jetty on AIX fails

 

 

On Mar 24, 2009, at 2:32 AM, Marco Laponder wrote:

 

> No verbose:sizes option here as well. My ulimit -a gives:

 

OK. IBM JVM on Windows supports -verbose:sizes. Was hoping it would be  

true on AIX, also...

 

Marco, did you try to configure (reduce) the number of threads that  

would be started on AIX?

 

--kevan

 



Re: startup geronimo jetty on AIX fails

2009-03-24 Thread Kevan Miller


On Mar 24, 2009, at 2:32 AM, Marco Laponder wrote:


No verbose:sizes option here as well. My ulimit -a gives:


OK. IBM JVM on Windows supports -verbose:sizes. Was hoping it would be  
true on AIX, also...


Marco, did you try to configure (reduce) the number of threads that  
would be started on AIX?


--kevan



RE: startup geronimo jetty on AIX fails

2009-03-23 Thread Marco Laponder
No verbose:sizes option here as well. My ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303

Kind regards,
Marco


-Oorspronkelijk bericht-
Van: viola.lu [mailto:viola...@gmail.com] 
Verzonden: dinsdag 24 maart 2009 4:17
Aan: user@geronimo.apache.org
Onderwerp: Re: startup geronimo jetty on AIX fails


ulimit -a:
core file size(blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) 1048575
max memory size   (kbytes, -m) 32768
open files(-n) 2000
pipe size  (512 bytes, -p) 64
stack size(kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes(-u) 262144
virtual memory(kbytes, -v) unlimited

coz no options -verbose:sizes in jdk, so can't printout java
-verbose:sizes
result.



kevan wrote:
> 
> 
> On Mar 23, 2009, at 1:48 AM, viola.lu wrote:
> 
>>
>> I tried this on Aix 6.1 with ibm sdk, but no errors.
> 
> Can you run ulimit -a? What are your settings?
> 
> Also, Marco/Viola what settings does 'java -verbose:sizes' give you?
> 
> --kevan
> 
>>
>> kevan wrote:
>>>
>>>
>>> On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:
>>>
>>>>
>>>> Thanks for your efforts anyway !
>>>>
>>>> ulimit -a gives:
>>>>
>>>> time(seconds)unlimited
>>>> file(blocks) unlimited
>>>> data(kbytes) 262144
>>>> stack(kbytes)31248
>>>> memory(kbytes)   unlimited
>>>> coredump(blocks) 4194303
> 
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134
p22673643.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-23 Thread viola.lu

ulimit -a:
core file size(blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) 1048575
max memory size   (kbytes, -m) 32768
open files(-n) 2000
pipe size  (512 bytes, -p) 64
stack size(kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes(-u) 262144
virtual memory(kbytes, -v) unlimited

coz no options -verbose:sizes in jdk, so can't printout java -verbose:sizes
result.



kevan wrote:
> 
> 
> On Mar 23, 2009, at 1:48 AM, viola.lu wrote:
> 
>>
>> I tried this on Aix 6.1 with ibm sdk, but no errors.
> 
> Can you run ulimit -a? What are your settings?
> 
> Also, Marco/Viola what settings does 'java -verbose:sizes' give you?
> 
> --kevan
> 
>>
>> kevan wrote:
>>>
>>>
>>> On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:
>>>

 Thanks for your efforts anyway !

 ulimit -a gives:

 time(seconds)unlimited
 file(blocks) unlimited
 data(kbytes) 262144
 stack(kbytes)31248
 memory(kbytes)   unlimited
 coredump(blocks) 4194303
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22673643.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-23 Thread Kevan Miller


On Mar 23, 2009, at 1:48 AM, viola.lu wrote:



I tried this on Aix 6.1 with ibm sdk, but no errors.


Can you run ulimit -a? What are your settings?

Also, Marco/Viola what settings does 'java -verbose:sizes' give you?

--kevan



kevan wrote:



On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:



Thanks for your efforts anyway !

ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303





Re: startup geronimo jetty on AIX fails

2009-03-22 Thread viola.lu

I tried this on Aix 6.1 with ibm sdk, but no errors.



kevan wrote:
> 
> 
> On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:
> 
>>
>> Thanks for your efforts anyway !
>>
>> ulimit -a gives:
>>
>> time(seconds)unlimited
>> file(blocks) unlimited
>> data(kbytes) 262144
>> stack(kbytes)31248
>> memory(kbytes)   unlimited
>> coredump(blocks) 4194303
>>
> 
> Anybody else have access to an AIX box? Do you see the same results as  
> Marco?
> 
> Marco,
> Did you try specifying the thread stack size (-Xmss) or limiting the  
> number of threads that will be generated?
> 
> --kevan
> 
> 

-- 
View this message in context: 
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22654646.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-20 Thread Kevan Miller


On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:



Thanks for your efforts anyway !

ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303



Anybody else have access to an AIX box? Do you see the same results as  
Marco?


Marco,
Did you try specifying the thread stack size (-Xmss) or limiting the  
number of threads that will be generated?


--kevan


Re: startup geronimo jetty on AIX fails

2009-03-19 Thread MarcoLaponder

Thanks for your efforts anyway !

ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303

Kind regards,
Marco




Ivan-65 wrote:
> 
> Which version of AIX did you use ? If 6+, shall you run ulimt -a to check
> the value of threads(per process) is unlimited or big enough. Wish it
> could
> help you.
> Thanks !
> 
> 2009/3/19 MarcoLaponder 
> 
>>
>> I tried your suggestions but the error is still there. Do you have any
>> other
>> suggestions or items I can try and/or check to solve this problem ?
>>
>> Kind regards,
>> Marco
>>
>>
>> MarcoLaponder wrote:
>> >
>> > When I try to start geronimo with jetty on AIX it gives me the
>> following
>> > message:
>> >
>> > Module 24/67 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
>> > started in  1.910s
>> >
>> > Module 25/67 org.apache.geronimo.configs/jetty6/2.1.3/car
>> > 12:16:48,589 ERROR [log] failed ajp13socketconnec...@0.0.0.0:8009
>> >
>> > java.lang.OutOfMemoryError: unable to create new native thread
>> > at java.lang.Thread.start0(Native Method)
>> > at java.lang.Thread.start(Thread.java:597)
>> > at
>> >
>> java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
>> >
>> > at
>> >
>> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
>> > at
>> > org.apache.geronimo.pool.ThreadPool.execute(ThreadPool.java:232)
>> > at
>> >
>> org.apache.geronimo.jetty6.connector.JettyThreadPool.dispatch(JettyThreadPool.java:47)
>> > at
>> > org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:266)
>> >
>> > I also tried :
>> > JAVA_OPTS="-Xmx256m -XX:MaxPermSize=128m"
>> > and
>> > JAVA_OPTS="-Xmx512m -XX:MaxPermSize=256m"
>> >
>> > but still no luck. When I use geronimo with tomcat I got no problems.
>> >
>> > Anyone got an idea what to do to solve this problem ?
>> >
>> > Kind regards,
>> > Marco
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22599099.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Ivan
> 
> 

-- 
View this message in context: 
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22615051.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-19 Thread Ivan
Which version of AIX did you use ? If 6+, shall you run ulimt -a to check
the value of threads(per process) is unlimited or big enough. Wish it could
help you.
Thanks !

2009/3/19 MarcoLaponder 

>
> I tried your suggestions but the error is still there. Do you have any
> other
> suggestions or items I can try and/or check to solve this problem ?
>
> Kind regards,
> Marco
>
>
> MarcoLaponder wrote:
> >
> > When I try to start geronimo with jetty on AIX it gives me the following
> > message:
> >
> > Module 24/67 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
> > started in  1.910s
> >
> > Module 25/67 org.apache.geronimo.configs/jetty6/2.1.3/car
> > 12:16:48,589 ERROR [log] failed ajp13socketconnec...@0.0.0.0:8009
> >
> > java.lang.OutOfMemoryError: unable to create new native thread
> > at java.lang.Thread.start0(Native Method)
> > at java.lang.Thread.start(Thread.java:597)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
> >
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
> > at
> > org.apache.geronimo.pool.ThreadPool.execute(ThreadPool.java:232)
> > at
> >
> org.apache.geronimo.jetty6.connector.JettyThreadPool.dispatch(JettyThreadPool.java:47)
> > at
> > org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:266)
> >
> > I also tried :
> > JAVA_OPTS="-Xmx256m -XX:MaxPermSize=128m"
> > and
> > JAVA_OPTS="-Xmx512m -XX:MaxPermSize=256m"
> >
> > but still no luck. When I use geronimo with tomcat I got no problems.
> >
> > Anyone got an idea what to do to solve this problem ?
> >
> > Kind regards,
> > Marco
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22599099.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


-- 
Ivan


Re: startup geronimo jetty on AIX fails

2009-03-19 Thread MarcoLaponder

I tried your suggestions but the error is still there. Do you have any other
suggestions or items I can try and/or check to solve this problem ? 

Kind regards,
Marco


MarcoLaponder wrote:
> 
> When I try to start geronimo with jetty on AIX it gives me the following
> message:
> 
> Module 24/67 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
>
> started in  1.910s
> 
> Module 25/67 org.apache.geronimo.configs/jetty6/2.1.3/car 
>   
> 12:16:48,589 ERROR [log] failed ajp13socketconnec...@0.0.0.0:8009
> 
> java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Thread.java:597)
> at
> java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
> 
> at
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
> at
> org.apache.geronimo.pool.ThreadPool.execute(ThreadPool.java:232)
> at
> org.apache.geronimo.jetty6.connector.JettyThreadPool.dispatch(JettyThreadPool.java:47)
> at
> org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:266)
> 
> I also tried :
> JAVA_OPTS="-Xmx256m -XX:MaxPermSize=128m" 
> and 
> JAVA_OPTS="-Xmx512m -XX:MaxPermSize=256m" 
> 
> but still no luck. When I use geronimo with tomcat I got no problems.
> 
> Anyone got an idea what to do to solve this problem ? 
> 
> Kind regards,
> Marco  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22599099.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-17 Thread Kevan Miller


On Mar 17, 2009, at 9:13 AM, MarcoLaponder wrote:



When I try to start geronimo with jetty on AIX it gives me the  
following

message:

Module 24/67 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.3/car
started in  1.910s

Module 25/67 org.apache.geronimo.configs/jetty6/2.1.3/car
12:16:48,589 ERROR [log] failed ajp13socketconnec...@0.0.0.0:8009

java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Native Method)
   at java.lang.Thread.start(Thread.java:597)
   at
java 
.util 
.concurrent 
.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java: 
703)


   at
java 
.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java: 
652)
   at  
org.apache.geronimo.pool.ThreadPool.execute(ThreadPool.java:232)

   at
org 
.apache 
.geronimo 
.jetty6.connector.JettyThreadPool.dispatch(JettyThreadPool.java:47)

   at
org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java: 
266)


I also tried :
JAVA_OPTS="-Xmx256m -XX:MaxPermSize=128m"
and
JAVA_OPTS="-Xmx512m -XX:MaxPermSize=256m"

but still no luck. When I use geronimo with tomcat I got no problems.

Anyone got an idea what to do to solve this problem ?


Strange. I haven't used AIX in a long time. Is there some limit on the  
number of threads that a java process can start? IIRC you can  
configure the stack size allocated for each thread ( something like - 
Xss64k I think...). Reducing the amount of memory that will be  
allocated for each thread may help...


Alternative is to reduce the number of threads that the AJP Connector  
will allocate is another option:


In var/config/config.xml

Find:


${ServerHostname}
${AJPPort + PortOffset}
${HTTPSPortPrimary +  
PortOffset}



and add

1

--kevan