OpenAMQ freezes FAQ

Any registered Wikidot user can edit or create a FAQ.

My server freezes for several seconds

Check if you are running other applications on the same box; memory or CPU intensive applications can push out OpenAMQ for several seconds, causing unpredictable latencies. For serious production work we recommend giving OpenAMQ its own box.

Several OpenAMQ servers all freeze together, for as long as minute!

Woah! That sounds like you put the logging onto a centralized NFS server, which went down for a few minutes. While OpenAMQ is multithreaded, disk i/o is synchronous and if several logging threads all have to wait for an NFS server to come back up, the whole messaging core can grind to a halt. It's probably a very bad idea to put logging on a remote machine. Our advice is to log locally, and use scheduled scripts ("cron jobs") to compress and copy logs across to a shared NFS disk, if needed, at off-peak moments.

Comments

Add a New Comment

Edit | Files | Tags | Source | Print

rating: 0+x

Author

Pieter Hintjens <moc.xitami|hp#moc.xitami|hp>

All FAQs

OpenAMQ licensing FAQ: Read this if you have questions about licensing OpenAMQ, including GPL concerns.

OpenAMQ languages FAQ: Read this if you have questions about whether you can use OpenAMQ from your particular programming language, before you ask the openamq-dev mailing list.

OpenAMQ freezes FAQ: Read this if your OpenAMQ server seems to freeze, before you ask the openamq-dev mailing list.

OpenAMQ crashes FAQ: Read this if your OpenAMQ server crashes, before you ask the openamq-dev mailing list.

OpenAMQ build FAQ: Read this if you have questions about building OpenAMQ, before you ask the openamq-dev mailing list.