#!/usr/bin/perl # # MogileFS daemon # # Copyright 2004, Danga Interactive # Copyright 2005-2006, Six Apart Ltd. # # See POD at bottom. use strict; use warnings; use lib 'lib'; use MogileFS::Server; # Rename binary in process list to make init scripts saner $0 = "mogilefsd"; my $s = MogileFS::Server->server; $s->run; 1; # Local Variables: # mode: perl # c-basic-indent: 4 # indent-tabs-mode: nil # End: __END__ =head1 NAME mogilefsd -- MogileFS tracker daemon =head1 USAGE This is the main MogileFS daemon, mogilefsd, also called the "tracker". All interaction with a MogileFS installation begins by a client talking to a tracker (you should run several in parallel for redundancy). See L for a client library. =head1 ARCHITECTURE =head2 Processes The mogilefsd daemon is an event-loop in the parent process, handling with epoll/kqueue/etc (see L) tons of client connections, while managing a bunch of worker processes underneath. The worker processes under mogilefsd include: =over 4 =item B -- implements the MogileFS client/server protocol See L. =item B -- monitors hosts and devices See L. =item B -- replicates files See L. =item B -- deletes files from storage nodes (protocol deletes from namespace are immediate) See L. =item B -- re-enqueues files for replication when disks are marked dead See L. =item B -- background filesystem consistency checker See L. =back =head2 Data Storage See L. =head1 AUTHORS Brad Fitzpatrick Ebrad@danga.comE Mark Smith Ejunior@danga.comE Brad Whitaker Ewhitaker@danga.comE =head1 COPYRIGHT Copyright 2004, Danga Interactive Copyright 2005-2006, Six Apart Ltd. =head1 LICENSE Same terms as Perl itself. Artistic/GPLv2, at your choosing. =head1 SEE ALSO L -- MogileFS storage daemon L