Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-12 Thread Grzegorz Grzybek
I've just started to test it ;)

~Grzegorz

2015-06-12 15:52 GMT+02:00 Himanshu Mittal :

> With tempPrefix as well as  with tempFileName a new connection is being
> created for each file transfer.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768134.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-12 Thread Himanshu Mittal
With tempPrefix as well as  with tempFileName a new connection is being
created for each file transfer.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768134.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread yogu13
Nice!!

Just a thought can you try using the tempPrefix instead of tempFileName, i
see the tempFileName is a constant name provided and hope that it isn't
running into locking issues

Regards,
-Yogesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768122.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread yogu13
Hi,

I would suggest adding one property at a time to the endpoint and narrowing
it down to the property which is causing it. In case this hasn't been done.

Regards,
-Yogesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768120.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
Temporary file name (Camel property : tempFileName )is creating new
connection for each file transfer.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768121.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Grzegorz Grzybek
Thanks
I'll look at it soon

regards
Grzegorz

2015-06-11 14:41 GMT+02:00 Himanshu Mittal :

> We faced this issue in *camel 2.12*. I tested the same with *camel 2.14* .
> Still I see connection being opened for each temp file.
>
> Created below JIRA for same
> CAMEL-8860 
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768099.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
We faced this issue in *camel 2.12*. I tested the same with *camel 2.14* .
Still I see connection being opened for each temp file. 

Created below JIRA for same
CAMEL-8860   




--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768099.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Grzegorz Grzybek
Hello Himanshu

What version of camel do you use? There was a fix for leaked connection in
case of auth failures, but this looks like another issue.
Could you create JIRA ticket, attaching information about your
route/endpoint URI?

regards
Grzegorz Grzybek

2015-06-11 13:02 GMT+02:00 Himanshu Mittal :

> When we remove tempFileName from uri , FTP connections are not exhausted .
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768097.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
When we remove tempFileName from uri , FTP connections are not exhausted . 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768097.html
Sent from the Camel - Users mailing list archive at Nabble.com.