Process remians in Running state causing other similar process to sleep and results to system hang
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here why it is getting stuck in the __init_begin API. I am using linux kernel version 2.6.17.
Also i am not facing such probelm in kernel version 2.6.39
i have seen they have given one fix inside __init_begin in the kernel version 2.6.37 . Below is the fix
Now , how this fix related to my problem . please help me to overcome this problem
Looking forward for your suggestions and comments.
Moderator's Comments:
Use code tags, thanks.
Last edited by zaxxon; 10-07-2015 at 08:54 AM..
Reason: code tags
hi all
I process is sleeping after 12 hours but i need to be run this to 24 hours but it goes in sleep mode after 12 hours what should i do to make process always running.Kindly give me suggestion. (0 Replies)
I'm running an Apache server on Ubuntu. When I try to call fopen() in PHP, I get a bunch of permission errors. I searched for advice on this, and I found that I needed to change the system account that Apache runs on. However, I'm not sure how to do this, and I was unable to find the answer on... (3 Replies)
I've tried this a long time ago and was successful but could not remember how i did it. Tried ctrl+Z and then used bg %
could not figure what i did after to keep it no hangup -
not sure if used nohup -p pid, can u plz help me out if this can be done.
Any help will be appreciated. (12 Replies)
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
LEARN ABOUT OPENSOLARIS
arch
arch(1) User Commands arch(1)NAME
arch - display the architecture of the current host
SYNOPSIS
arch [-k | archname]
DESCRIPTION
The arch utility displays the application architecture of the current host system. Due to extensive historical use of this command without
any options, all SunOS 5.x SPARC based systems will return "sun4" as their application architecture. Use of this command is discouraged.
See NOTES section below.
Systems can be broadly classified by their architectures, which define what executables will run on which machines. A distinction can be
made between kernel architecture and application architecture (or, commonly, just "architecture"). Machines that run different kernels due
to underlying hardware differences may be able to run the same application programs.
OPTIONS -k Displays the kernel architecture, such as sun4u. This defines which specific SunOS kernel will run on the machine, and has implica-
tions only for programs that depend on the kernel explicitly (for example, ps(1)).
OPERANDS
The following operand is supported:
archname Use archname to determine whether the application binaries for this application architecture can run on the current host sys-
tem. The archname must be a valid application architecture, such as sun4, i86pc, and so forth.
If application binaries for archname can run on the current host system, TRUE (0) is returned. Otherwise, FALSE (1) is
returned.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO mach(1), ps(1), uname(1), attributes(5)NOTES
This command is provided for compatibility with previous releases and its use is discouraged. Instead, the uname command is recommended.
See uname(1) for usage information.
SunOS 5.11 21 Oct 2002 arch(1)