I have been observing a slow but gradual decline in system response on an OS X server over the last 2 weeks. This is a single purpose application server for Backups on the LAN (all wired) and all ssh invoked scripts via an 'rsync pull'. All that is working fine. There have been no changes to the base config, no additional users and all recent patches successfully installed. I have been manually rotating the logs in/var/log and tailing system.log to try and catch what might be happening but the ply thing that jumps out of that page is this:
NB: We rae not on a 17.x network - could this be what is dragging the server down and if so, any ideas where the connect call might have come from?
Thank you in advance.
---------- Post updated at 11:59 AM ---------- Previous update was at 11:58 AM ----------
typo: the only thing that jumps out... (sorry)
---------- Post updated at 12:07 PM ---------- Previous update was at 11:59 AM ----------
I think the item above relates to ipV6, which on the server is configured for automatic. If that is the case, then do I need ipV6 anabled. (apologies for typo's above).
Last edited by Scrutinizer; 09-21-2014 at 04:19 PM..
Reason: code tags
I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details:
FTP Client has Sun SSH.
FTP Server has F-Secure.
I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error
scp:... (2 Replies)
request
create a chat system in linux where a user type smth and all the other users connected to server get the message.then a user have to create join leave or delete a channel of chat if he created it.i did the server and the client but i dont know how to implemt the chat rooms.i was ... (1 Reply)
Hello All,
I have a SCO Unix server and when I do the command
"df -kP" I get the following:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/root 2048000 934936 1113064 46% /
/dev/boot 15360 6419 8941 42% /stand
It should say
Filesystem 1024-blocks Used Available... (4 Replies)
=========================================================
Errrr previously post: https://www.unix.com/sco/140055-sco-open-server-6-system-halt.html
Then I think it's better to post here. If I wrong, please ignore.
=========================================================
Dear All,
Newbie... (1 Reply)
Dear All,
Newbie here, hope my post goes to the correct room.
System: SCO Open Server 6.0
Everything running well, after this Sunday morning noone can login via telnet or via putty, the system suddenly reject without any message (and also ftp). The local IT Support there (without enough... (2 Replies)
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
Hi there
I've bought a used System p 9115-505. When I attach the LAN cable to my router the HMC receives an IP address from my router, but the HMC is unreachable. There are no open ports.
Does anybody know that problem?
Any help greatly appreciated. Greetings from Italy! (2 Replies)
Hello,
I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation,... (42 Replies)
Discussion started by: spock9458
42 Replies
LEARN ABOUT DEBIAN
mojo::server
Mojo::Server(3pm) User Contributed Perl Documentation Mojo::Server(3pm)NAME
Mojo::Server - HTTP server base class
SYNOPSIS
use Mojo::Base 'Mojo::Server';
sub run {
my $self = shift;
# Get a transaction
my $tx = $self->build_tx;
# Emit "request" event
$self->emit(request => $tx);
}
DESCRIPTION
Mojo::Server is an abstract HTTP server base class.
EVENTS
Mojo::Server can emit the following events.
"request"
$server->on(request => sub {
my ($server, $tx) = @_;
...
});
Emitted when a request is ready and needs to be handled.
$server->unsubscribe('request');
$server->on(request => sub {
my ($server, $tx) = @_;
$tx->res->code(200);
$tx->res->headers->content_type('text/plain');
$tx->res->body('Hello World!');
$tx->resume;
});
ATTRIBUTES
Mojo::Server implements the following attributes.
"app"
my $app = $server->app;
$server = $server->app(MojoSubclass->new);
Application this server handles, defaults to a Mojo::HelloWorld object.
"app_class"
my $app_class = $server->app_class;
$server = $server->app_class('MojoSubclass');
Class of the application this server handles, defaults to the value of the "MOJO_APP" environment variable or Mojo::HelloWorld.
METHODS
Mojo::Server inherits all methods from Mojo::EventEmitter and implements the following new ones.
"new"
my $server = Mojo::Server->new;
Construct a new Mojo::Server object and subscribe to "request" event with default request handling.
"build_tx"
my $tx = $server->build_tx;
Let application build a transaction.
"load_app"
my $app = $server->load_app('./myapp.pl');
Load application from script.
say Mojo::Server->new->load_app('./myapp.pl')->home;
"run"
$server->run;
Run server. Meant to be overloaded in a subclass.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server(3pm)