Port issue

2012-02-27 Thread Suri
Hi Didier Durand

Thanks for your reply.

The Jenkins server is not down. i have run /etc/init.d/jenkins status
command. it is showing jenkins service is running. but i am not able
to access via Webpage. My jenkins is running in embedded Winstone. we
are facing this issue frequently. and also i have seen no of thread is
increasing on monthly basis. we have around 600 jobs.

Threads on SCMOPS2@10.10.12.134: Number = 314, Maximum = 328, Total
started = 631
SEVERE: Severe Error during the trigger execution null 976,438

Statistics http - 1 month =60 hits/min on 5,827 requests
Statistics http system errors - 1 month = 3 hits/min on 40 errors


I am not sure this may also cause of this issue. Please advise me..


Re: Port issue

2012-02-27 Thread Richard Mortimer



On 27/02/2012 09:40, Nord, James wrote:

If jenkins runs out of file descriptors whilst trying to accept a socket 
connection this will (in my experience) cause the winstone listener to die.

See the last comment on https://issues.jenkins-ci.org/browse/JENKINS-9882


That would be consistent with the report at

https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-dev/pNNFf7O2tBs

followed up at

https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-users/KA9yzJQVW2U

The logs provided there showed that your server was running out of file 
descriptors.


I haven't seen any followup on that that said you had found the problem 
so I suspect that it still exists.


When it does run out it should be easy to find out what the culprit is 
because you should be able to use


lsof -p 

or even

ls -l /proc//fd

to see what file descriptors are in use.

Regards

Richard


/james


-Original Message-
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
us...@googlegroups.com] On Behalf Of Didier Durand
Sent: 27 February 2012 09:34
To: Jenkins Users
Subject: Re: Port issue

Hi,

When you say that "port 8080 gets down" does it mean that the jenkins server
is down: i.e do you find it  via ps -ef on linux console ?

Other question; is your jenkins running natively (suning embedded
Winstone) or within a container (tomcat or other)?

regards

didier

On Feb 27, 9:19 am, Suri  wrote:

Hi

Our Jenkins server is Red Hat Linux.
We are frequently getting Webpage issue in Jenkins. i have checked
Jenkins service in server, When webpage is down.
Jenkins service status showing as running . but the webpage is down.
Not able to access Jenkins Webpage.

I have found port 8080 is not running in server. It is frequently
getting down automatically.
We  don't know, why the port is getting down?
I have checked from Server and Network end. It seems to be well.

For temporarily solution We have created a crontab entry with a
Jenkins service startup script, it will check the 8080 status, when
ever the 8080 port is down it will automatically restart the Jenkins
service Can anyone please advise me, Why the port is getting down
automatically.



**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**


RE: Port issue

2012-02-27 Thread Nord, James
If jenkins runs out of file descriptors whilst trying to accept a socket 
connection this will (in my experience) cause the winstone listener to die.

See the last comment on https://issues.jenkins-ci.org/browse/JENKINS-9882

/james

> -Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Didier Durand
> Sent: 27 February 2012 09:34
> To: Jenkins Users
> Subject: Re: Port issue
>
> Hi,
>
> When you say that "port 8080 gets down" does it mean that the jenkins server
> is down: i.e do you find it  via ps -ef on linux console ?
>
> Other question; is your jenkins running natively (suning embedded
> Winstone) or within a container (tomcat or other)?
>
> regards
>
> didier
>
> On Feb 27, 9:19 am, Suri  wrote:
> > Hi
> >
> > Our Jenkins server is Red Hat Linux.
> > We are frequently getting Webpage issue in Jenkins. i have checked
> > Jenkins service in server, When webpage is down.
> > Jenkins service status showing as running . but the webpage is down.
> > Not able to access Jenkins Webpage.
> >
> > I have found port 8080 is not running in server. It is frequently
> > getting down automatically.
> > We  don't know, why the port is getting down?
> > I have checked from Server and Network end. It seems to be well.
> >
> > For temporarily solution We have created a crontab entry with a
> > Jenkins service startup script, it will check the 8080 status, when
> > ever the 8080 port is down it will automatically restart the Jenkins
> > service Can anyone please advise me, Why the port is getting down
> > automatically.


**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**


Re: Port issue

2012-02-27 Thread Didier Durand
Hi,

When you say that "port 8080 gets down" does it mean that the jenkins
server is down: i.e do you find it  via ps -ef on linux console ?

Other question; is your jenkins running natively (suning embedded
Winstone) or within a container (tomcat or other)?

regards

didier

On Feb 27, 9:19 am, Suri  wrote:
> Hi
>
> Our Jenkins server is Red Hat Linux.
> We are frequently getting Webpage issue in Jenkins. i have checked
> Jenkins service in server, When webpage is down.
> Jenkins service status showing as running . but the webpage is down.
> Not able to access Jenkins Webpage.
>
> I have found port 8080 is not running in server. It is frequently
> getting down automatically.
> We  don’t know, why the port is getting down?
> I have checked from Server and Network end. It seems to be well.
>
> For temporarily solution We have created a crontab entry with a
> Jenkins service startup script, it will check the 8080 status, when
> ever the 8080 port is down it will automatically restart the Jenkins
> service
> Can anyone please advise me, Why the port is getting down
> automatically.


Port issue

2012-02-27 Thread Suri
Hi

Our Jenkins server is Red Hat Linux.
We are frequently getting Webpage issue in Jenkins. i have checked
Jenkins service in server, When webpage is down.
Jenkins service status showing as running . but the webpage is down.
Not able to access Jenkins Webpage.

I have found port 8080 is not running in server. It is frequently
getting down automatically.
We  don’t know, why the port is getting down?
I have checked from Server and Network end. It seems to be well.

For temporarily solution We have created a crontab entry with a
Jenkins service startup script, it will check the 8080 status, when
ever the 8080 port is down it will automatically restart the Jenkins
service
Can anyone please advise me, Why the port is getting down
automatically.