ail-framework icon indicating copy to clipboard operation
ail-framework copied to clipboard

Stuck Queue

Open Gr3gbug opened this issue 4 years ago • 7 comments

Hi guys, I have a problem related to AIL queues. After some time, the framework starts to show stuck queue (e.g. Tags, Mail, Web etc...). I can't understand what's happening under the hoods ? Could someone help me to solve this issue? Now, the unique option i have to solve this problem is stopping ail and restart the framework, but i think it is not the best. Please help me to understand where is the real problem

Gr3gbug avatar Feb 08 '21 16:02 Gr3gbug

Hi @lucadigregorio !

Can you check the output of all windows inside the Script_AIL screen:

screen -r Script_AIL

Here is a list of shortcut to manage/navigate in the screen:

  • Ctrl-a + d detach screen
  • Ctrl-a + n next window screen
  • Ctrl-a + p previous window screen

Terrtia avatar Feb 09 '21 13:02 Terrtia

@lucadigregorio you can list all screen available for the user using this command

screen -ls

If you don't see any screen available but still see some running using htop/top. That probably means they was created using another user than the one you are currently using.

mokaddem avatar Feb 22 '21 10:02 mokaddem

Hi @mokaddem, i try also to to do this, and i can't see anything. The message is: No sockets found in /run/screen/S-user. I also try to open some screen and attach something on them and it works. Any idea?

Gr3gbug avatar Feb 22 '21 10:02 Gr3gbug

Sorry, @mokaddem, the screen is under root user. Now, i can share with you the problem. I just run the feeder, as soon as the queue got stuck i will share with you the output of the Script_AIL screen

Gr3gbug avatar Feb 22 '21 11:02 Gr3gbug

@mokaddem For example, i actually have the Tags queue which is stuck. All i can see from the screen -r Script_AIL is: Please provide a list of valid IP address.

Gr3gbug avatar Feb 22 '21 11:02 Gr3gbug

Hi @lucadigregorio !

Can you navigate through windows? you have multiple terminals/windows inside a screen. (Ctrl-a + n: next window, Ctrl-a + p: previous window)

Terrtia avatar Feb 23 '21 15:02 Terrtia

Hi @Terrtia, i just did it, i'm actually trying to understand where is the problem. I'm going to share with you the screen of Script_AIL: ---> screen of Script_AIL (something seems to be wrong with the sentiment analysis module) sentiment_stuck --> Error syntax Script_AIL_error --> No IP range provided Script_AIL_error2

I have a doubt about the following point: while i'm navigating through windows of Script_AIL, among the others i've seen the manager. As soon as i push 'enter' to see all the modules information, all ail's queue restarted. Is it normal this behaviour ? I mean, from what i understood about the ModulesInformationV2.py, the user should be able to see all running queue, their status and if the case restart manually (and singularly) a queue. So, why all queues has been restarted just entering in the modules information manager ?

@Terrtia i've update the comment removing additional information about crawler problem, i'll open another issue for this

Gr3gbug avatar Feb 24 '21 09:02 Gr3gbug