Debian :: Find Out Connection Between Process And Socket?

Feb 20, 2010

I have the following problem. I want to find out connection between process and socket. When I type to the terminal the following command netstat -anpetu so I get the following output:

[Code]....

As you can see just some connection have assign PID/Programme. How can I find out Program of this socket without PID/programme. like this 0.0.0.0:52472? Certainly I know that some port are well-known but there are a lot of unknown ports(like 8307 3350 and so on).

View 3 Replies


ADVERTISEMENT

Networking :: Configuring Socket Timer To Release Socket Once The Connection Is Terminated?

Jun 4, 2010

I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.

Any command, link or man-page anything will be helpful.

I browsed a lot but unable to find it.

View 1 Replies View Related

Server :: Socket Connections / Socket And TCP Connection For Connecting To An External System?

Dec 7, 2010

Anyone knows the difference between a socket and TCP connection for connecting to an external system?

View 1 Replies View Related

Networking :: Multiple FTP Upload Socket Error "Connection Reset By Peer: Socket Write"

Jan 31, 2010

I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error

I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?

View 1 Replies View Related

Ubuntu Networking :: Can't Identify Process/Unbind Socket Blocking MongoDB

Mar 27, 2011

I'm running Ubuntu 10.10 64bit, and I'm a newbie when it comes to networking.

My issue is that there seems to be a socket bound to a port blocking MongoDB from accessing it's usual port 27017. The strange thing that it was working just fine until recently and I can't figure out what I did to screw things up... I can make it use a different port but the reason why it can't bind to the default port and why I can't fix it is really bothering me. I've tried rebooting the machine even with nothing else running when I try to run Mongo is still blocked giving the following message:

Code:
ropes@ropes:~/mongodb-linux-x86_64-1.8.0/bin$ ./mongod
./mongod --help for help and startup options
Sun Mar 27 14:08:14 [initandlisten] MongoDB starting : pid=2718 port=27017 dbpath=/data/db/ 64-bit

[Code]....

View 5 Replies View Related

General :: Child Processes Of A Parent Process Occupying Socket Memory?

Jul 22, 2010

I am facing an issue where the process starts hanging. When I closely look at the logs I come to know that some of the child processes that are forked by the parent process are not finished.

1) Is it possible that the child processes that are not finished occupy the socket memory of the parent process and ultimately a point is reached where no socket memory is available to fork new child processes.

2) What is the standard limit of socket memory in linux?

3) What is the fate of such child processes (as I have mentioned above)?

4) How to debug such cases so that the exact problematic area is identified?

View 2 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

Ubuntu Networking :: Windows Socket Connection ?

Mar 17, 2010

I am trying to connect with Winsock Windows sockets from a PC running Windows XP with a utility program that enables a dialogue over sockets. I have the listener running on Ubuntu on Port 6330. I can telnet to the listener and interact from both the Ubuntu desktop and the XP PC. But my utility program using Winsock is unable to connect. I have no firewalls impeding this. Maybe there is a better vehicle than the Windows Winsock.dll? I dont need network file access, just TCP ports/.sockets.

View 1 Replies View Related

Debian Configuration :: Bluetooth Connection Is Active But Can't Find

Dec 15, 2015

I bought a bluetooth pen, I connect it via USB, my bluetooth connection is active but I can't find other therminals, and my debian machine it isn't visible to other terminals.

It seems that my bluetooth connection works, but it can't pair other terminals. I want to connect bluetooth speaker, but it seems impossible.

View 3 Replies View Related

Ubuntu Servers :: Maximum Simultaneous Socket Connection?

Sep 16, 2010

I'm writing a client-server program. There are more than 500 clients. I start a thread to process and response to each client and the processing needs some MySQL query. I'm looking for any possible hazards on my server!

1- Any limitation on "Maximum Simultaneous Socket Connection"?

2- Any limitation on using mysql?

3- As socket on Linux are file, Any limitation on number of sockets or threads?

I'm using a Linux server (Centos or Fedora or Ubuntu) and clients are both Linux and Windows.

View 2 Replies View Related

Ubuntu Networking :: Java Socket Connection Created In More Than 3 Minutes

Mar 7, 2011

I'm running Ubuntu 10.10. I have a problem with any client side network communication from any java based program/application. I've tried to run the following code:

Code:
public static void main(String[] args) throws Exception {
long start = System.currentTimeMillis();
Socket s = new Socket("ubuntuforums.org", 80);
System.out.println("1. connection created in "+ (System.currentTimeMillis() - start)/1000.0 +" s");
s.close(); start = System.currentTimeMillis();
s = new Socket("ubuntuforums.org", 80);
System.out.println("2. connection created in "+ (System.currentTimeMillis() - start)/1000.0 +" s");
s.close(); }

The result is the following:
Code:
1. connection created in 189.31 s
2. connection created in 0.085 s

I've tried both java-1.6.0-openjdk and java-6-sun-1.6.0.24 with almost the same results. During the extremely long 189 seconds, the processor is doing almost nothing (java thread has 0 %). I've tried also a wireshark to check what is going on, but the first packet was released after those 189 seconds. There is nothing in log files, I have no exceptions or errors, and the connections work (after the first long delay) just fine.

View 2 Replies View Related

