Question: Notify user when galaxy hangs
1
gravatar for ggeo1
2.3 years ago by
ggeo110
ggeo110 wrote:

Hello ,

I wanted to ask you if there is a way to notify user (by sending an email automatically) when for example galaxy hangs, or shows some kind of error which results in not running galaxy.

For example, I received :

paste.httpserver.ThreadPool WARNING 2016-07-28 02:52:22,971 Thread 140329206122240 hung (working on task for 117500 seconds)
paste.httpserver.ThreadPool WARNING 2016-07-28 02:52:22,972 Thread 140329189336832 hung (working on task for 117376 seconds)
paste.httpserver.ThreadPool WARNING 2016-07-28 02:52:22,974 Thread 140329172551424 hung (working on task for 75331 seconds)

and galaxy hang, I couldn't load the page.

Is there a way to get a notification when something like this happens?

Thanks!

notification galaxy • 631 views
ADD COMMENTlink modified 2.3 years ago by Martin Čech ♦♦ 4.9k • written 2.3 years ago by ggeo110
0
gravatar for Martin Čech
2.3 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

Which users would you like to notify and why? The fact Galaxy stops does not necessarily stop their jobs.

ADD COMMENTlink written 2.3 years ago by Martin Čech ♦♦ 4.9k

Does it matter why? :) .I just want to notify specific users by using their email.I know that it doesn't stop the jobs always.Is there a way to accomplish this?Thank you.

ADD REPLYlink written 2.3 years ago by ggeo110

check the reports pages (https://wiki.galaxyproject.org/Admin/UsageReports) and find out who is currently using galaxy and send them am e-mail....of course, you can also do this automatically by scripting against PostgreSQL database.

Hans-Rudolf

ADD REPLYlink written 2.3 years ago by Hotz, Hans-Rudolf1.8k

Ok, thanks , I will check.

ADD REPLYlink written 2.3 years ago by ggeo110

I was asking in order to better advise you as your question is not clear to me.

To the extent I understand what you want you can do:

  • Parsing the logs and looking for specific exceptions.
  • Watching the size of the logs.
  • Watching database hits.

However you have to do this outside of Galaxy as the Galaxy process cannot generally detect itself hanging.

ADD REPLYlink written 2.3 years ago by Martin Čech ♦♦ 4.9k

Ok, thanks for the suggestions.

ADD REPLYlink written 2.3 years ago by ggeo110
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 183 users visited in the last hour