RE: PermGen failures

2014-03-27 Thread JOHNSTON, Rob
Hi David

That’s an awful lot of perm space… my main production instance runs with a 4GB 
heap and 128m of perm space (the default for the JVM is something like 64m, 
from memory).

You should enable GC logging for the JVM so you can see how much perm space is 
actually being used and adjust it down accordingly ☺

Rob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Friday, 28 March 2014 2:55 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: PermGen failures

Hi Rob

Thanks. I have now modified /etc/sysconfig/jenkins to specify:

JENKINS_JAVA_OPTIONS=-Djava.awt.headless=true -Xmx2048m -Xms256m 
-XX:MaxPermSize=1024M

I’ll see how that goes.

David

From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of JOHNSTON, Rob
Sent: 27 March 2014 00:27
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: RE: PermGen failures

Hi David

If it’s Jenkins itself running out of Perm space then yes, you’ll need to 
increase its MaxPermSize JVM setting.

If it’s a particular build or group of build that throws the error (so the 
error occurs but Jenkins continues to function), you need to figure out how to 
increase the Perm space for the java process that is crashing.

From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, 26 March 2014 8:55 PM
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: RE: PermGen failures

Hi

Thanks for your reply.

This is not a Maven build.  I start Jenkins from the command line as follows:

$ sudo /etc/init.d/jenkins start

Does that mean that I should modify /etc/sysconfig/Jenkins ?

Best regards

David

From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: 26 March 2014 10:48
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: Re: PermGen failures

David Aldrich (2014-03-25 17:12):
Hi

In the last few weeks I have been getting a lot of PermGen errors:

FATAL: PermGen space

I am running Jenkins 1.556 on Centos 5.

How should I fix this problem please?

If this is a compilation issue:

In Build options - Advance - MAVEN_OPTS use something like: -Xmx1536m 
-XX:MaxPermSize=512m

If this is not a maven project then add build options to your command line.

Cheers,
Nux.

Click 
herehttps://www.mailcontrol.com/sr/ANxdFpL3NvTGX2PQPOmvUsaHTTHE2WHL8V5oRJekT3F1GiJuPjpGCz0ZERt4!slM2U9s6bVQO2bCP4z!bwErJQ==
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This e-mail is sent by Suncorp Group Limited ABN 66 145 290 124 or one of its 
related entities Suncorp.
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
 
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This e-mail is sent by Suncorp Group Limited ABN 66 145 290

Re: PermGen failures

2014-03-26 Thread Maciej Jaros

David Aldrich (2014-03-25 17:12):


Hi

In the last few weeks I have been getting a lot of PermGen errors:

FATAL: PermGen space

I am running Jenkins 1.556 on Centos 5.

How should I fix this problem please?



If this is a compilation issue:

In Build options - Advance - MAVEN_OPTS use something like: -Xmx1536m 
-XX:MaxPermSize=512m


If this is not a maven project then add build options to your command line.

Cheers,
Nux.

--
You received this message because you are subscribed to the Google Groups Jenkins 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: PermGen failures

2014-03-26 Thread David Aldrich
Hi

Thanks for your reply.

This is not a Maven build.  I start Jenkins from the command line as follows:

$ sudo /etc/init.d/jenkins start

Does that mean that I should modify /etc/sysconfig/Jenkins ?

Best regards

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: 26 March 2014 10:48
To: jenkinsci-users@googlegroups.com
Subject: Re: PermGen failures

David Aldrich (2014-03-25 17:12):
Hi

In the last few weeks I have been getting a lot of PermGen errors:

FATAL: PermGen space

I am running Jenkins 1.556 on Centos 5.

How should I fix this problem please?

If this is a compilation issue:

In Build options - Advance - MAVEN_OPTS use something like: -Xmx1536m 
-XX:MaxPermSize=512m

If this is not a maven project then add build options to your command line.

Cheers,
Nux.


Click 
herehttps://www.mailcontrol.com/sr/ANxdFpL3NvTGX2PQPOmvUsaHTTHE2WHL8V5oRJekT3F1GiJuPjpGCz0ZERt4!slM2U9s6bVQO2bCP4z!bwErJQ==
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: PermGen failures

2014-03-26 Thread JOHNSTON, Rob
Hi David

If it’s Jenkins itself running out of Perm space then yes, you’ll need to 
increase its MaxPermSize JVM setting.

If it’s a particular build or group of build that throws the error (so the 
error occurs but Jenkins continues to function), you need to figure out how to 
increase the Perm space for the java process that is crashing.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Wednesday, 26 March 2014 8:55 PM
To: jenkinsci-users@googlegroups.com
Subject: RE: PermGen failures

Hi

Thanks for your reply.

This is not a Maven build.  I start Jenkins from the command line as follows:

$ sudo /etc/init.d/jenkins start

Does that mean that I should modify /etc/sysconfig/Jenkins ?

Best regards

David

From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: 26 March 2014 10:48
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: Re: PermGen failures

David Aldrich (2014-03-25 17:12):
Hi

In the last few weeks I have been getting a lot of PermGen errors:

FATAL: PermGen space

I am running Jenkins 1.556 on Centos 5.

How should I fix this problem please?

If this is a compilation issue:

In Build options - Advance - MAVEN_OPTS use something like: -Xmx1536m 
-XX:MaxPermSize=512m

If this is not a maven project then add build options to your command line.

Cheers,
Nux.

Click 
herehttps://www.mailcontrol.com/sr/ANxdFpL3NvTGX2PQPOmvUsaHTTHE2WHL8V5oRJekT3F1GiJuPjpGCz0ZERt4!slM2U9s6bVQO2bCP4z!bwErJQ==
 to report this email as spam.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This e-mail is sent by Suncorp Group Limited ABN 66 145 290 124 or one of its 
related entities Suncorp.
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
 

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.