10-28-2009
Semaphores getting created, thus blocking start of Webserver ctl
I am using Solaris 9 system and IBM HTTP Server 6 for my webserver. Semaphores with webadmin and root privileges are getting created more often and blocking the start of webserver ctl instances. I use 'ipcs -s' to list them and 'ipcrm -s' to kill them one by one.
But even after killing, a new batch of them reappear again. Plz help !!
Thanks
8 More Discussions You Might Find Interesting
1. Programming
Dear Reader,
I'm in a multiprocess environment working with shared mem and semaphores as mutex.. The problem is -- If one of the process hooked up with the semaphore and accessing the shared mem, terminates abruptly ( or got killed ), other process which are in want of the semaphore are... (1 Reply)
Discussion started by: joseph_shibu
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I am using HP 10.20 on A 9000/785. My question is:
If I am the only person logged in as root at the moment, how many "semaphore proccesses" should I have?? Is it only one, or it is relevant to other system proccesses?
Here is what I get listing the current semaphores
# ipcs -sp... (1 Reply)
Discussion started by: guest100
1 Replies
3. Programming
Hi there,
Could someone please confirm which POSIX semaphore routines should be used for a multiprocess (and not multithreaded) environment?
sys/sem.h definitely works. but the routines, semget, semctl, semop are pretty unwieldy. So, I am looking for an easier way out.
From the man pages... (2 Replies)
Discussion started by: qntmteleporter
2 Replies
4. Shell Programming and Scripting
Hi Friends,
If i execute this command it comes back with 300 lines:
ipcs|grep cerebrus >>> i would like to clear the semaphores but ipcrm can remove one id at a time. is there a quicker way of removing semaphores maybe using awk?
Regards, (1 Reply)
Discussion started by: kekanap
1 Replies
5. Programming
been searching around on how to use an up and down function with semaphores but i can't find an example. i looked into using: "semop" but i have no idea how to use it. I have been able to declared the semaphores using semget and initializing them using semctl. (7 Replies)
Discussion started by: ddx08
7 Replies
6. Shell Programming and Scripting
I am currently trying to find a way to loop through files in a given directory and for each file modify a ctl file and sql load it. I have been using the sed command to change the infile, badfile parameters of the control file. I have not yet tried to sql load it.
Requirement: files are ftp to... (1 Reply)
Discussion started by: dba_nh
1 Replies
7. UNIX for Dummies Questions & Answers
I am having problem with semaphores. I am trying to protect line where process prints so that every process with print in proper order.This is the code..
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/types.h>
union... (3 Replies)
Discussion started by: joker40
3 Replies
8. Programming
among the below socket programming api's, please let me know which are blocking and non-blocking.
socket
accept
bind
listen
write
read
close (2 Replies)
Discussion started by: VSSajjan
2 Replies
LEARN ABOUT DEBIAN
bbmessage.cgi
BBMESSAGE.CGI(8) System Manager's Manual BBMESSAGE.CGI(8)
NAME
bbmessage.cgi - CGI utility used for proxying Xymon data over HTTP
SYNOPSIS
bbmessage.cgi
DESCRIPTION
bbmessage.cgi(8) is the server-side utility receiving Xymon messages sent by the bb(1) utility over an HTTP transport. The bb utility nor-
mally sends data over a dedicated TCP protocol, but it may use HTTP to go through proxies or through restrictive firewalls. In that case,
the webserver must have this CGI utility installed, which takes care of receiving the message via HTTP, and forwards it to a local Xymon
server through the normal Xymon transport.
The CGI expects to be invoked from an HTTP "POST" request, with the POST-data being the status-message. bbmessage.cgi simply collects all
of the POST data, and send it off as a message to the Xymon daemon running on IP 127.0.0.1. This destination IP currently cannot be
changed.
The CGI will return any output provided by the Xymon daemon back to the requestor as the response to the HTTP POST, so this allows for all
normal Xymon commands to work.
SECURITY
bbmesage.cgi will only send data to a Xymon server through the loopback interface, i.e. IP-address 127.0.0.1.
Access to the CGI should be restricted through webserver access controls, since the CGI provides no authentication at all to validate
incoming messages.
If possible, consider using the bbproxy(8) utility instead for native proxying of Xymon data between networks.
SEE ALSO
bb(1), bbproxy(8), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 BBMESSAGE.CGI(8)