SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Agent Jobs fail in time frame


Agent Jobs fail in time frame

Author
Message
clicky
clicky
SSChasing Mays
SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)

Group: General Forum Members
Points: 642 Visits: 139
Hello,
My SQL Server Agent does not process any of my jobs between 12am and 2am. The job runs for about 30 seconds then it fails. The error is described as follows:

...failed to execute is server package because of error 0x80131904... The timeout period elapsed prior to completion of the operation or the server is not responding...

Some solutions so far mention to increase the time-out from 30, or to speed up the queries in jobs. Thank you in advance for your help.
Phil Parkin
Phil Parkin
SSC Guru
SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)SSC Guru (199K reputation)

Group: General Forum Members
Points: 199999 Visits: 23988
Is there a backup running at that time?


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
clicky
clicky
SSChasing Mays
SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)

Group: General Forum Members
Points: 642 Visits: 139
Phil Parkin - Saturday, February 24, 2018 1:09 PM
Is there a backup running at that time?

yes, but it's between 12:20 and 12:40. some jobs that run at 12 fail and some jobs that run at 1:30 fail, which is before, during and after backup

clicky
clicky
SSChasing Mays
SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)

Group: General Forum Members
Points: 642 Visits: 139
The quick and dirty solution is to increase to number of attempts (i.e. 0 to 3). (Job Properties, Steps, Advanced Options) Does anyone know why it can't just process at the first attempt, like all the other jobs?
SQLPirate
SQLPirate
SSCommitted
SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)

Group: General Forum Members
Points: 1985 Visits: 1356
If it's not the backup, there's probably something else running that's preventing a timely connection. One option you might try is creating a new job to run the package and see if that succeeds during the time frame.
VastSQL
VastSQL
SSC-Dedicated
SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)SSC-Dedicated (30K reputation)

Group: General Forum Members
Points: 30991 Visits: 5791
clicky - Saturday, February 24, 2018 11:28 AM
Hello,
My SQL Server Agent does not process any of my jobs between 12am and 2am. The job runs for about 30 seconds then it fails. The error is described as follows:

...failed to execute is server package because of error 0x80131904... The timeout period elapsed prior to completion of the operation or the server is not responding...

Some solutions so far mention to increase the time-out from 30, or to speed up the queries in jobs. Thank you in advance for your help.

What the job\package does?

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search