almir icon indicating copy to clipboard operation
almir copied to clipboard

almir stops working

Open cedottotecnica opened this issue 13 years ago • 5 comments

Almir process stops working. The web browser tells me it can't connect to server... supervisorctl shows almir process is in FATAL state:

serverlinux:/var/www/almir# python bin/supervisorctl HttpOk RUNNING pid 6073, uptime 27 days, 18:31:10 Memmon RUNNING pid 6074, uptime 27 days, 18:31:10 almir FATAL Exited too quickly (process log may have details)

A restart all solves the problem: supervisor> restart all HttpOk: stopped Memmon: stopped HttpOk: started Memmon: started almir: started

(Too bad github issues doesn't have attachments...)

http://89.119.66.34/almir-log.tgz

cedottotecnica avatar Oct 29 '12 08:10 cedottotecnica

That's a known issue, it's probably due to the way forking happens for bconsole communication. This is a serious problem and should have the highest priority for the fix.

domenkozar avatar Mar 23 '13 14:03 domenkozar

It's also relevant to #41

domenkozar avatar Mar 24 '13 18:03 domenkozar

@cedottotecnica can you send logs to [email protected]?

domenkozar avatar Mar 24 '13 18:03 domenkozar

Il 24/03/2013 19:59, Domen Kožar ha scritto:

@cedottotecnica https://github.com/cedottotecnica can you send logs to [email protected] mailto:[email protected]?

— Reply to this email directly or view it on GitHub https://github.com/iElectric/almir/issues/46#issuecomment-15366027.

I'll send them in a minute.

Marcello Romani Ottotecnica s.r.l. Responsabile IT http://www.ottotecnica.it

cedottotecnica avatar Mar 25 '13 08:03 cedottotecnica

So, steps to reproduce:

  • configure almir and let it start
  • shutdown sql database
  • httpon will try to restart almir and fail

What's going on: seems like subprocess fork for bconsole blocks almir to start

Temporary solution:

  • pkill bconsole
  • bin/supervisorctl restart

domenkozar avatar Mar 25 '13 09:03 domenkozar