Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
NNegelein1605714801
Contributor
Contributor

tSendmail hanging forever

I've got a situation where a tSendmail in a job that is repeated multiple times during the job will periodically just hang. The tStatcatcher is confirming that the job has started that component, but it never completes, nor does it ever error. It just sits. Is there any way to even put a timeout on it? It is a rare situation, but it does crop up here and there, and when I'm sending out 150 e-mails in a run it seems to occur slightly more frequently.

All of the input fields are confirmed correct, and rerunning the job sometimes there won't be a problem at all. But a component hanging without error makes it quite difficult to build in checks and balances and recoveries.

Mon Feb 15 08:50:59 CST 2021 [INFO] Starting E-mail sub.

Mon Feb 15 08:50:59 CST 2021 [INFO] tStatCatcher Status: |2021-02-15 08:50:59|iVGlTp|iVGlTp|iVGlTp|19332|LOCAL_PROJECT|Notification|_dIHOkIn_EeinCbfOdTkPQA|0.55|Testing|tSendMail_3|begin||

And then nothing. That was 24 minutes ago as of time of writing.

Labels (2)
2 Replies
gjeremy1617088143

Hi @Nicholas Negelein​ , if your job is host on talend administration center, you can add a timeout in the option of the task execution.

Send me love and kudos

gjeremy1617088143

maybe you can also add :

-Dsun.net.client.defaultConnectTimeout=2000

-Dsun.net.client.defaultReadTimeout=2000

in your jvm parameters dor example.