Re: Issue with master-agent communication over ssh

2021-03-01 Thread kuisathaverat
It is the same file with different names, SSH agents update it automatically every time you change the Jenkins core version, JNLP agent depends if you have configured the auto update or you updated the jar manually. El El lun, 1 mar 2021 a las 23:05, Jigar R escribió: > > > On Monday, March 1,

Re: Issue with master-agent communication over ssh

2021-03-01 Thread Jigar R
On Monday, March 1, 2021 at 4:03:24 PM UTC-5 Jigar R wrote: > I configured my jenkins agent with over 16GB of memory now. I use Apache > ivy & Apache Ant to build the project. I still get resource temporarily > unavailable. > > On the other hand, It works like a charm with Java Web start

Re: Issue with master-agent communication over ssh

2021-03-01 Thread Jigar R
I configured my jenkins agent with over 16GB of memory now. I use Apache ivy & Apache Ant to build the project. I still get resource temporarily unavailable. On the other hand, It works like a charm with Java Web start agent that I have. I haven't configured any JVM options for it and it just

Re: Issue with master-agent communication over ssh

2021-02-13 Thread kuisathaverat
the memory for the remoting process is not the issue, it is the free memory you left for the builds and the systems. I dunno what memory have your agents, but let's said they have 4GB if you give 2GB to the remoting process you only have 2GB for your builds and the system tasks so probably if you

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Jigar Rathod
Sent from my iPhone > On Feb 12, 2021, at 1:09 PM, Iván Fernández Calvo > wrote: > > Looks like an abrupt disconnect, this point to the resources you give to the > remote process and the resources you have in the agent. The resource > management on a JVM is tricky, the JDK gives a 75% of

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Iván Fernández Calvo
Looks like an abrupt disconnect, this point to the resources you give to the remote process and the resources you have in the agent. The resource management on a JVM is tricky, the JDK gives a 75% of the memory resources if you do not pass Xmx and Xms settings. So I wonder how much memory you

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Jigar R
On Wednesday, February 10, 2021 at 9:30:28 AM UTC-5 kuisat...@gmail.com wrote: > you attached the Jenkins build log and the Agent log, should be also an > exception in the Jenkins log, Is the same you posted before `invalid type > code: 6D`? > > This is all I see in jenkins.err log

Re: Issue with master-agent communication over ssh

2021-02-10 Thread kuisathaverat
you attached the Jenkins build log and the Agent log, should be also an exception in the Jenkins log, Is the same you posted before `invalid type code: 6D`? El mar, 9 feb 2021 a las 21:23, Jigar R () escribió: > Any recommendations on how should I go about this new error? > > On Thursday,

Re: Issue with master-agent communication over ssh

2021-02-09 Thread Jigar R
Any recommendations on how should I go about this new error? On Thursday, February 4, 2021 at 5:26:13 PM UTC-5 Jigar R wrote: > On Thursday, February 4, 2021 at 12:20:21 PM UTC-5 Jigar R wrote: > >> On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat wrote: >> >>> I see some serialization fails and

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R
On Thursday, February 4, 2021 at 12:20:21 PM UTC-5 Jigar R wrote: > On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat wrote: > >> I see some serialization fails and this breaks the channel, the plugin >> that causes the exception seems https://github.com/jenkinsci/tasks-plugin, >> and the

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R
On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat wrote: > I see some serialization fails and this breaks the channel, the plugin > that causes the exception seems https://github.com/jenkinsci/tasks-plugin, > and the `[Deprecated] Scan workspace for open tasks` I think matters, this > plugins has

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jeff Thompson
I agree with Ivan. There are differences, sometimes subtle, between how different agents behave for various reasons. The basic operations of the plugins and the protocol should be the same. There are can be differences in resource usage, platforms, etc. Sometimes plugins will behave

Re: Issue with master-agent communication over ssh

2021-02-04 Thread kuisathaverat
I see some serialization fails and this breaks the channel, the plugin that causes the exception seems https://github.com/jenkinsci/tasks-plugin, and the `[Deprecated] Scan workspace for open tasks` I think matters, this plugins has been integrated into

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R
Hello Ivan, Attached the logs in the email - jenkins.log - jenkins build output - Jenkins-agent.log - output from jenkins ssh agent Jenkins SSH agent was created with following: - - launch method : launch agents via ssh - JavaPath: $JAVA_HOME - JVM options: -Xmx2048m

Re: Issue with master-agent communication over ssh

2021-02-02 Thread kuisathaverat
Weird, Could you share a screencapture of what you configurate? Also the whole exception those lines alone mean nothing. Know the version of Jenkins and the version of the SSH build agents plugins you use can help, the memory you have in your agents, if they are bare metal or cloud. In overall if

Re: Issue with master-agent communication over ssh

2021-02-02 Thread Jigar R
On Tuesday, February 2, 2021 at 12:20:19 PM UTC-5 kuisat...@gmail.com wrote: > >I have 2 different kind of jenkins agents. > >1. java web start > >2. ssh > >If the memory was issue then wouldn't it fail on both cases? > > Not necessarily, starting by the point that are different ways to >

Re: Issue with master-agent communication over ssh

2021-02-02 Thread Ivan Fernandez Calvo
>I have 2 different kind of jenkins agents. >1. java web start >2. ssh >If the memory was issue then wouldn't it fail on both cases? Not necessarily, starting by the point that are different ways to establish the connection, the JNLP agents could not update the remoting jar file (depends on

Re: Issue with master-agent communication over ssh

2021-02-01 Thread Jigar R
On Monday, January 4, 2021 at 12:37:52 PM UTC-5 jtho...@cloudbees.com wrote: > When I saw something like this in the past, it was because the process was > running out of resources. Specifically when running SpotBugs, I got > out-of-memory errors. I had to modify the pom to allocate more

Re: Issue with master-agent communication over ssh

2021-01-04 Thread Jeff Thompson
When I saw something like this in the past, it was because the process was running out of resources. Specifically when running SpotBugs, I got out-of-memory errors. I had to modify the pom to allocate more memory. I recommend ensuring your build runs normally on the agent without the

Re: Issue with master-agent communication over ssh

2021-01-01 Thread Ivan Fernandez Calvo
If the agent is running something there is traffic, so it si not related to keep alive settings, I wonder if after the issue happens there is a remoting process running on the agent. Did you check the SSHD service logs on your agent?

Re: Issue with master-agent communication over ssh

2020-12-30 Thread jiga...@gmail.com
Interestingly, whenever Jenkins agent is executing PMD/Findbugs task, it runs into " Resource temporarily unavailable". I have - verified TCP parameters i.e. tcp_keepalive_time, tcp_keepalive_intvl, tcp_keepalive_probes & tcp_fin_timeout ; All of them have higher values then what

Re: Issue with master-agent communication over ssh

2020-12-11 Thread Ivan Fernandez Calvo
The most common issue is related to disconnections because there is no traffic between the Jenkins instance and the agent, for that, you have to tune the TCP stack of your OS (see