Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

openerp-server stops and goes down without logs

By
Abdul Qavi
on 11/2/14, 2:03 AM 1,690 views

've installed Odoo/OpnnERP, and I've put the openerp-server daemon in /etc/init.d to get it started automatically on Ubuntu startup. It gets started normally on every reboot and works fine. But sometimes it goes down automatically, I don't know any pattern when it goes down, and I also can't see any reason in the log file (/var/log/openerp/openerp-server.log). It just goes down without any logs. When I find it down, I have to reboot manually to get it started again.

Any help on spotting the issue which causes openerp-server to stop automatically without any logs?

Thanks, Abdul

1
Daniel Kauffman
On 11/4/14, 1:02 AM

Resource starvation can cause this sort of error.  Is it possible that the host server is out of memory?  Some VPS providers configure their VPS images without a swap file, so when the VPS image is out of memory, instead of starting to swap, processes that take up too much memory are killed. In such a situation, creating a swap file can be a quick fix, but increasing the server capacity would be a much better solution, as swap on VPS tends to be extra slow. Some commands that can help to check available resources, but which are only useful before the OpenERP process dies:

free -m

top

ps axu

Thank you Daniel, yes it seems exactly this Swap issue. Though I've created Swap for now, I'll consider adding more memory into VPS. Thanks

Abdul Qavi
on 11/9/14, 5:20 AM

Thank you Daniel, yes it seems exactly this Swap issue. Though I've created Swap for now, I'll consider adding more memory into VPS. Thanks

Abdul Qavi
on 11/9/14, 5:20 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/2/14, 2:03 AM
Seen: 1690 times
Last updated: 3/16/15, 8:10 AM