07-03-2007
vino ,
How can i check it out ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have a problem with a Unix server (SCO Unix version 3.2). If this server is rebooted the own server name and it's IP address is removed from the host table.
How is this possible? How can i solve this problem? (3 Replies)
Discussion started by: FIRE
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says
syncing file systems done.
To bring it back we shutdown power and it comes clean.
By the way init 6 command works fine.
Has anyone come... (3 Replies)
Discussion started by: smohd
3 Replies
3. HP-UX
hi,
I am facing a sever problem in mu HO-UX 11.11.0 Server which is getting hanged for last 3/4 days.
Its giveing error insufficient memory. Earlier this problem was not there.
We are using oour ERP & informix on the same. There no heavy & sudden increase of data.
When I checked the... (3 Replies)
Discussion started by: micku_100
3 Replies
4. Shell Programming and Scripting
Hi all,
Can any one help me.......
I just want to run one shell script whenever i am rebooting the server. Is there any easy way to do that????
Thanks,
selva (7 Replies)
Discussion started by: Selva_Kumar
7 Replies
5. Shell Programming and Scripting
Hi All,
I have created one script with starting letter 'S' (Example: Start) and stored in the path "/etc/rc.d/".
This script was called automatically when we reboot the server.
In this script i am using 'su' command to switch other user but it is not working, it giving some error.
su... (2 Replies)
Discussion started by: Selva_Kumar
2 Replies
6. Solaris
Hi,
While we rebooting solaris server ,the system going to Maintenance mode instead of login console.
even we are not able to run fsck command . Thanks in advanced for help.
log attached FYI
Executing last command: boot
Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Discussion started by: helplineinc
3 Replies
7. Solaris
Hi,
In Linux, I will do it by editing the /etc/rc.d/rc.local . However, I can't find a rc.local file in Opensolaris. So, how can I do it in Opensolaris? I am new to opensolaris, so please teach me step by step. Thanks in advance. (4 Replies)
Discussion started by: AlexCheung
4 Replies
8. Solaris
Deall All,
I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production .
Can this be solved by... (10 Replies)
Discussion started by: sudhansu
10 Replies
9. Red Hat
hi,
I have been working on Solaris am very new to linux. My concern is as it goes....our server is getting rebooted automatically and I am not able to understand anything from the var log messages. Could anybody help me out in troubleshooting the issue.
2.6.18-128.el5 #1 x86_64 GNU/Linux is... (1 Reply)
Discussion started by: EmbedUX
1 Replies
10. Red Hat
Hi, Earlier we used to reboot servers based on adhoc request, never checked anything on it pre-reboot., But now i need to reboot regularly but most of the info is not available, I need to know want to make sure that server to be rebooted without any issues, so I want to do few prechecks which will... (5 Replies)
Discussion started by: nanz143
5 Replies
LEARN ABOUT SUSE
net::server::fork
Net::Server::Fork(3) User Contributed Perl Documentation Net::Server::Fork(3)
NAME
Net::Server::Fork - Net::Server personality
SYNOPSIS
use Net::Server::Fork;
@ISA = qw(Net::Server::Fork);
sub process_request {
#...code...
}
__PACKAGE__->run();
DESCRIPTION
Please read the pod on Net::Server first. This module is a personality, or extension, or sub class, of the Net::Server module.
This personality binds to one or more ports and then waits for a client connection. When a connection is received, the server forks a
child. The child handles the request and then closes.
With the exception of parent/child signaling, this module will work (with basic functionality) on Win32 systems.
ARGUMENTS
check_for_dead
Number of seconds to wait before looking for dead children. This only takes place if the maximum number of child processes
(max_servers) has been reached. Default is 60 seconds.
max_servers
The maximum number of children to fork. The server will not accept connections until there are free children. Default is 256 children.
max_dequeue
The maximum number of dequeue processes to start. If a value of zero or undef is given, no dequeue processes will be started. The
number of running dequeue processes will be checked by the check_for_dead variable.
check_for_dequeue
Seconds to wait before forking off a dequeue process. It is intended to use the dequeue process to take care of items such as mail
queues. If a value of undef is given, no dequeue processes will be started.
CONFIGURATION FILE
See Net::Server.
PROCESS FLOW
Process flow follows Net::Server until the post_accept phase. At this point a child is forked. The parent is immediately able to wait for
another request. The child handles the request and then exits.
HOOKS
The Fork server has the following hooks in addition to the hooks provided by the Net::Server base class. See Net::Server
"$self->pre_accept_hook()"
This hook occurs just before the accept is called.
"$self->pre_fork_hook()"
This hook occurs just after accept but before the fork.
"$self->post_accept_hook()"
This hook occurs in the child after the accept and fork.
"$self->run_dequeue()"
This hook only gets called in conjuction with the check_for_dequeue setting.
TO DO
See Net::Server
AUTHOR
Paul Seamons <paul@seamons.com>
Rob Brown <bbb@cpan.org>
SEE ALSO
Please see also Net::Server::INET, Net::Server::PreFork, Net::Server::MultiType, Net::Server::SIG Net::Server::Single
perl v5.12.1 2007-02-03 Net::Server::Fork(3)