bio-guoda / guoda-services

Services provided by GUODA, currently a container for tickets and wikis.
MIT License
2 stars 0 forks source link

updateMonitors job is 10x slower than last time #69

Closed jhammock closed 5 years ago

jhammock commented 5 years ago

The current updateMonitors job, started March 26 at 1:15pm, has now been running for 70 hours.

I could work with slow jobs if that's just how it is, but since the last run completed in 7 hours, I expect this might mean something is wrong.

jhpoelen commented 5 years ago

Thanks for sharing. I checked the logs for the updateAll job and noticed that it completed successfully. Also, the service url normally used by the jenkins job to check on the status of the job is indicating that the job finished. So, this leads me to conclude that either the script that polls the status of the job or the jenkins logic is misbehaving somewhat. Suggest to open a new issue to indicate that the jenkins updateAll job is not correctly updating the status of the job.

I've attached some screenshots .

Screenshot from 2019-03-29 08-53-12 Screenshot from 2019-03-29 08-50-38

jhammock commented 5 years ago

can do. Is that a GUODA services issue?

jhpoelen commented 5 years ago

I suspect that the program "curl" in the monitor bash script stalled due. Suggest to include a timeout to avoid the script from stalling. https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout/94612 . You can add the timeout parameter by updating the bash script in https://github.com/gimmefreshdata/archive-importer/blob/master/archives.groovy#L90 .