Networking :: Kill A Socket Connection WITHOUT Killing Its Parent Application?

Mar 9, 2010

Is there any command in Linux to kill a socket connection WITHOUT killing its parent application? For example, I have streaming server with several connected users and I want to close socket connection to one of them?

View 1 Replies View Related

Ubuntu Servers :: SSH Error: Read From Socket Failed: Connection Reset By Peer?

Dec 8, 2010

figure out this error?

Code:
kradalby@hpcompaq6530b-laptop ~/.ssh $ ssh -vvv -p 110 kradalby@dfekt.no
OpenSSH_5.5p1 Debian-5+b1, OpenSSL 0.9.8o 01 Jun 2010

[code]....

View 3 Replies View Related

Networking :: /usr/sbin/in.telnetd: Getpeername: Socket Operation On Non-socket?

May 5, 2009

I had installed Fedora 10

Below is the output of uname -a

Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux

I need to enable telnet service on it, then found xinetd and telnet-server not installed,

Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm

After installation I executed below commands

Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F

After I had tried telnet localhost ----IT FAILED

when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]

I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.

View 1 Replies View Related

General :: Socket Programming - Feed Some Words One By One To The Socket

Jul 6, 2010

i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...

Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....

the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.

View 4 Replies View Related

Programming :: Setsockopt : Socket Operation On Non-socket Getting Error?

Mar 30, 2009

im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:

Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....

View 7 Replies View Related

General :: Socket Error / Socket 31: 0x36?

Sep 15, 2009

We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.

View 1 Replies View Related

Programming :: Timer In Socket Programming - Wait For X Sec After Read() And Then Disconnect The Client Connection

Mar 8, 2011

I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.

View 3 Replies View Related

Slackware :: Use Git Through Proxy / Cann't Find "socket" Command?

Nov 22, 2010

I have to use git to fetch code from Internet through a proxy.I search some article on it, but it's not suitable for Slackware.
Like this:

Quote:

url

I cann't find "socket" command in Slackware.How to use git through a proxy in Slcakware?

View 2 Replies View Related

Ubuntu Networking :: Interhack And Error "Can't Access() Script - Could Not Create Socket: Connection Refused"

Feb 12, 2010

I'm trying to run Interhack (spoiled variant of Nethack) for local game. Is looking through settings I saw that:

[Code]....

When I try to start it with ih_server option it gives me that error: Code: Can't access() script Could not create socket: Connection refused I think my problem is closed port: Code: nc localhost 9999 localhost [127.0.0.1] 9999 (?) : Connection refused How do I fix this?

View 2 Replies View Related

General :: Find The Pid Of A Certain Process?

Feb 4, 2011

I know that this command
"pid aux | less"

displays all the processes and their pid but it would be too time consuming to search for the pid of one specific process is there a way to use "grep" to find pid of a certain process?

i tried "grep process-name pid aux"

View 3 Replies View Related

Server :: Find How Many Cpu's A Particular Process Uses

Feb 3, 2010

How to find how many cpu's a particular process uses.

My weblogic process is running on Linux.There are 8 cpu processors.I need to find which are the processors the weblogic process is using

View 6 Replies View Related

Software :: Find Out It Is 32 / 64 Bit Process?

May 16, 2010

Using Debian Squeeze amd64.
How can I find out, from running process, which ones are 32 bit, and which ones are 64 bits?

View 3 Replies View Related

CentOS 5 :: Find Which Cpu Used By A Process?

Oct 3, 2010

Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process

View 5 Replies View Related

Debian :: Measure Traffic On A Specific Socket?

Jul 19, 2010

Does anyone know how to measure the traffic (packets per seconds in and out) on a specific TCP socket ?

View 3 Replies View Related

Networking :: Connection Out From Unknown Process?

Apr 6, 2010

If I look at firestarter actve connections I see that there are several connections from me to some dynamic ip, on various ports. I have no idea what that is.1. How to find which process is doing this connection ?2This is sure nothing good, how to kill /block connection

View 1 Replies View Related

Ubuntu :: Find Process Name From Application Name?

Oct 19, 2010

I have searched for the solution with no luck and still wondering if there is a way to find out what's an application process name is from the name of the application itself. And then pkill the process from the terminal.I tried using

Code:
ps -e | grep ....but it says[code]....

View 6 Replies View Related

General :: How To Find Out What Process Is Accessing HDD?

Apr 8, 2010

I can see that the light of the HDD is flashing. I would like to find out what the process is that is accessing the HDD. Is there a way to achieve this?Is there a utility that ties up processes with hw resources?

View 1 Replies View Related

Software :: Find Process Information By Name?

May 16, 2010

Is there a way to find out information about a process based on the command used to run it?

Ideally I would like to get processes ID %CPU and memory usage back. I have written a short shell script which does this but I wonderd was there a command that did this.

Here's my shell script

Code:
#!/bin/bash
ExpectedArgs=1
ARGS=$#
if [ $ARGS != $ExpectedArgs ]

[Code]....

View 1 Replies View Related

CentOS 5 :: Pgrep Can't Find The Process

May 13, 2010

I start a QEMU command, but pgrep can't found the process.

Host> ps aux | grep qemu-system-mips

With the full name, nothing can be found.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved