02-01-2019
Ouch! Do I hear a plan forming to find a new data center?
6 More Discussions You Might Find Interesting
1. HP-UX
What are the server requirements, Software requirements, Network requirements etc,
Please help me.. as 'm new 'm unable to get things done @ my end alone.
Please refrain from typing subjects completely in upper case letters to get more attention, ty. (5 Replies)
Discussion started by: Sounddappan
5 Replies
2. Infrastructure Monitoring
Hi guys . While installing the agent on an asset Solaris system:
root@system: /var/tmp/OC $ /opt/SUNWxvmoc/bin/agentadm configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
agentadm: Version 12.1.2.2161 launched with args: configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
Validating... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
3. Solaris
Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following.
Could not chdir to home directory /home/<homedir>: Permission denied
/bin/sh: Permission denied
I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies
4. Shell Programming and Scripting
Hi,
Please, i have a history of the state of each node in my data center. an history about the failure of my cluster (UN: node up, DN: node down).
Here is some lines of the history:
08:51:36 UN 127.0.0.1 08:51:36 UN 127.0.0.2 08:51:36 UN 127.0.0.3 08:53:50 DN 127.0.0.1 ... (6 Replies)
Discussion started by: chercheur111
6 Replies
5. What is on Your Mind?
Three days ago we received an expected notice from our long time data center that they were going dark on Sept 12th.
About one and a half hours ago, after three days of marathon work, I just cut over the unix.com to a new data center with a completely new OS and Ubuntu distribution. (22 Replies)
Discussion started by: Neo
22 Replies
6. What is on Your Mind?
There was a problem with our data center today, creating a site outage (server unreachable).
That problem has been resolved.
Basically, it seems to have been a socially engineered denial-of-service attack against UNIX.com; which I stopped as soon as I found out what the problem was.
Total... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
mojo::ioloop::server
Mojo::IOLoop::Server(3pm) User Contributed Perl Documentation Mojo::IOLoop::Server(3pm)
NAME
Mojo::IOLoop::Server - Non-blocking TCP server
SYNOPSIS
use Mojo::IOLoop::Server;
# Create listen socket
my $server = Mojo::IOLoop::Server->new;
$server->on(accept => sub {
my ($server, $handle) = @_;
...
});
$server->listen(port => 3000);
# Start and stop accepting connections
$server->start;
$server->stop;
DESCRIPTION
Mojo::IOLoop::Server accepts TCP connections for Mojo::IOLoop.
EVENTS
Mojo::IOLoop::Server can emit the following events.
"accept"
$server->on(accept => sub {
my ($server, $handle) = @_;
...
});
Emitted safely for each accepted connection.
ATTRIBUTES
Mojo::IOLoop::Server implements the following attributes.
"accepts"
my $accepts = $server->accepts;
$server = $server->accepts(10);
Number of connections to accept at once, defaults to 10.
"reactor"
my $reactor = $server->reactor;
$server = $server->reactor(Mojo::Reactor::Poll->new);
Low level event reactor, defaults to the "reactor" attribute value of the global Mojo::IOLoop singleton.
METHODS
Mojo::IOLoop::Server inherits all methods from Mojo::EventEmitter and implements the following new ones.
"listen"
$server->listen(port => 3000);
Create a new listen socket. Note that TLS support depends on IO::Socket::SSL and IPv6 support on IO::Socket::INET6.
These options are currently available:
"address"
Local address to listen on, defaults to all.
"backlog"
Maximum backlog size, defaults to "SOMAXCONN".
"port"
Port to listen on.
"tls"
Enable TLS.
"tls_ca"
Path to TLS certificate authority file.
"tls_cert"
Path to the TLS cert file, defaults to a built-in test certificate.
"tls_key"
Path to the TLS key file, defaults to a built-in test key.
"generate_port"
my $port = $server->generate_port;
Find a free TCP port, this is a utility function primarily used for tests.
"start"
$server->start;
Start accepting connections.
"stop"
$server->stop;
Stop accepting connections.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::IOLoop::Server(3pm)