Commit Graph

49431 Commits

Author SHA1 Message Date
Hubert Plociniczak 3d6600f4a3 Moved license files and documentation to appropriate directory 2008-11-27 14:29:38 +00:00
Simon MacMullen fdab4fc061 Close the file after reading it. 2008-11-27 14:24:14 +00:00
Simon MacMullen 133fd99caf Support get / set_check_interval and simplify starting. 2008-11-27 14:09:59 +00:00
Hubert Plociniczak 9c12041d5c Merge bug19801 into default 2008-11-27 10:56:12 +00:00
Simon MacMullen 11d1d832c8 Rename rabbit_linux_memory to rabbit_memsup_linux 2008-11-27 10:44:43 +00:00
Simon MacMullen 15eb5789b4 Change SBIN_DIR rather than move the scripts 2008-11-27 10:40:22 +00:00
Matthias Radestock e967f87570 minor simplification 2008-11-26 22:56:39 +00:00
Matthias Radestock 8007e34406 (mostly) re-indenting
also some tweaks:
- make update message tag match the function name
- simplify line parsing
2008-11-26 22:55:56 +00:00
Matthias Radestock 6873cc7a18 fix our memsup registration
The name must match that of the standard memsup, otherwise the os_mon
functions won't find it, and neither will our existence check in
rabbit_alarm.
2008-11-26 22:52:54 +00:00
Matthias Radestock 7a5645b006 re-indentation + minor refactoring
extract & share memsup startup code
2008-11-26 22:49:27 +00:00
Simon MacMullen e0b1254678 Rearrange the startup so we only start rabbit_linux_memory if there is no memsup registered already, export some similar API to memsup so that we can configure stuff at runtime. 2008-11-26 17:28:08 +00:00
Simon MacMullen d3a787dead Matthias has pointed out the existence of whereis/1. 2008-11-26 16:39:05 +00:00
Simon MacMullen 86f383ff74 Only start memsup if it is not already running. 2008-11-26 16:08:00 +00:00
Simon MacMullen f958d65fce Use timer:apply_interval/4 rather than timeout chaining. 2008-11-26 15:24:56 +00:00
Simon MacMullen c55b1378c9 Another stylistic change 2008-11-26 14:02:34 +00:00
Simon MacMullen b8911dda18 Remove the 1M buffer. 2008-11-26 13:03:29 +00:00
Simon MacMullen 5b8ce05dda QA points 5, 6, 7, 9, 10 (the smaller stylistic ones). 2008-11-26 12:55:09 +00:00
Simon MacMullen df3fb67746 Actually having a comment here breaks things 2008-11-26 12:53:56 +00:00
Simon MacMullen f6f662bd7a Fix batch file 2008-11-26 12:33:48 +00:00
Simon MacMullen 29621dbbb1 Remove man pages for anything other than rabbitmqctl. 2008-11-26 11:50:55 +00:00
Simon MacMullen 6fb949efbf If the user is not root, just invoke rabbitmqctl without any args. They
should always get the help message, and always get the "run as root"
message.
2008-11-26 11:33:39 +00:00
Matthias Radestock ce149ff9a8 merge bug19826 into default 2008-11-26 10:19:35 +00:00
Emile Joubert 9d415eb074 Fix rabbitmqctl output formatting 2008-11-26 09:59:50 +00:00
Simon MacMullen da544ab66f Only su to rabbitmq if the user is actually root (otherwise they will be prompted for a password which is incomprehensible). If they are not root, allow them to see help but otherwise fail (since if they run the real rabbitmqctl as a normal user it will talk to the wrong rabbit and again confusion will ensue. 2008-11-25 17:08:11 +00:00
Simon MacMullen 67ccedff54 Merge default (effectively undoing bug19790...) 2008-11-25 16:38:06 +00:00
Simon MacMullen 3701bc0c4a Make comments a bit clearer 2008-11-25 16:36:08 +00:00
Simon MacMullen 80be88ed32 Move the generioc unix scripts into /usr/lib/rabbitmq/bin to discourage
people from using them (since they're not very comprehensible to the
layman in the Debian packaging)
2008-11-25 16:28:00 +00:00
Simon MacMullen 9acab08da3 Fix a bashism that causes FAIL on Ubuntu. 2008-11-25 16:26:44 +00:00
Tony Garnock-Jones 86c9f9247b merge bug19790 into default 2008-11-25 16:20:44 +00:00
Simon MacMullen b29f01db68 Start memsup programmatically rather than starting as standard and then
killing it if we don't want it => doesn't mess up the banner on startup
2008-11-25 15:33:18 +00:00
Simon MacMullen 4221321beb Remove the MEMORY_CHECK_FRACTION define. 2008-11-25 13:39:52 +00:00
Simon MacMullen 06c9858ef1 First pass at a simple memory supervisor for Linux. 2008-11-25 13:28:03 +00:00
Emile Joubert 99bda12960 Update tests, now using rabbit_control:action/4 2008-11-25 10:45:37 +00:00
Matthias Radestock 22b241d435 remove cruft from rabbitmqctl 2008-11-24 22:48:48 +00:00
Matthias Radestock aa77e79ba0 work around missing sasl_report_file_h:code_change/3 2008-11-24 21:26:56 +00:00
Emile Joubert 5e8faf4ac1 Tidy usage docs and parameter parsing 2008-11-24 20:40:25 +00:00
Emile Joubert 52e050de64 Merge bug18381 into bug19684, tidying 2008-11-24 20:28:22 +00:00
Matthias Radestock 7c50f0f937 add some socket stats to info 2008-11-24 11:02:31 +00:00
Matthias Radestock 925727425d use inet:getstat instead of prim_inet:getstat
The former is slightly more public, though still undocumented
2008-11-24 10:30:58 +00:00
Ben Hood dcce15f3de Differentiate between acks for basic.get and basic.consume 2008-11-24 01:14:38 +00:00
Ben Hood 3f3c7c8428 Now the channel sends the ack directly to the limiter instead of via the queue 2008-11-24 00:52:28 +00:00
Ben Hood 8ba334486b Merged default into 18557 2008-11-24 00:27:58 +00:00
Ben Hood 070026f2fc Got rid of all of the compiler warnings 2008-11-24 00:03:45 +00:00
Emile Joubert 1699d89aeb List bindings and connections 2008-11-23 23:59:25 +00:00
Emile Joubert fa96b400c2 Merged bug18381 into bug19684 2008-11-23 20:41:50 +00:00
Emile Joubert 2c6fd2c8c5 Guarantee order of rabbitctl result columns
Added default arguments for list_queues and list_exchanges
2008-11-23 20:23:06 +00:00
Emile Joubert 38dd4d3538 Add rabbitmqctl "quiet" mode 2008-11-23 18:33:30 +00:00
Ben Hood 399d191cce Minor fixes 2008-11-21 18:14:12 +00:00
Ben Hood b246f4d618 Changed prefetch from call to cast 2008-11-21 17:40:25 +00:00
Ben Hood abbadaa58c Got rid o the per-queue in-use capacity 2008-11-21 17:34:01 +00:00